Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.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.001884/0.001884, allocations: 84.08 kB / 20.68 MB, free: 1.027 MB / 14.72 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.002177/0.002177, allocations: 171.2 kB / 23.96 MB, free: 4.148 MB / 14.72 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.477/1.477, allocations: 177.1 MB / 204.3 MB, free: 9.164 MB / 190.1 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.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 325.1 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.639e-05/2.8e-05, allocations: 5.516 kB / 325.1 MB, free: 0.543 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.00404/0.004068, allocations: 1.901 MB / 327 MB, free: 15.26 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0024/0.006468, allocations: 1.151 MB / 328.1 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002162/0.006684, allocations: 6.906 kB / 328.1 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007242/0.007409, allocations: 155.1 kB / 328.3 MB, free: 14.46 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005601/0.007969, allocations: 162.5 kB / 328.4 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00065/0.008619, allocations: 171.2 kB / 328.6 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003978/0.009016, allocations: 195 kB / 328.8 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.009157, allocations: 16.81 kB / 328.8 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002733/0.00943, allocations: 110.6 kB / 328.9 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001651/0.009595, allocations: 65.53 kB / 329 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.438e-05/0.00963, allocations: 9.906 kB / 329 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002089/0.009839, allocations: 60.2 kB / 329 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.628e-05/0.009935, allocations: 46.22 kB / 329.1 MB, free: 14.08 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.01004, allocations: 36.28 kB / 329.1 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00054/0.01058, allocations: 212.3 kB / 329.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.01058, allocations: 0 / 329.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.01059, allocations: 0 / 329.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.734e-06/0.01059, allocations: 1.094 kB / 329.3 MB, free: 13.98 MB / 302.1 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.00095/0.01154, allocations: 453.7 kB / 329.8 MB, free: 13.57 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.01158, allocations: 11.25 kB / 329.8 MB, free: 13.57 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.902e-05/0.01167, allocations: 21.39 kB / 329.8 MB, free: 13.56 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004186/0.01209, allocations: 214 kB / 330 MB, free: 13.38 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.01211, allocations: 3.469 kB / 330 MB, free: 13.38 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.01213, allocations: 9.516 kB / 330 MB, free: 13.38 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003825/0.01251, allocations: 138.7 kB / 330.2 MB, free: 13.28 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.01253, allocations: 3.938 kB / 330.2 MB, free: 13.28 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.01254, allocations: 5.094 kB / 330.2 MB, free: 13.27 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.01255, allocations: 1.156 kB / 330.2 MB, free: 13.27 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001228/0.01267, allocations: 36.83 kB / 330.2 MB, free: 13.26 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005717/0.01324, allocations: 292.1 kB / 330.5 MB, free: 13.01 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002729/0.01352, allocations: 113 kB / 330.6 MB, free: 12.91 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.465e-05/0.01361, allocations: 45.16 kB / 330.7 MB, free: 12.88 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.453e-05/0.01363, allocations: 1.938 kB / 330.7 MB, free: 12.88 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001771/0.01381, allocations: 83.2 kB / 330.7 MB, free: 12.81 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.933e-06/0.01381, allocations: 3.938 kB / 330.7 MB, free: 12.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004296/0.01424, allocations: 141.7 kB / 330.9 MB, free: 12.73 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.207e-05/0.01434, allocations: 109.8 kB / 331 MB, free: 12.6 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003348/0.01467, allocations: 286.1 kB / 331.3 MB, free: 12.4 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.01469, allocations: 26.8 kB / 331.3 MB, free: 12.37 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.963e-05/0.01479, allocations: 117.2 kB / 331.4 MB, free: 12.26 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.563e-05/0.01482, allocations: 22.11 kB / 331.4 MB, free: 12.24 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.543e-05/0.01487, allocations: 30.12 kB / 331.5 MB, free: 12.21 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.01503, allocations: 327.2 kB / 331.8 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.236e-05/0.01509, allocations: 22.2 kB / 331.8 MB, free: 11.88 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.0152, allocations: 68.2 kB / 331.9 MB, free: 11.81 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001224/0.01532, allocations: 58.7 kB / 331.9 MB, free: 11.77 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.01532, allocations: 1.438 kB / 331.9 MB, free: 11.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002053/0.01552, allocations: 93.61 kB / 332 MB, free: 11.71 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.01554, allocations: 10.34 kB / 332 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.01555, allocations: 0 / 332 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.01556, allocations: 1.25 kB / 332 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.578e-05/0.01565, allocations: 12.94 kB / 332 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.01565, allocations: 1.156 kB / 332 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.076e-05/0.01572, allocations: 11.55 kB / 332.1 MB, free: 11.69 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-06/0.01573, allocations: 2.062 kB / 332.1 MB, free: 11.69 MB / 302.1 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.000151/0.01589, allocations: 141 kB / 332.2 MB, free: 11.56 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.584e-05/0.01598, allocations: 64.5 kB / 332.3 MB, free: 11.51 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002576/0.01624, allocations: 114 kB / 332.4 MB, free: 11.44 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.01624, allocations: 2.5 kB / 332.4 MB, free: 11.44 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.01625, allocations: 1.094 kB / 332.4 MB, free: 11.44 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.01626, allocations: 5.109 kB / 332.4 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002075/0.01646, allocations: 170.5 kB / 332.5 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.01647, allocations: 3.984 kB / 332.5 MB, free: 11.26 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.476e-05/0.0165, allocations: 5.812 kB / 332.6 MB, free: 11.26 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.01651, allocations: 1.156 kB / 332.6 MB, free: 11.26 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.01652, allocations: 10.52 kB / 332.6 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.01652, allocations: 5.094 kB / 332.6 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.01653, allocations: 5.281 kB / 332.6 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002962/0.01682, allocations: 166 kB / 332.7 MB, free: 11.11 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.332e-05/0.0169, allocations: 34.28 kB / 332.8 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.207e-05/0.01693, allocations: 2.438 kB / 332.8 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.742e-05/0.017, allocations: 14.36 kB / 332.8 MB, free: 11.08 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.126e-05/0.01704, allocations: 3.594 kB / 332.8 MB, free: 11.08 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/0.01705, allocations: 3.438 kB / 332.8 MB, free: 11.08 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002339/0.01729, allocations: 203.4 kB / 333 MB, free: 10.95 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01729, allocations: 0 / 333 MB, free: 10.95 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002756/0.01756, allocations: 33.98 kB / 333 MB, free: 10.94 MB / 302.1 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.001669/0.01923, allocations: 437.8 kB / 333.4 MB, free: 10.74 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002244/0.01946, allocations: 69.61 kB / 333.5 MB, free: 10.71 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.01946, allocations: 0 / 333.5 MB, free: 10.71 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.129e-05/0.01954, allocations: 32.64 kB / 333.5 MB, free: 10.69 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004154/0.01996, allocations: 66.23 kB / 333.6 MB, free: 10.66 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006436/0.0206, allocations: 326.5 kB / 333.9 MB, free: 10.41 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001226/0.02072, allocations: 116.6 kB / 334 MB, free: 10.31 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.971e-05/0.0208, allocations: 30.2 kB / 334.1 MB, free: 10.3 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.069e-05/0.02085, allocations: 23.12 kB / 334.1 MB, free: 10.29 MB / 302.1 MB Notification: Performance of SimCode: time 3e-07/0.02085, allocations: 0 / 334.1 MB, free: 10.29 MB / 302.1 MB Notification: Performance of Templates: time 0.006915/0.02777, allocations: 2.609 MB / 336.7 MB, free: 8.953 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.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.544395104050636]