Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 80.06 kB / 21.19 MB, free: 3.379 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 145.1 kB / 24.54 MB, free: 28 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.03/1.03, allocations: 173.3 MB / 201.1 MB, free: 9.328 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 268 MB, free: 6.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.77e-05/2.957e-05, allocations: 2.312 kB / 268 MB, free: 6.441 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.003063/0.003093, allocations: 1.947 MB / 269.9 MB, free: 4.48 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00172/0.004813, allocations: 1.145 MB / 271.1 MB, free: 3.328 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001868/0.005, allocations: 7.938 kB / 271.1 MB, free: 3.32 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003686/0.005368, allocations: 67.59 kB / 271.2 MB, free: 3.254 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003044/0.005673, allocations: 95.47 kB / 271.2 MB, free: 3.16 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007068/0.00638, allocations: 275 kB / 271.5 MB, free: 2.891 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003108/0.00669, allocations: 187.4 kB / 271.7 MB, free: 2.707 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.006803, allocations: 17.8 kB / 271.7 MB, free: 2.688 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001426/0.006946, allocations: 111.7 kB / 271.8 MB, free: 2.578 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001087/0.007054, allocations: 71.8 kB / 271.9 MB, free: 2.508 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.437e-05/0.007079, allocations: 8 kB / 271.9 MB, free: 2.5 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001628/0.007241, allocations: 75.86 kB / 272 MB, free: 2.426 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.122e-05/0.007323, allocations: 51.84 kB / 272 MB, free: 2.375 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.121e-05/0.007384, allocations: 43.78 kB / 272.1 MB, free: 2.332 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002927/0.007677, allocations: 195.2 kB / 272.3 MB, free: 2.141 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.00768, allocations: 0 / 272.3 MB, free: 2.141 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.007682, allocations: 0 / 272.3 MB, free: 2.141 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.007688, allocations: 0 / 272.3 MB, free: 2.141 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007113/0.008399, allocations: 0.571 MB / 272.8 MB, free: 1.527 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.008436, allocations: 8.031 kB / 272.8 MB, free: 1.52 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.816e-05/0.008505, allocations: 32.8 kB / 272.9 MB, free: 1.488 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002737/0.008778, allocations: 231.6 kB / 273.1 MB, free: 1.234 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.823e-05/0.008807, allocations: 4.375 kB / 273.1 MB, free: 1.23 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.731e-05/0.008824, allocations: 8.375 kB / 273.1 MB, free: 1.223 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003193/0.009143, allocations: 176.9 kB / 273.3 MB, free: 1.016 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.009153, allocations: 3.938 kB / 273.3 MB, free: 1.012 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.009167, allocations: 8 kB / 273.3 MB, free: 1.004 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.009175, allocations: 4 kB / 273.3 MB, free: 1 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.701e-05/0.009232, allocations: 23.92 kB / 273.3 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004436/0.009675, allocations: 382.6 kB / 273.7 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001818/0.009857, allocations: 152.3 kB / 273.8 MB, free: 364 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.599e-05/0.009913, allocations: 54.73 kB / 273.9 MB, free: 292 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.009933, allocations: 8 kB / 273.9 MB, free: 284 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001397/0.01007, allocations: 72.98 kB / 274 MB, free: 196 kB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 2.565e-06/0.01008, allocations: 0 / 274 MB, free: 196 kB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004626/0.01054, allocations: 141.6 kB / 274.1 MB, free: 48 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.19e-05/0.01062, allocations: 140.5 kB / 274.3 MB, free: 15.88 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003151/0.01094, allocations: 328.3 kB / 274.6 MB, free: 15.54 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.17e-05/0.01097, allocations: 25.7 kB / 274.6 MB, free: 15.51 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.01108, allocations: 175.5 kB / 274.8 MB, free: 15.33 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.973e-05/0.01111, allocations: 23.89 kB / 274.8 MB, free: 15.3 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.898e-05/0.01116, allocations: 27.38 kB / 274.8 MB, free: 15.27 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.0113, allocations: 0.5079 MB / 275.3 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.255e-05/0.01133, allocations: 12.06 kB / 275.3 MB, free: 14.74 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.324e-05/0.01138, allocations: 64.75 kB / 275.4 MB, free: 14.66 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.484e-05/0.01145, allocations: 51.23 kB / 275.5 MB, free: 14.6 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.01145, allocations: 0 / 275.5 MB, free: 14.6 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001212/0.01157, allocations: 89.48 kB / 275.5 MB, free: 14.5 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.01159, allocations: 4.062 kB / 275.5 MB, free: 14.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.01159, allocations: 7.938 kB / 275.6 MB, free: 14.49 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.01161, allocations: 4 kB / 275.6 MB, free: 14.49 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.857e-05/0.0117, allocations: 11.98 kB / 275.6 MB, free: 14.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.0117, allocations: 0 / 275.6 MB, free: 14.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.198e-05/0.01174, allocations: 11.94 kB / 275.6 MB, free: 14.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-06/0.01175, allocations: 4 kB / 275.6 MB, free: 14.46 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,table.y) * 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 8.099e-05/0.01183, allocations: 164.5 kB / 275.7 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.138e-05/0.0119, allocations: 81.44 kB / 275.8 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001532/0.01206, allocations: 107.5 kB / 275.9 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.01206, allocations: 4 kB / 275.9 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.01207, allocations: 3.984 kB / 275.9 MB, free: 14.08 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.01207, allocations: 0 / 275.9 MB, free: 14.08 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001556/0.01223, allocations: 196.5 kB / 276.1 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.01223, allocations: 4 kB / 276.1 MB, free: 13.85 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.511e-05/0.01228, allocations: 15.98 kB / 276.1 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.01229, allocations: 0 / 276.1 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.0123, allocations: 4.062 kB / 276.2 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.115e-06/0.01231, allocations: 7.938 kB / 276.2 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.01231, allocations: 8 kB / 276.2 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001724/0.01248, allocations: 187.2 kB / 276.3 MB, free: 13.6 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.765e-05/0.01254, allocations: 39.8 kB / 276.4 MB, free: 13.56 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.693e-05/0.01257, allocations: 7.984 kB / 276.4 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.871e-05/0.0126, allocations: 4 kB / 276.4 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.084e-05/0.01266, allocations: 7.984 kB / 276.4 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/0.01268, allocations: 8 kB / 276.4 MB, free: 13.53 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001327/0.01281, allocations: 221.1 kB / 276.6 MB, free: 13.32 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01281, allocations: 3.938 kB / 276.6 MB, free: 13.31 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001945/0.01301, allocations: 35.94 kB / 276.7 MB, free: 13.28 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,table.y,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.0009212/0.01393, allocations: 406.3 kB / 277.1 MB, free: 13.02 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001776/0.01411, allocations: 67.59 kB / 277.1 MB, free: 12.95 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.01411, allocations: 0 / 277.1 MB, free: 12.95 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.931e-05/0.01416, allocations: 27.67 kB / 277.2 MB, free: 12.92 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003407/0.0145, allocations: 74.27 kB / 277.2 MB, free: 12.84 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005881/0.01509, allocations: 353 kB / 277.6 MB, free: 12.46 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.827e-05/0.01516, allocations: 83.97 kB / 277.7 MB, free: 12.36 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003899/0.01555, allocations: 29.8 kB / 277.7 MB, free: 12.33 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.014e-05/0.01561, allocations: 28.44 kB / 277.7 MB, free: 12.3 MB / 266.7 MB Notification: Performance of SimCode: time 1.382e-06/0.01561, allocations: 0 / 277.7 MB, free: 12.3 MB / 266.7 MB Notification: Performance of Templates: time 0.006487/0.0221, allocations: 3.367 MB / 281.1 MB, free: 8.98 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/BackSample/BackSample.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: 3.027393239084631]