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.001297/0.001297, allocations: 76.05 kB / 21.24 MB, free: 400 kB / 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.001293/0.001293, allocations: 159.6 kB / 24.48 MB, free: 3.461 MB / 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.377/1.377, allocations: 173.4 MB / 201.1 MB, free: 12.69 MB / 190.1 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 0.001554/0.001554, allocations: 46.77 kB / 319.4 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08924/0.0908, allocations: 52.17 MB / 371.6 MB, free: 7.344 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.004421/0.09522, allocations: 1.884 MB / 373.5 MB, free: 5.449 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002241/0.09746, allocations: 1.103 MB / 374.6 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001333/0.09759, allocations: 7.938 kB / 374.6 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003321/0.09792, allocations: 67.66 kB / 374.6 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002816/0.09821, allocations: 91.59 kB / 374.7 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007627/0.09897, allocations: 270.1 kB / 375 MB, free: 3.918 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002842/0.09925, allocations: 187.4 kB / 375.2 MB, free: 3.734 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.09939, allocations: 33.73 kB / 375.2 MB, free: 3.699 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001295/0.09952, allocations: 79.69 kB / 375.3 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000153/0.09967, allocations: 83.55 kB / 375.4 MB, free: 3.539 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.971e-05/0.0997, allocations: 12 kB / 375.4 MB, free: 3.527 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001751/0.09987, allocations: 67.94 kB / 375.4 MB, free: 3.461 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.772e-05/0.09997, allocations: 47.84 kB / 375.5 MB, free: 3.414 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001072/0.1001, allocations: 71.47 kB / 375.6 MB, free: 3.344 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003955/0.1005, allocations: 243 kB / 375.8 MB, free: 3.105 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1005, allocations: 4 kB / 375.8 MB, free: 3.102 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1005, allocations: 0 / 375.8 MB, free: 3.102 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.1005, allocations: 0 / 375.8 MB, free: 3.102 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.0007877/0.1013, allocations: 486.4 kB / 376.3 MB, free: 2.59 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.1013, allocations: 8.031 kB / 376.3 MB, free: 2.582 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.316e-05/0.1014, allocations: 24.8 kB / 376.3 MB, free: 2.559 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004326/0.1018, allocations: 249.4 kB / 376.5 MB, free: 2.289 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.1018, allocations: 8.375 kB / 376.6 MB, free: 2.281 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.946e-05/0.1018, allocations: 8.125 kB / 376.6 MB, free: 2.273 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003963/0.1022, allocations: 201.2 kB / 376.8 MB, free: 2.043 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.1023, allocations: 0 / 376.8 MB, free: 2.043 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.1023, allocations: 4 kB / 376.8 MB, free: 2.039 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.1023, allocations: 3.984 kB / 376.8 MB, free: 2.035 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001444/0.1024, allocations: 43.91 kB / 376.8 MB, free: 1.992 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005227/0.1029, allocations: 331 kB / 377.1 MB, free: 1.629 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002982/0.1032, allocations: 146.5 kB / 377.3 MB, free: 1.449 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/0.1034, allocations: 55.42 kB / 377.3 MB, free: 1.383 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.1034, allocations: 0 / 377.3 MB, free: 1.383 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001866/0.1036, allocations: 83.31 kB / 377.4 MB, free: 1.289 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 3.616e-06/0.1036, allocations: 4 kB / 377.4 MB, free: 1.285 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004348/0.104, allocations: 169.4 kB / 377.6 MB, free: 1.113 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/0.1041, allocations: 170.1 kB / 377.7 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003674/0.1045, allocations: 337.8 kB / 378.1 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.1045, allocations: 29.7 kB / 378.1 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.796e-05/0.1046, allocations: 128.4 kB / 378.2 MB, free: 412 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.472e-05/0.1046, allocations: 19.97 kB / 378.2 MB, free: 392 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.588e-05/0.1047, allocations: 33.7 kB / 378.3 MB, free: 352 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.1048, allocations: 339.1 kB / 378.6 MB, free: 4 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.796e-05/0.1049, allocations: 27.98 kB / 378.6 MB, free: 15.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001568/0.1051, allocations: 147.1 kB / 378.8 MB, free: 15.79 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001807/0.1053, allocations: 101.9 kB / 378.9 MB, free: 15.67 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1053, allocations: 0 / 378.9 MB, free: 15.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002645/0.1055, allocations: 153.4 kB / 379 MB, free: 15.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.1055, allocations: 8 kB / 379 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.1055, allocations: 0 / 379 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.1056, allocations: 7.938 kB / 379 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.1057, allocations: 23.92 kB / 379.1 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.894e-06/0.1057, allocations: 4 kB / 379.1 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.207e-05/0.1058, allocations: 7.953 kB / 379.1 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.1058, allocations: 4 kB / 379.1 MB, free: 15.46 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.0001555/0.1059, allocations: 171 kB / 379.3 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.106, allocations: 81.48 kB / 379.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002985/0.1063, allocations: 123.4 kB / 379.5 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.1064, allocations: 8 kB / 379.5 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.696e-06/0.1064, allocations: 0 / 379.5 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.1064, allocations: 0 / 379.5 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001925/0.1066, allocations: 173.2 kB / 379.6 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.1066, allocations: 4 kB / 379.6 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.65e-05/0.1066, allocations: 24.02 kB / 379.7 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1066, allocations: 0 / 379.7 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.1067, allocations: 4 kB / 379.7 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.1067, allocations: 3.984 kB / 379.7 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.1067, allocations: 4 kB / 379.7 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003185/0.107, allocations: 203.3 kB / 379.9 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.837e-05/0.1071, allocations: 39.83 kB / 379.9 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.588e-05/0.1071, allocations: 7.984 kB / 379.9 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.443e-05/0.1072, allocations: 4 kB / 379.9 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.28e-05/0.1072, allocations: 11.98 kB / 379.9 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.1073, allocations: 8 kB / 379.9 MB, free: 14.53 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002556/0.1075, allocations: 249.2 kB / 380.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1075, allocations: 0 / 380.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002858/0.1078, allocations: 35.94 kB / 380.2 MB, free: 14.25 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 (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.001648/0.1094, allocations: 450.3 kB / 380.7 MB, free: 13.99 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000251/0.1097, allocations: 92.02 kB / 380.7 MB, free: 13.9 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1097, allocations: 4.062 kB / 380.7 MB, free: 13.89 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.977e-05/0.1098, allocations: 31.98 kB / 380.8 MB, free: 13.86 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004498/0.1102, allocations: 76.42 kB / 380.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006547/0.1109, allocations: 394.6 kB / 381.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001445/0.111, allocations: 140.5 kB / 381.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.172e-05/0.1111, allocations: 33.77 kB / 381.4 MB, free: 13.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.446e-05/0.1112, allocations: 24.44 kB / 381.4 MB, free: 13.15 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1112, allocations: 0 / 381.4 MB, free: 13.15 MB / 350.1 MB Notification: Performance of Templates: time 0.007572/0.1187, allocations: 3.252 MB / 384.7 MB, free: 9.953 MB / 350.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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/BackSample/BackSample.csv","/var/lib/jenkins1/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: 4.2292054779827595]