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.00185/0.00185, allocations: 112.2 kB / 19.04 MB, free: 3.254 MB / 14.72 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.002221/0.002221, allocations: 196.4 kB / 22.22 MB, free: 72 kB / 14.72 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.589/1.589, allocations: 225.6 MB / 250.8 MB, free: 13.34 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001589/0.001589, allocations: 47.92 kB / 368.7 MB, free: 10.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3693/0.3709, allocations: 52.14 MB / 420.9 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.003962/0.3749, allocations: 1.932 MB / 422.8 MB, free: 13.15 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002286/0.3772, allocations: 1.192 MB / 424 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001539/0.3773, allocations: 7.938 kB / 424 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003753/0.3777, allocations: 67.66 kB / 424.1 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003023/0.378, allocations: 95.58 kB / 424.2 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008197/0.3788, allocations: 258.1 kB / 424.4 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002813/0.3791, allocations: 183.5 kB / 424.6 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.3792, allocations: 21.55 kB / 424.6 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001255/0.3793, allocations: 83.62 kB / 424.7 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001402/0.3795, allocations: 87.61 kB / 424.8 MB, free: 11.17 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.589e-05/0.3795, allocations: 8 kB / 424.8 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001633/0.3797, allocations: 67.95 kB / 424.8 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.734e-05/0.3798, allocations: 59.77 kB / 424.9 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.3799, allocations: 79.42 kB / 425 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004029/0.3803, allocations: 252.2 kB / 425.2 MB, free: 10.71 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.3803, allocations: 0 / 425.2 MB, free: 10.71 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3803, allocations: 0 / 425.2 MB, free: 10.71 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.128e-05/0.3803, allocations: 0 / 425.2 MB, free: 10.71 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.0008498/0.3812, allocations: 0.5464 MB / 425.8 MB, free: 10.11 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.3812, allocations: 11.89 kB / 425.8 MB, free: 10.1 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.155e-05/0.3813, allocations: 28.8 kB / 425.8 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004941/0.3818, allocations: 303.7 kB / 426.1 MB, free: 9.738 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.392e-05/0.3818, allocations: 8.375 kB / 426.1 MB, free: 9.73 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.967e-05/0.3818, allocations: 8.125 kB / 426.1 MB, free: 9.723 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004254/0.3822, allocations: 184.4 kB / 426.3 MB, free: 9.512 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.3823, allocations: 0 / 426.3 MB, free: 9.512 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.3823, allocations: 4 kB / 426.3 MB, free: 9.508 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.3823, allocations: 0 / 426.3 MB, free: 9.508 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001269/0.3824, allocations: 43.91 kB / 426.4 MB, free: 9.465 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005926/0.383, allocations: 407.1 kB / 426.8 MB, free: 9.008 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002849/0.3833, allocations: 134.5 kB / 426.9 MB, free: 8.84 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.3834, allocations: 55.42 kB / 426.9 MB, free: 8.773 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.136e-05/0.3834, allocations: 3.984 kB / 426.9 MB, free: 8.77 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001866/0.3836, allocations: 83.33 kB / 427 MB, free: 8.676 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.542e-06/0.3836, allocations: 0 / 427 MB, free: 8.676 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004506/0.3841, allocations: 169.4 kB / 427.2 MB, free: 8.504 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001447/0.3842, allocations: 187.9 kB / 427.4 MB, free: 8.277 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003768/0.3846, allocations: 331.1 kB / 427.7 MB, free: 7.945 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.3846, allocations: 33.7 kB / 427.7 MB, free: 7.906 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.3847, allocations: 132.3 kB / 427.9 MB, free: 7.77 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.824e-05/0.3847, allocations: 15.91 kB / 427.9 MB, free: 7.754 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.277e-05/0.3848, allocations: 33.7 kB / 427.9 MB, free: 7.715 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.385, allocations: 342.7 kB / 428.2 MB, free: 7.371 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.725e-05/0.3851, allocations: 27.98 kB / 428.3 MB, free: 7.344 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.3852, allocations: 100.5 kB / 428.4 MB, free: 7.215 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001801/0.3854, allocations: 110.2 kB / 428.5 MB, free: 7.086 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.3854, allocations: 0 / 428.5 MB, free: 7.086 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002516/0.3856, allocations: 137.3 kB / 428.6 MB, free: 6.945 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.3856, allocations: 8 kB / 428.6 MB, free: 6.938 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.3857, allocations: 0 / 428.6 MB, free: 6.938 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.3857, allocations: 7.938 kB / 428.6 MB, free: 6.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.3858, allocations: 24.17 kB / 428.6 MB, free: 6.906 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.287e-05/0.3858, allocations: 4 kB / 428.7 MB, free: 6.902 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.641e-05/0.3859, allocations: 23.81 kB / 428.7 MB, free: 6.879 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.3859, allocations: 4 kB / 428.7 MB, free: 6.875 MB / 334.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.0001602/0.3861, allocations: 158.2 kB / 428.8 MB, free: 6.711 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/0.3862, allocations: 77.48 kB / 428.9 MB, free: 6.629 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002819/0.3865, allocations: 123.5 kB / 429 MB, free: 6.5 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.3865, allocations: 4 kB / 429 MB, free: 6.496 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.3865, allocations: 0 / 429 MB, free: 6.496 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.926e-06/0.3865, allocations: 11.88 kB / 429 MB, free: 6.484 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002392/0.3867, allocations: 241.6 kB / 429.3 MB, free: 6.199 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3867, allocations: 0 / 429.3 MB, free: 6.199 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.391e-05/0.3868, allocations: 12 kB / 429.3 MB, free: 6.188 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.3868, allocations: 4 kB / 429.3 MB, free: 6.184 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.3868, allocations: 7.984 kB / 429.3 MB, free: 6.176 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.3868, allocations: 4.125 kB / 429.3 MB, free: 6.172 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.3868, allocations: 4 kB / 429.3 MB, free: 6.168 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000303/0.3871, allocations: 191.3 kB / 429.5 MB, free: 5.953 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/0.3872, allocations: 124.9 kB / 429.6 MB, free: 5.812 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.423e-05/0.3873, allocations: 4 kB / 429.6 MB, free: 5.809 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.901e-05/0.3873, allocations: 4 kB / 429.6 MB, free: 5.805 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.248e-05/0.3874, allocations: 15.98 kB / 429.6 MB, free: 5.789 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.032e-05/0.3874, allocations: 7.938 kB / 429.7 MB, free: 5.781 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002554/0.3877, allocations: 249.9 kB / 429.9 MB, free: 5.539 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3877, allocations: 0 / 429.9 MB, free: 5.539 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002794/0.3879, allocations: 35.94 kB / 429.9 MB, free: 5.504 MB / 334.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.001553/0.3895, allocations: 419.2 kB / 430.3 MB, free: 5.246 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002742/0.3898, allocations: 87.78 kB / 430.4 MB, free: 5.16 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3898, allocations: 0 / 430.4 MB, free: 5.16 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.139e-05/0.3899, allocations: 23.98 kB / 430.5 MB, free: 5.137 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004749/0.3903, allocations: 82.75 kB / 430.5 MB, free: 5.059 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007106/0.391, allocations: 398.3 kB / 430.9 MB, free: 4.633 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000398/0.3914, allocations: 0.7513 MB / 431.7 MB, free: 3.855 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.262e-05/0.3915, allocations: 25.55 kB / 431.7 MB, free: 3.832 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.485e-05/0.3916, allocations: 27.42 kB / 431.7 MB, free: 3.805 MB / 334.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3916, allocations: 0 / 431.7 MB, free: 3.805 MB / 334.1 MB Notification: Performance of Templates: time 0.007579/0.3992, allocations: 3.111 MB / 434.8 MB, free: 0.7227 MB / 334.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.167393528856337]