Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001491/0.001491, allocations: 123 kB / 17.79 MB, free: 5.246 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.001608/0.001608, allocations: 207.2 kB / 20.75 MB, free: 2.297 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.675/1.675, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.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.IntegerSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001608/0.001608, allocations: 51.92 kB / 373.5 MB, free: 9.703 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1351, allocations: 53.34 MB / 426.8 MB, free: 4.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.004243/0.1393, allocations: 1.924 MB / 428.7 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002612/0.142, allocations: 1.325 MB / 430 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001673/0.1421, allocations: 7.938 kB / 430.1 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004217/0.1425, allocations: 75.59 kB / 430.1 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004536/0.143, allocations: 131.4 kB / 430.3 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007576/0.1438, allocations: 234.9 kB / 430.5 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003432/0.1441, allocations: 191.4 kB / 430.7 MB, free: 380 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.1442, allocations: 21.69 kB / 430.7 MB, free: 360 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001572/0.1444, allocations: 87.67 kB / 430.8 MB, free: 272 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001546/0.1445, allocations: 91.55 kB / 430.9 MB, free: 180 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.99e-05/0.1446, allocations: 12 kB / 430.9 MB, free: 168 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001882/0.1448, allocations: 75.94 kB / 431 MB, free: 92 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001212/0.1449, allocations: 51.78 kB / 431 MB, free: 40 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2705/0.4154, allocations: 78.92 kB / 431.1 MB, free: 8.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006146/0.416, allocations: 248 kB / 431.3 MB, free: 8.309 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.416, allocations: 1.953 kB / 431.3 MB, free: 8.309 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.416, allocations: 0 / 431.3 MB, free: 8.309 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.382e-05/0.416, allocations: 0 / 431.3 MB, free: 8.309 MB / 350.1 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.0007681/0.4168, allocations: 0.5576 MB / 431.9 MB, free: 7.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.4168, allocations: 10.94 kB / 431.9 MB, free: 7.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.592e-05/0.4169, allocations: 26.78 kB / 431.9 MB, free: 7.809 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004649/0.4174, allocations: 305.7 kB / 432.2 MB, free: 7.578 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.4174, allocations: 5.969 kB / 432.2 MB, free: 7.578 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.832e-05/0.4174, allocations: 9 kB / 432.2 MB, free: 7.578 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004158/0.4178, allocations: 184.9 kB / 432.4 MB, free: 7.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.4178, allocations: 0.8438 kB / 432.4 MB, free: 7.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.931e-05/0.4179, allocations: 9.344 kB / 432.4 MB, free: 7.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.4179, allocations: 4.969 kB / 432.4 MB, free: 7.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001401/0.418, allocations: 39.45 kB / 432.5 MB, free: 7.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005317/0.4185, allocations: 394.8 kB / 432.9 MB, free: 7.188 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002747/0.4188, allocations: 146.4 kB / 433 MB, free: 7.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.4189, allocations: 54.56 kB / 433.1 MB, free: 7.059 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.332e-05/0.419, allocations: 7.891 kB / 433.1 MB, free: 7.059 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001736/0.4191, allocations: 83.2 kB / 433.1 MB, free: 7.012 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.643e-06/0.4191, allocations: 0 / 433.1 MB, free: 7.012 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004781/0.4196, allocations: 167.5 kB / 433.3 MB, free: 6.969 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.757e-05/0.4197, allocations: 189.3 kB / 433.5 MB, free: 6.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003428/0.42, allocations: 352 kB / 433.8 MB, free: 6.637 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.42, allocations: 29.02 kB / 433.9 MB, free: 6.605 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.9e-05/0.4201, allocations: 140.6 kB / 434 MB, free: 6.516 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.514e-05/0.4201, allocations: 14.97 kB / 434 MB, free: 6.508 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.323e-05/0.4202, allocations: 37.56 kB / 434 MB, free: 6.488 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.204e-05/0.4203, allocations: 340 kB / 434.4 MB, free: 6.172 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.541e-05/0.4204, allocations: 23.84 kB / 434.4 MB, free: 6.172 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001191/0.4205, allocations: 103.7 kB / 434.5 MB, free: 6.094 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001738/0.4207, allocations: 109.5 kB / 434.6 MB, free: 6.035 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.4207, allocations: 1.094 kB / 434.6 MB, free: 6.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002593/0.4209, allocations: 135.4 kB / 434.7 MB, free: 5.992 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.4209, allocations: 5.906 kB / 434.8 MB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.4209, allocations: 2.375 kB / 434.8 MB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.421, allocations: 4.969 kB / 434.8 MB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.4211, allocations: 28.72 kB / 434.8 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/0.4211, allocations: 3.75 kB / 434.8 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.448e-05/0.4212, allocations: 5.906 kB / 434.8 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.282e-05/0.4212, allocations: 9.938 kB / 434.8 MB, free: 5.988 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,backSample1.y,backSample1.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 (13): * Single equations (assignments): 13 * 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.0001246/0.4213, allocations: 162.1 kB / 435 MB, free: 5.867 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.4214, allocations: 85.17 kB / 435 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.902e-05/0.4215, allocations: 35.16 kB / 435.1 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.4215, allocations: 3.984 kB / 435.1 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.4215, allocations: 1.281 kB / 435.1 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.4215, allocations: 6.094 kB / 435.1 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002129/0.4217, allocations: 247.4 kB / 435.3 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.4217, allocations: 1.125 kB / 435.3 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.045e-05/0.4218, allocations: 15.31 kB / 435.4 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.4218, allocations: 2.906 kB / 435.4 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.4218, allocations: 4.781 kB / 435.4 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.4218, allocations: 1.625 kB / 435.4 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.4218, allocations: 6.688 kB / 435.4 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000291/0.4221, allocations: 179.6 kB / 435.5 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.043e-05/0.4222, allocations: 120.4 kB / 435.7 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.867e-05/0.4222, allocations: 6.344 kB / 435.7 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.563e-05/0.4223, allocations: 5.938 kB / 435.7 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.963e-05/0.4224, allocations: 14.05 kB / 435.7 MB, free: 5.398 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.175e-05/0.4224, allocations: 7.75 kB / 435.7 MB, free: 5.398 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002889/0.4227, allocations: 251.8 kB / 435.9 MB, free: 5.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4227, allocations: 3.938 kB / 435.9 MB, free: 5.316 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003168/0.423, allocations: 40.23 kB / 436 MB, free: 5.309 MB / 350.1 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.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * 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.001642/0.4247, allocations: 427.5 kB / 436.4 MB, free: 5.156 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002924/0.4249, allocations: 89.27 kB / 436.5 MB, free: 5.148 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.4249, allocations: 0 / 436.5 MB, free: 5.148 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.425, allocations: 31.34 kB / 436.5 MB, free: 5.148 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005012/0.4256, allocations: 73.78 kB / 436.6 MB, free: 5.141 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007032/0.4263, allocations: 400.5 kB / 437 MB, free: 4.918 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002008/0.4265, allocations: 0.7442 MB / 437.7 MB, free: 4.223 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.695e-05/0.4266, allocations: 35.73 kB / 437.8 MB, free: 4.215 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.237e-05/0.4266, allocations: 27.77 kB / 437.8 MB, free: 4.207 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4266, allocations: 3.938 kB / 437.8 MB, free: 4.203 MB / 350.1 MB Notification: Performance of Templates: time 0.009853/0.4365, allocations: 3.106 MB / 440.9 MB, free: 3.98 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/BackSample/BackSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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: 5.459136322140694]