Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007484/0.0007484, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009897/0.001738, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0007007/0.0007007, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000937/0.001638, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.001/1.001, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08495/1.086, allocations: 53.87 MB / 243.7 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.314e-05/2.46e-05, allocations: 2.312 kB / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.002356/0.002381, allocations: 2.002 MB / 247 MB, free: 11.64 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001404/0.003785, allocations: 1.203 MB / 248.2 MB, free: 10.43 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.00389, allocations: 7.938 kB / 248.2 MB, free: 10.43 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004325/0.004323, allocations: 147.4 kB / 248.4 MB, free: 10.28 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002694/0.004592, allocations: 163.2 kB / 248.5 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000337/0.004929, allocations: 174.5 kB / 248.7 MB, free: 9.953 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001937/0.005123, allocations: 187.4 kB / 248.9 MB, free: 9.77 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.077e-05/0.005213, allocations: 26.44 kB / 248.9 MB, free: 9.746 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001736/0.005387, allocations: 143.6 kB / 249 MB, free: 9.605 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.005492, allocations: 67.8 kB / 249.1 MB, free: 9.539 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.005512, allocations: 8 kB / 249.1 MB, free: 9.531 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001225/0.005634, allocations: 63.83 kB / 249.2 MB, free: 9.469 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.379e-05/0.005688, allocations: 39.86 kB / 249.2 MB, free: 9.43 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.821e-05/0.005746, allocations: 35.88 kB / 249.3 MB, free: 9.395 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002032/0.005949, allocations: 143.4 kB / 249.4 MB, free: 9.254 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.484e-05/0.005964, allocations: 0 / 249.4 MB, free: 9.254 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.005965, allocations: 4 kB / 249.4 MB, free: 9.25 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.605e-05/0.005981, allocations: 0 / 249.4 MB, free: 9.25 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.00057/0.006551, allocations: 445 kB / 249.8 MB, free: 8.785 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.952e-05/0.006581, allocations: 16.03 kB / 249.8 MB, free: 8.77 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.131e-05/0.006622, allocations: 16.92 kB / 249.9 MB, free: 8.754 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000221/0.006843, allocations: 213.5 kB / 250.1 MB, free: 8.52 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.006861, allocations: 8.375 kB / 250.1 MB, free: 8.512 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.006872, allocations: 4.375 kB / 250.1 MB, free: 8.508 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.00705, allocations: 121.2 kB / 250.2 MB, free: 8.367 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.007058, allocations: 4.188 kB / 250.2 MB, free: 8.363 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.244e-06/0.007065, allocations: 384 / 250.2 MB, free: 8.363 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.007072, allocations: 7.938 kB / 250.2 MB, free: 8.355 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.658e-05/0.007108, allocations: 26.73 kB / 250.2 MB, free: 8.328 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002282/0.007336, allocations: 191.7 kB / 250.4 MB, free: 8.117 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001768/0.007513, allocations: 134.5 kB / 250.6 MB, free: 7.957 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.8e-05/0.007541, allocations: 26.58 kB / 250.6 MB, free: 7.922 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/0.007563, allocations: 15.92 kB / 250.6 MB, free: 7.906 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001011/0.007664, allocations: 70.14 kB / 250.7 MB, free: 7.824 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/0.007665, allocations: 0 / 250.7 MB, free: 7.824 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001391/0.007804, allocations: 85.53 kB / 250.8 MB, free: 7.734 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.007849, allocations: 110.8 kB / 250.9 MB, free: 7.602 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.007986, allocations: 226.7 kB / 251.1 MB, free: 7.363 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.008, allocations: 29.7 kB / 251.1 MB, free: 7.328 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.852e-05/0.008039, allocations: 104.5 kB / 251.2 MB, free: 7.223 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.959e-05/0.008059, allocations: 20.08 kB / 251.2 MB, free: 7.203 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.072e-05/0.008089, allocations: 29.7 kB / 251.3 MB, free: 7.168 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.37e-05/0.008163, allocations: 326.8 kB / 251.6 MB, free: 6.84 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.457e-05/0.008178, allocations: 6.828 kB / 251.6 MB, free: 6.832 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.54e-05/0.008213, allocations: 56.25 kB / 251.6 MB, free: 6.762 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.897e-05/0.008252, allocations: 43.3 kB / 251.7 MB, free: 6.711 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.008254, allocations: 0 / 251.7 MB, free: 6.711 MB / 250.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.935e-05/0.008323, allocations: 60.5 kB / 251.7 MB, free: 6.645 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.008337, allocations: 7.938 kB / 251.8 MB, free: 6.637 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.008342, allocations: 4 kB / 251.8 MB, free: 6.633 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.496e-06/0.00835, allocations: 4 kB / 251.8 MB, free: 6.629 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.079e-05/0.008411, allocations: 15.98 kB / 251.8 MB, free: 6.613 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.124e-06/0.008413, allocations: 0 / 251.8 MB, free: 6.613 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.969e-05/0.008443, allocations: 8 kB / 251.8 MB, free: 6.605 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-06/0.008447, allocations: 0 / 251.8 MB, free: 6.605 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.423e-05/0.008511, allocations: 120.7 kB / 251.9 MB, free: 6.477 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.196e-05/0.008553, allocations: 61.48 kB / 252 MB, free: 6.41 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.103e-05/0.008644, allocations: 79.39 kB / 252 MB, free: 6.328 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.614e-06/0.008647, allocations: 4.375 kB / 252 MB, free: 6.324 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.008649, allocations: 4 kB / 252 MB, free: 6.32 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.008653, allocations: 0 / 252 MB, free: 6.32 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.171e-05/0.008744, allocations: 109.8 kB / 252.2 MB, free: 6.195 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.008746, allocations: 4 kB / 252.2 MB, free: 6.191 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.391e-05/0.00877, allocations: 7.938 kB / 252.2 MB, free: 6.184 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001721/0.008942, allocations: 27.88 kB / 252.2 MB, free: 6.156 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.008944, allocations: 0 / 252.2 MB, free: 6.156 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.008952, allocations: 11.94 kB / 252.2 MB, free: 6.145 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.008954, allocations: 0 / 252.2 MB, free: 6.145 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.008954, allocations: 0 / 252.2 MB, free: 6.145 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.525e-05/0.00904, allocations: 108.4 kB / 252.3 MB, free: 6.012 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/0.00906, allocations: 8 kB / 252.3 MB, free: 6.004 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.746e-05/0.009098, allocations: 3.938 kB / 252.3 MB, free: 6 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.747e-05/0.009125, allocations: 7.984 kB / 252.3 MB, free: 5.992 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.009136, allocations: 4 kB / 252.3 MB, free: 5.988 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.599e-05/0.009202, allocations: 85.61 kB / 252.4 MB, free: 5.902 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009202, allocations: 0 / 252.4 MB, free: 5.902 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001475/0.009349, allocations: 31.88 kB / 252.4 MB, free: 5.871 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,shiftSample1.y,sample1.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001209/0.01056, allocations: 0.543 MB / 253 MB, free: 5.551 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.048e-05/0.01065, allocations: 40.78 kB / 253 MB, free: 5.508 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/0.01066, allocations: 7.984 kB / 253 MB, free: 5.5 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.053e-05/0.01069, allocations: 24.83 kB / 253.1 MB, free: 5.473 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002042/0.01089, allocations: 72.89 kB / 253.1 MB, free: 5.398 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004872/0.01138, allocations: 296.2 kB / 253.4 MB, free: 5.074 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.568e-05/0.01142, allocations: 84.06 kB / 253.5 MB, free: 4.973 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.329e-05/0.01147, allocations: 25.55 kB / 253.5 MB, free: 4.949 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.154e-05/0.01155, allocations: 83.3 kB / 253.6 MB, free: 4.867 MB / 250.7 MB Notification: Performance of SimCode: time 7.42e-07/0.01155, allocations: 0 / 253.6 MB, free: 4.867 MB / 250.7 MB Notification: Performance of Templates: time 0.005212/0.01676, allocations: 2.906 MB / 256.5 MB, free: 2.008 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/ShiftSample/ShiftSample.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5483958004042506]