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.002059/0.002059, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.003222/0.003222, allocations: 214.7 kB / 23.74 MB, free: 4.656 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.685/1.685, allocations: 230.6 MB / 257.5 MB, free: 8.027 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.001866/0.001866, allocations: 48.02 kB / 378.3 MB, free: 2.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3629/0.3647, allocations: 53.37 MB / 431.6 MB, free: 7.094 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.003978/0.3687, allocations: 1.942 MB / 433.6 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002579/0.3713, allocations: 1.344 MB / 434.9 MB, free: 3.793 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001675/0.3715, allocations: 7.938 kB / 434.9 MB, free: 3.785 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003711/0.3718, allocations: 71.66 kB / 435 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004125/0.3723, allocations: 135.4 kB / 435.1 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006965/0.373, allocations: 229.7 kB / 435.3 MB, free: 3.359 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003186/0.3733, allocations: 191.4 kB / 435.5 MB, free: 3.172 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001539/0.3734, allocations: 25.8 kB / 435.6 MB, free: 3.145 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000145/0.3736, allocations: 87.58 kB / 435.6 MB, free: 3.059 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000157/0.3737, allocations: 91.59 kB / 435.7 MB, free: 2.969 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.593e-05/0.3738, allocations: 12 kB / 435.7 MB, free: 2.957 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001887/0.3739, allocations: 79.88 kB / 435.8 MB, free: 2.879 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.374, allocations: 55.83 kB / 435.9 MB, free: 2.824 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001073/0.3742, allocations: 79.42 kB / 436 MB, free: 2.746 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004504/0.3746, allocations: 264.4 kB / 436.2 MB, free: 2.488 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3746, allocations: 3.938 kB / 436.2 MB, free: 2.484 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3746, allocations: 0 / 436.2 MB, free: 2.484 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.3746, allocations: 0 / 436.2 MB, free: 2.484 MB / 334.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.0008714/0.3755, allocations: 490.4 kB / 436.7 MB, free: 1.969 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.3755, allocations: 12.03 kB / 436.7 MB, free: 1.957 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.906e-05/0.3756, allocations: 24.8 kB / 436.7 MB, free: 1.934 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004937/0.3761, allocations: 242.5 kB / 437 MB, free: 1.676 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.296e-05/0.3761, allocations: 8.375 kB / 437 MB, free: 1.668 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.705e-05/0.3761, allocations: 8.125 kB / 437 MB, free: 1.66 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004517/0.3766, allocations: 183.4 kB / 437.2 MB, free: 1.453 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.3766, allocations: 0 / 437.2 MB, free: 1.453 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.3766, allocations: 0 / 437.2 MB, free: 1.453 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.614e-05/0.3766, allocations: 4 kB / 437.2 MB, free: 1.449 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001475/0.3768, allocations: 39.92 kB / 437.2 MB, free: 1.41 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006697/0.3775, allocations: 382.2 kB / 437.6 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000306/0.3778, allocations: 134.5 kB / 437.7 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.3779, allocations: 59.41 kB / 437.8 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.484e-05/0.3779, allocations: 11.88 kB / 437.8 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000185/0.3781, allocations: 79.38 kB / 437.9 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.543e-06/0.3781, allocations: 0 / 437.9 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004336/0.3785, allocations: 169.6 kB / 438 MB, free: 484 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001434/0.3787, allocations: 188.3 kB / 438.2 MB, free: 252 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004221/0.3791, allocations: 352.2 kB / 438.6 MB, free: 15.89 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.3791, allocations: 25.7 kB / 438.6 MB, free: 15.86 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.3792, allocations: 132.3 kB / 438.7 MB, free: 15.72 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.95e-05/0.3793, allocations: 19.89 kB / 438.7 MB, free: 15.7 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.043e-05/0.3793, allocations: 41.66 kB / 438.8 MB, free: 15.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.3795, allocations: 330.8 kB / 439.1 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.945e-05/0.3796, allocations: 32.05 kB / 439.1 MB, free: 15.29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001516/0.3798, allocations: 104.6 kB / 439.2 MB, free: 15.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001917/0.3799, allocations: 105.9 kB / 439.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.3799, allocations: 3.984 kB / 439.3 MB, free: 15.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002618/0.3802, allocations: 133.4 kB / 439.5 MB, free: 14.89 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.3802, allocations: 8.188 kB / 439.5 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.3802, allocations: 4 kB / 439.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.3803, allocations: 4 kB / 439.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.3804, allocations: 23.92 kB / 439.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.377e-06/0.3804, allocations: 4 kB / 439.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.646e-05/0.3805, allocations: 15.86 kB / 439.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.435e-05/0.3805, allocations: 12.03 kB / 439.5 MB, free: 14.82 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.0001679/0.3807, allocations: 149.8 kB / 439.7 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.3808, allocations: 93.38 kB / 439.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003065/0.3811, allocations: 127.3 kB / 439.9 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.3811, allocations: 0 / 439.9 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.3811, allocations: 0 / 439.9 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.3811, allocations: 7.938 kB / 439.9 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002413/0.3813, allocations: 216.6 kB / 440.1 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.3813, allocations: 4 kB / 440.1 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.841e-05/0.3814, allocations: 24.11 kB / 440.1 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3814, allocations: 0 / 440.1 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.3814, allocations: 8.094 kB / 440.1 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.3814, allocations: 0 / 440.1 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.3814, allocations: 3.938 kB / 440.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003607/0.3818, allocations: 179.5 kB / 440.3 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.686e-05/0.3819, allocations: 47.72 kB / 440.4 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.395e-05/0.3819, allocations: 8 kB / 440.4 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.186e-05/0.382, allocations: 8 kB / 440.4 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.919e-05/0.3821, allocations: 7.984 kB / 440.4 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.131e-05/0.3821, allocations: 7.938 kB / 440.4 MB, free: 13.86 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002837/0.3824, allocations: 255 kB / 440.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3824, allocations: 0 / 440.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002814/0.3827, allocations: 32 kB / 440.7 MB, free: 13.58 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.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * 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.001649/0.3843, allocations: 439.8 kB / 441.1 MB, free: 13.3 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002574/0.3846, allocations: 83.89 kB / 441.2 MB, free: 13.21 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3846, allocations: 0 / 441.2 MB, free: 13.21 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.509e-05/0.3846, allocations: 27.92 kB / 441.2 MB, free: 13.19 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004564/0.3851, allocations: 73.12 kB / 441.3 MB, free: 13.12 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007398/0.3858, allocations: 403.3 kB / 441.7 MB, free: 12.69 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004518/0.3863, allocations: 0.7398 MB / 442.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001046/0.3864, allocations: 37.59 kB / 442.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.687e-05/0.3865, allocations: 27.44 kB / 442.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3865, allocations: 0 / 442.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of Templates: time 0.009065/0.3955, allocations: 3.15 MB / 445.6 MB, free: 8.742 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.219589840853587]