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.001878/0.001878, allocations: 92.69 kB / 20.95 MB, free: 484 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.002161/0.002161, allocations: 146.3 kB / 24.24 MB, free: 3.527 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.467/1.467, allocations: 173.3 MB / 200.8 MB, free: 12.74 MB / 190.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 8.91e-07/8.91e-07, allocations: 0 / 267.3 MB, free: 10.21 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.958e-05/2.047e-05, allocations: 2.312 kB / 267.3 MB, free: 10.2 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.003149/0.00317, allocations: 1.886 MB / 269.2 MB, free: 8.301 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001968/0.005138, allocations: 1.098 MB / 270.3 MB, free: 7.195 MB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.745e-05/0.005236, allocations: 7.938 kB / 270.3 MB, free: 7.188 MB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002549/0.005491, allocations: 63.61 kB / 270.4 MB, free: 7.125 MB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000263/0.005754, allocations: 107.5 kB / 270.5 MB, free: 7.02 MB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007035/0.006457, allocations: 262.9 kB / 270.7 MB, free: 6.762 MB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002496/0.006707, allocations: 187.4 kB / 270.9 MB, free: 6.578 MB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.547e-05/0.006802, allocations: 29.78 kB / 270.9 MB, free: 6.547 MB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001543/0.006957, allocations: 99.72 kB / 271 MB, free: 6.449 MB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001225/0.007079, allocations: 71.8 kB / 271.1 MB, free: 6.379 MB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 2.876e-05/0.007108, allocations: 12 kB / 271.1 MB, free: 6.367 MB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001656/0.007274, allocations: 75.81 kB / 271.2 MB, free: 6.293 MB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 8.134e-05/0.007355, allocations: 51.83 kB / 271.2 MB, free: 6.242 MB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 7.338e-05/0.007428, allocations: 43.8 kB / 271.3 MB, free: 6.199 MB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003656/0.007794, allocations: 251.1 kB / 271.5 MB, free: 5.953 MB / 254.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.007796, allocations: 0 / 271.5 MB, free: 5.953 MB / 254.1 MB Notification: Performance of FrontEnd: time 7.31e-07/0.007797, allocations: 0 / 271.5 MB, free: 5.953 MB / 254.1 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.007801, allocations: 0 / 271.5 MB, free: 5.953 MB / 254.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.0006884/0.00849, allocations: 486.5 kB / 272 MB, free: 5.441 MB / 254.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.875e-05/0.008518, allocations: 8.031 kB / 272 MB, free: 5.434 MB / 254.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.953e-05/0.008588, allocations: 32.8 kB / 272 MB, free: 5.402 MB / 254.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003799/0.008968, allocations: 236.7 kB / 272.3 MB, free: 5.145 MB / 254.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.008984, allocations: 4.375 kB / 272.3 MB, free: 5.141 MB / 254.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.779e-05/0.009002, allocations: 8.375 kB / 272.3 MB, free: 5.133 MB / 254.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000383/0.009385, allocations: 201.8 kB / 272.5 MB, free: 4.902 MB / 254.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.009397, allocations: 11.81 kB / 272.5 MB, free: 4.891 MB / 254.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.009412, allocations: 8 kB / 272.5 MB, free: 4.883 MB / 254.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.009418, allocations: 4 kB / 272.5 MB, free: 4.879 MB / 254.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001316/0.00955, allocations: 39.97 kB / 272.5 MB, free: 4.84 MB / 254.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005143/0.01006, allocations: 326.9 kB / 272.9 MB, free: 4.48 MB / 254.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003018/0.01037, allocations: 146.4 kB / 273 MB, free: 4.301 MB / 254.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.01048, allocations: 55.36 kB / 273.1 MB, free: 4.234 MB / 254.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.01051, allocations: 11.98 kB / 273.1 MB, free: 4.223 MB / 254.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001847/0.01069, allocations: 83.38 kB / 273.2 MB, free: 4.129 MB / 254.1 MB Notification: Performance of pre-optimization done (n=11): time 1.613e-06/0.01069, allocations: 0 / 273.2 MB, free: 4.129 MB / 254.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004435/0.01114, allocations: 177.4 kB / 273.3 MB, free: 3.949 MB / 254.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/0.01125, allocations: 166.2 kB / 273.5 MB, free: 3.75 MB / 254.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003831/0.01163, allocations: 337.8 kB / 273.8 MB, free: 3.41 MB / 254.1 MB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.01165, allocations: 30.08 kB / 273.9 MB, free: 3.375 MB / 254.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.01176, allocations: 128.4 kB / 274 MB, free: 3.242 MB / 254.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.424e-05/0.01178, allocations: 15.91 kB / 274 MB, free: 3.227 MB / 254.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.961e-05/0.01184, allocations: 29.7 kB / 274 MB, free: 3.191 MB / 254.1 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.01201, allocations: 334.8 kB / 274.3 MB, free: 2.855 MB / 254.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.194e-05/0.01208, allocations: 15.98 kB / 274.4 MB, free: 2.84 MB / 254.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001306/0.01221, allocations: 110.9 kB / 274.5 MB, free: 2.707 MB / 254.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001482/0.01236, allocations: 69.58 kB / 274.5 MB, free: 2.633 MB / 254.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.01236, allocations: 0 / 274.5 MB, free: 2.633 MB / 254.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002293/0.01259, allocations: 109.5 kB / 274.6 MB, free: 2.52 MB / 254.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.0126, allocations: 12.05 kB / 274.7 MB, free: 2.508 MB / 254.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.01261, allocations: 0 / 274.7 MB, free: 2.508 MB / 254.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.01262, allocations: 0 / 274.7 MB, free: 2.508 MB / 254.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.697e-05/0.01272, allocations: 15.94 kB / 274.7 MB, free: 2.492 MB / 254.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.01272, allocations: 0 / 274.7 MB, free: 2.492 MB / 254.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.496e-05/0.01279, allocations: 12.23 kB / 274.7 MB, free: 2.48 MB / 254.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.617e-06/0.0128, allocations: 4 kB / 274.7 MB, free: 2.477 MB / 254.1 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 0.0001382/0.01294, allocations: 157.7 kB / 274.8 MB, free: 2.312 MB / 254.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/0.01307, allocations: 89.5 kB / 274.9 MB, free: 2.219 MB / 254.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00029/0.01336, allocations: 135.4 kB / 275.1 MB, free: 2.078 MB / 254.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.01336, allocations: 0 / 275.1 MB, free: 2.078 MB / 254.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.01337, allocations: 4 kB / 275.1 MB, free: 2.074 MB / 254.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.01338, allocations: 0 / 275.1 MB, free: 2.074 MB / 254.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001998/0.01358, allocations: 177.2 kB / 275.2 MB, free: 1.871 MB / 254.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.01358, allocations: 0 / 275.2 MB, free: 1.871 MB / 254.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.512e-05/0.01367, allocations: 19.98 kB / 275.3 MB, free: 1.852 MB / 254.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.01367, allocations: 0 / 275.3 MB, free: 1.852 MB / 254.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.01369, allocations: 4 kB / 275.3 MB, free: 1.848 MB / 254.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.01369, allocations: 0 / 275.3 MB, free: 1.848 MB / 254.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.01369, allocations: 8 kB / 275.3 MB, free: 1.84 MB / 254.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003261/0.01402, allocations: 191.4 kB / 275.5 MB, free: 1.625 MB / 254.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.74e-05/0.01411, allocations: 43.77 kB / 275.5 MB, free: 1.582 MB / 254.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.984e-05/0.01414, allocations: 7.938 kB / 275.5 MB, free: 1.574 MB / 254.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.273e-05/0.01421, allocations: 4 kB / 275.5 MB, free: 1.57 MB / 254.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.921e-05/0.01427, allocations: 11.98 kB / 275.5 MB, free: 1.559 MB / 254.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.621e-05/0.01429, allocations: 7.984 kB / 275.5 MB, free: 1.551 MB / 254.1 MB Notification: Performance of sorting global known variables: time 0.0002763/0.01457, allocations: 245.2 kB / 275.8 MB, free: 1.312 MB / 254.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01457, allocations: 0 / 275.8 MB, free: 1.312 MB / 254.1 MB Notification: Performance of remove unused functions: time 0.0002669/0.01484, allocations: 35.94 kB / 275.8 MB, free: 1.277 MB / 254.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.001664/0.0165, allocations: 458.5 kB / 276.3 MB, free: 1.008 MB / 254.1 MB Notification: Performance of simCode: created initialization part: time 0.000239/0.01674, allocations: 75.83 kB / 276.3 MB, free: 0.9336 MB / 254.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.01674, allocations: 0 / 276.3 MB, free: 0.9336 MB / 254.1 MB Notification: Performance of simCode: created simulation system equations: time 8.988e-05/0.01683, allocations: 27.98 kB / 276.4 MB, free: 0.9062 MB / 254.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004575/0.01729, allocations: 81.19 kB / 276.4 MB, free: 0.8281 MB / 254.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007266/0.01802, allocations: 414.8 kB / 276.8 MB, free: 396 kB / 254.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001429/0.01816, allocations: 136.1 kB / 277 MB, free: 236 kB / 254.1 MB Notification: Performance of simCode: alias equations: time 7.775e-05/0.01824, allocations: 25.47 kB / 277 MB, free: 212 kB / 254.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.147e-05/0.01829, allocations: 24.5 kB / 277 MB, free: 188 kB / 254.1 MB Notification: Performance of SimCode: time 3.91e-07/0.01829, allocations: 0 / 277 MB, free: 188 kB / 254.1 MB Notification: Performance of Templates: time 0.007973/0.02626, allocations: 3.221 MB / 280.2 MB, free: 13.03 MB / 270.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: 4.254587005823851]