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.001394/0.001394, allocations: 122.5 kB / 18.5 MB, free: 4.52 MB / 14.72 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.00148/0.00148, allocations: 215.2 kB / 21.46 MB, free: 1.566 MB / 14.72 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.708/1.708, allocations: 230.2 MB / 254.5 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] 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 0.003266/0.003266, allocations: 59.91 kB / 373.8 MB, free: 9.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1963/0.1996, allocations: 53.32 MB / 427.1 MB, free: 4.488 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.005525/0.2051, allocations: 1.906 MB / 429.1 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003596/0.2087, allocations: 1.223 MB / 430.3 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003189/0.209, allocations: 8 kB / 430.3 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00102/0.2101, allocations: 151.5 kB / 430.4 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008418/0.2109, allocations: 151.4 kB / 430.6 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008324/0.2117, allocations: 173.9 kB / 430.7 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004116/0.2121, allocations: 199.5 kB / 430.9 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001664/0.2123, allocations: 13.56 kB / 431 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002284/0.2125, allocations: 79.62 kB / 431 MB, free: 0.582 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002/0.2127, allocations: 75.67 kB / 431.1 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.902e-05/0.2128, allocations: 12 kB / 431.1 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002079/0.213, allocations: 55.91 kB / 431.2 MB, free: 452 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.873e-05/0.2131, allocations: 43.84 kB / 431.2 MB, free: 408 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001734/0.2132, allocations: 75.47 kB / 431.3 MB, free: 332 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005233/0.2138, allocations: 219 kB / 431.5 MB, free: 112 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.2138, allocations: 0 / 431.5 MB, free: 112 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.2138, allocations: 0 / 431.5 MB, free: 112 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.57e-05/0.2138, allocations: 4 kB / 431.5 MB, free: 108 kB / 350.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.3349/0.5487, allocations: 0.5101 MB / 432 MB, free: 11.42 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.664e-05/0.5488, allocations: 10.05 kB / 432 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001146/0.5489, allocations: 22.45 kB / 432.1 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004757/0.5494, allocations: 271.8 kB / 432.3 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.383e-05/0.5494, allocations: 8 kB / 432.3 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.887e-05/0.5495, allocations: 4.781 kB / 432.3 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004219/0.5499, allocations: 147.9 kB / 432.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.5499, allocations: 2.75 kB / 432.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.168e-05/0.5499, allocations: 8.641 kB / 432.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.5499, allocations: 2.094 kB / 432.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001274/0.55, allocations: 35.66 kB / 432.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006653/0.5507, allocations: 361.3 kB / 432.9 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002636/0.551, allocations: 109.4 kB / 433 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.5511, allocations: 41.11 kB / 433 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.373e-05/0.5511, allocations: 4 kB / 433 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002474/0.5514, allocations: 77.78 kB / 433.1 MB, free: 10.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 2.014e-06/0.5514, allocations: 0 / 433.1 MB, free: 10.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005209/0.5519, allocations: 143.4 kB / 433.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.552, allocations: 138 kB / 433.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000401/0.5524, allocations: 272.4 kB / 433.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.5524, allocations: 31.52 kB / 433.7 MB, free: 10.35 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.705e-05/0.5525, allocations: 113.8 kB / 433.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.744e-05/0.5526, allocations: 24.19 kB / 433.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.468e-05/0.5526, allocations: 35.53 kB / 433.8 MB, free: 10.24 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.5528, allocations: 332.2 kB / 434.2 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.659e-05/0.5528, allocations: 18.77 kB / 434.2 MB, free: 9.922 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.553, allocations: 68.78 kB / 434.3 MB, free: 9.867 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001539/0.5531, allocations: 80.78 kB / 434.3 MB, free: 9.828 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.5531, allocations: 0 / 434.3 MB, free: 9.828 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002198/0.5533, allocations: 111.1 kB / 434.4 MB, free: 9.789 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.5533, allocations: 9.562 kB / 434.4 MB, free: 9.789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.5534, allocations: 1.312 kB / 434.4 MB, free: 9.789 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.525e-05/0.5534, allocations: 2.25 kB / 434.5 MB, free: 9.789 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.5535, allocations: 20.3 kB / 434.5 MB, free: 9.789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.5535, allocations: 3.062 kB / 434.5 MB, free: 9.789 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.204e-05/0.5536, allocations: 6.594 kB / 434.5 MB, free: 9.789 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.5536, allocations: 3 kB / 434.5 MB, free: 9.789 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u,shiftSample1.y,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.000139/0.5537, allocations: 152 kB / 434.6 MB, free: 9.668 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.477e-05/0.5538, allocations: 75.27 kB / 434.7 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.737e-05/0.5539, allocations: 23.92 kB / 434.7 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.5539, allocations: 0.9375 kB / 434.7 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.5539, allocations: 4.219 kB / 434.7 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.5539, allocations: 0 / 434.7 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002425/0.5541, allocations: 236.3 kB / 435 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.5541, allocations: 0 / 435 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.902e-05/0.5542, allocations: 9.156 kB / 435 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.5542, allocations: 5.219 kB / 435 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.574e-05/0.5542, allocations: 1.125 kB / 435 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.5542, allocations: 1.656 kB / 435 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.5542, allocations: 0.9062 kB / 435 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002573/0.5545, allocations: 157.8 kB / 435.1 MB, free: 9.328 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.8e-05/0.5546, allocations: 113.8 kB / 435.2 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.182e-05/0.5546, allocations: 2.375 kB / 435.3 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.162e-05/0.5547, allocations: 9.906 kB / 435.3 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.027e-05/0.5547, allocations: 3.719 kB / 435.3 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.741e-05/0.5547, allocations: 7.609 kB / 435.3 MB, free: 9.223 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002144/0.555, allocations: 200.6 kB / 435.5 MB, free: 9.145 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.555, allocations: 0 / 435.5 MB, free: 9.145 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003032/0.5553, allocations: 30.47 kB / 435.5 MB, free: 9.145 MB / 350.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.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001637/0.5569, allocations: 433.9 kB / 435.9 MB, free: 8.988 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000253/0.5571, allocations: 62.56 kB / 436 MB, free: 8.984 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.5571, allocations: 0 / 436 MB, free: 8.984 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.317e-05/0.5572, allocations: 24.5 kB / 436 MB, free: 8.984 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004551/0.5577, allocations: 61.66 kB / 436.1 MB, free: 8.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006444/0.5583, allocations: 322.2 kB / 436.4 MB, free: 8.785 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002262/0.5585, allocations: 0.7326 MB / 437.1 MB, free: 8.086 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.708e-05/0.5586, allocations: 28.69 kB / 437.1 MB, free: 8.078 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.867e-05/0.5587, allocations: 17.12 kB / 437.2 MB, free: 8.07 MB / 350.1 MB Notification: Performance of SimCode: time 3.6e-07/0.5587, allocations: 0 / 437.2 MB, free: 8.07 MB / 350.1 MB Notification: Performance of Templates: time 0.007608/0.5663, allocations: 2.51 MB / 439.7 MB, free: 7.867 MB / 350.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 5.452462973073125]