Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001726/0.001726, allocations: 84.34 kB / 20.95 MB, free: 3.449 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002049/0.002049, allocations: 165.3 kB / 24.27 MB, free: 144 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.449/1.449, allocations: 177.1 MB / 204.6 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.47e-06/5.47e-06, allocations: 3.984 kB / 272.3 MB, free: 1.809 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.843e-05/3.39e-05, allocations: 6.312 kB / 272.3 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.004006/0.00404, allocations: 1.916 MB / 274.2 MB, free: 15.87 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002651/0.006691, allocations: 1.169 MB / 275.4 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000146/0.006837, allocations: 7.938 kB / 275.4 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007814/0.007618, allocations: 163.3 kB / 275.6 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004511/0.008069, allocations: 159.3 kB / 275.7 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004917/0.008561, allocations: 183.3 kB / 275.9 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003082/0.008869, allocations: 203.3 kB / 276.1 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.008976, allocations: 25.8 kB / 276.1 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001802/0.009156, allocations: 107.7 kB / 276.2 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.009289, allocations: 67.8 kB / 276.3 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.276e-05/0.009322, allocations: 12 kB / 276.3 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000158/0.00948, allocations: 59.89 kB / 276.4 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.009581, allocations: 51.77 kB / 276.4 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002596/0.009841, allocations: 39.86 kB / 276.5 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000428/0.01027, allocations: 227.2 kB / 276.7 MB, free: 13.41 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.01027, allocations: 0 / 276.7 MB, free: 13.41 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.01028, allocations: 0 / 276.7 MB, free: 13.41 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.072e-06/0.01028, allocations: 0 / 276.7 MB, free: 13.41 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001057/0.01134, allocations: 458.6 kB / 277.1 MB, free: 12.93 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/0.01139, allocations: 8.031 kB / 277.1 MB, free: 12.92 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001132/0.01151, allocations: 36.78 kB / 277.2 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004512/0.01196, allocations: 228.8 kB / 277.4 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.228e-05/0.01198, allocations: 8.375 kB / 277.4 MB, free: 12.63 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.821e-05/0.012, allocations: 4.375 kB / 277.4 MB, free: 12.63 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004358/0.01243, allocations: 163.2 kB / 277.6 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.01245, allocations: 7.875 kB / 277.6 MB, free: 12.44 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.01246, allocations: 0 / 277.6 MB, free: 12.44 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.01247, allocations: 4 kB / 277.6 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.01259, allocations: 43.97 kB / 277.6 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005735/0.01317, allocations: 314.9 kB / 277.9 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002886/0.01346, allocations: 134.5 kB / 278.1 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001141/0.01357, allocations: 55.36 kB / 278.1 MB, free: 11.81 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.548e-05/0.0136, allocations: 4 kB / 278.1 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002006/0.0138, allocations: 75.38 kB / 278.2 MB, free: 11.72 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.453e-06/0.0138, allocations: 4 kB / 278.2 MB, free: 11.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004484/0.01425, allocations: 169.4 kB / 278.4 MB, free: 11.54 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/0.01436, allocations: 136.5 kB / 278.5 MB, free: 11.38 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003601/0.01472, allocations: 281.9 kB / 278.8 MB, free: 11.1 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.18e-05/0.01475, allocations: 33.7 kB / 278.8 MB, free: 11.06 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.01487, allocations: 120.4 kB / 278.9 MB, free: 10.93 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.478e-05/0.01489, allocations: 11.91 kB / 278.9 MB, free: 10.92 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.605e-05/0.01495, allocations: 34.08 kB / 279 MB, free: 10.88 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001925/0.01514, allocations: 326.8 kB / 279.3 MB, free: 10.55 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.497e-05/0.0152, allocations: 20.23 kB / 279.3 MB, free: 10.54 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.865e-05/0.0153, allocations: 68.27 kB / 279.4 MB, free: 10.45 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.01543, allocations: 65.58 kB / 279.4 MB, free: 10.38 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.01543, allocations: 0 / 279.4 MB, free: 10.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002225/0.01566, allocations: 97.59 kB / 279.5 MB, free: 10.28 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.01567, allocations: 7.984 kB / 279.5 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.01568, allocations: 0 / 279.5 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.01569, allocations: 4.062 kB / 279.5 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.47e-05/0.01578, allocations: 15.94 kB / 279.6 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.01578, allocations: 0 / 279.6 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.34e-05/0.01585, allocations: 11.89 kB / 279.6 MB, free: 10.24 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/0.01585, allocations: 3.984 kB / 279.6 MB, free: 10.24 MB / 266.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 0.0001538/0.01601, allocations: 141.8 kB / 279.7 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/0.01613, allocations: 81.5 kB / 279.8 MB, free: 10 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002828/0.01641, allocations: 119.4 kB / 279.9 MB, free: 9.875 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.01642, allocations: 4.094 kB / 279.9 MB, free: 9.871 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.01643, allocations: 7.938 kB / 279.9 MB, free: 9.863 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.01643, allocations: 0 / 279.9 MB, free: 9.863 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002145/0.01664, allocations: 169.3 kB / 280.1 MB, free: 9.668 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.01664, allocations: 0 / 280.1 MB, free: 9.668 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.756e-05/0.01668, allocations: 11.98 kB / 280.1 MB, free: 9.656 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.01668, allocations: 0 / 280.1 MB, free: 9.656 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.79e-05/0.0167, allocations: 11.98 kB / 280.1 MB, free: 9.645 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.0167, allocations: 64 / 280.1 MB, free: 9.645 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/0.01671, allocations: 8 kB / 280.1 MB, free: 9.637 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003147/0.01702, allocations: 183.4 kB / 280.3 MB, free: 9.43 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.748e-05/0.0171, allocations: 39.78 kB / 280.3 MB, free: 9.391 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.245e-05/0.01713, allocations: 8 kB / 280.3 MB, free: 9.383 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.52e-05/0.0172, allocations: 3.984 kB / 280.4 MB, free: 9.379 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.417e-05/0.01724, allocations: 4 kB / 280.4 MB, free: 9.375 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.01726, allocations: 8 kB / 280.4 MB, free: 9.367 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002569/0.01752, allocations: 209.2 kB / 280.6 MB, free: 9.164 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01752, allocations: 0 / 280.6 MB, free: 9.164 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002418/0.01776, allocations: 31.94 kB / 280.6 MB, free: 9.133 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,backSample1.y,shiftSample1.y,backSample1.u,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 (12): * Single equations (assignments): 10 * 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.001979/0.01974, allocations: 464.8 kB / 281.1 MB, free: 8.859 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002169/0.01996, allocations: 55.98 kB / 281.1 MB, free: 8.805 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.01996, allocations: 0 / 281.1 MB, free: 8.805 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.452e-05/0.02004, allocations: 27.92 kB / 281.1 MB, free: 8.777 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004781/0.02052, allocations: 81.97 kB / 281.2 MB, free: 8.699 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006534/0.02118, allocations: 350.7 kB / 281.6 MB, free: 8.32 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001491/0.02132, allocations: 127.9 kB / 281.7 MB, free: 8.176 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.749e-05/0.02139, allocations: 21.48 kB / 281.7 MB, free: 8.156 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.989e-05/0.02145, allocations: 20.48 kB / 281.7 MB, free: 8.133 MB / 266.7 MB Notification: Performance of SimCode: time 3.91e-07/0.02145, allocations: 0 / 281.7 MB, free: 8.133 MB / 266.7 MB Notification: Performance of Templates: time 0.009487/0.03094, allocations: 2.852 MB / 284.6 MB, free: 5.336 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/BackSample/BackSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.494966899976134]