Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001265/0.001265, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001843/0.003108, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001124/0.001124, allocations: 161.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001457/0.002581, allocations: 467.5 kB / 11.72 MB, free: 2.449 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9751/0.9751, allocations: 177.4 MB / 189.9 MB, free: 4.816 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1323/1.107, allocations: 53.86 MB / 243.8 MB, free: 14.89 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.143e-06/1.143e-06, allocations: 0 / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.407e-05/1.521e-05, allocations: 2.312 kB / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.002203/0.002218, allocations: 2.007 MB / 247 MB, free: 11.62 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001508/0.003726, allocations: 1.292 MB / 248.3 MB, free: 10.32 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.862e-05/0.003825, allocations: 7.938 kB / 248.3 MB, free: 10.32 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001883/0.004013, allocations: 63.61 kB / 248.4 MB, free: 10.25 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002271/0.00424, allocations: 143.3 kB / 248.5 MB, free: 10.11 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004689/0.004709, allocations: 234.3 kB / 248.7 MB, free: 9.887 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002094/0.004919, allocations: 191.5 kB / 248.9 MB, free: 9.699 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.603e-05/0.005005, allocations: 18.45 kB / 249 MB, free: 9.684 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001558/0.00516, allocations: 140.4 kB / 249.1 MB, free: 9.547 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.005268, allocations: 71.78 kB / 249.2 MB, free: 9.477 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.005289, allocations: 12 kB / 249.2 MB, free: 9.465 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001585/0.005447, allocations: 79.81 kB / 249.2 MB, free: 9.387 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.386e-05/0.005511, allocations: 43.86 kB / 249.3 MB, free: 9.344 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.397e-05/0.005555, allocations: 31.88 kB / 249.3 MB, free: 9.312 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002347/0.00579, allocations: 175.3 kB / 249.5 MB, free: 9.141 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.365e-05/0.005804, allocations: 0 / 249.5 MB, free: 9.141 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.005805, allocations: 3.938 kB / 249.5 MB, free: 9.137 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.359e-05/0.005818, allocations: 0 / 249.5 MB, free: 9.137 MB / 250.7 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.0005374/0.006356, allocations: 492.7 kB / 250 MB, free: 8.625 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.684e-05/0.006382, allocations: 8.031 kB / 250 MB, free: 8.617 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.816e-05/0.006421, allocations: 24.92 kB / 250 MB, free: 8.594 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002044/0.006625, allocations: 216.7 kB / 250.2 MB, free: 8.359 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.00664, allocations: 4.375 kB / 250.2 MB, free: 8.355 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.139e-05/0.006652, allocations: 8.375 kB / 250.2 MB, free: 8.348 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002021/0.006854, allocations: 162 kB / 250.4 MB, free: 8.164 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.006864, allocations: 0 / 250.4 MB, free: 8.164 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.006874, allocations: 4 kB / 250.4 MB, free: 8.16 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.00688, allocations: 0 / 250.4 MB, free: 8.16 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.301e-05/0.006923, allocations: 26.75 kB / 250.4 MB, free: 8.133 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002756/0.007199, allocations: 299.6 kB / 250.7 MB, free: 7.812 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001289/0.007328, allocations: 156 kB / 250.9 MB, free: 7.621 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.553e-05/0.007363, allocations: 43.36 kB / 250.9 MB, free: 7.566 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.007381, allocations: 4 kB / 250.9 MB, free: 7.562 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000107/0.007488, allocations: 91.84 kB / 251 MB, free: 7.453 MB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 1.011e-06/0.007489, allocations: 0 / 251 MB, free: 7.453 MB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001474/0.007637, allocations: 100.3 kB / 251.1 MB, free: 7.348 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.097e-05/0.007688, allocations: 136.5 kB / 251.2 MB, free: 7.184 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001699/0.007858, allocations: 268.6 kB / 251.5 MB, free: 6.902 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.007877, allocations: 30.08 kB / 251.5 MB, free: 6.867 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.542e-05/0.007923, allocations: 108.9 kB / 251.6 MB, free: 6.75 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.222e-05/0.007945, allocations: 19.88 kB / 251.7 MB, free: 6.73 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.542e-05/0.007981, allocations: 33.66 kB / 251.7 MB, free: 6.691 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.343e-05/0.008064, allocations: 334.7 kB / 252 MB, free: 6.355 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.761e-05/0.008082, allocations: 14.75 kB / 252 MB, free: 6.34 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.636e-05/0.008118, allocations: 57.14 kB / 252.1 MB, free: 6.266 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.232e-05/0.00817, allocations: 48.19 kB / 252.1 MB, free: 6.207 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.008172, allocations: 3.938 kB / 252.1 MB, free: 6.203 MB / 250.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 7.649e-05/0.008249, allocations: 84.41 kB / 252.2 MB, free: 6.113 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.00826, allocations: 4 kB / 252.2 MB, free: 6.109 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.008263, allocations: 0 / 252.2 MB, free: 6.109 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.704e-06/0.008271, allocations: 4 kB / 252.2 MB, free: 6.105 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.471e-05/0.008346, allocations: 15.98 kB / 252.2 MB, free: 6.09 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-06/0.008348, allocations: 0 / 252.2 MB, free: 6.09 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.561e-05/0.008384, allocations: 7.938 kB / 252.2 MB, free: 6.082 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-06/0.008388, allocations: 0 / 252.2 MB, free: 6.082 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,hold1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 6.868e-05/0.008457, allocations: 125.3 kB / 252.4 MB, free: 5.949 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.439e-05/0.008502, allocations: 65.61 kB / 252.4 MB, free: 5.879 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.299e-05/0.008595, allocations: 79.42 kB / 252.5 MB, free: 5.793 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.008597, allocations: 3.984 kB / 252.5 MB, free: 5.789 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-06/0.008599, allocations: 320 / 252.5 MB, free: 5.789 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.008604, allocations: 7.984 kB / 252.5 MB, free: 5.781 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.609e-05/0.0087, allocations: 109.8 kB / 252.6 MB, free: 5.656 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.008704, allocations: 7.984 kB / 252.6 MB, free: 5.648 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.366e-05/0.008747, allocations: 16 kB / 252.7 MB, free: 5.633 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.77e-05/0.008795, allocations: 47.66 kB / 252.7 MB, free: 5.586 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.008797, allocations: 4.062 kB / 252.7 MB, free: 5.582 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.008804, allocations: 7.984 kB / 252.7 MB, free: 5.574 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.008806, allocations: 0 / 252.7 MB, free: 5.574 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.008806, allocations: 0 / 252.7 MB, free: 5.574 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.113e-05/0.008897, allocations: 121.3 kB / 252.8 MB, free: 5.426 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.904e-05/0.008916, allocations: 3.938 kB / 252.8 MB, free: 5.422 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.227e-05/0.008949, allocations: 8 kB / 252.8 MB, free: 5.414 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.274e-05/0.008981, allocations: 7.984 kB / 252.8 MB, free: 5.406 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.008994, allocations: 8 kB / 252.9 MB, free: 5.398 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.8e-05/0.009072, allocations: 103.5 kB / 253 MB, free: 5.297 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009073, allocations: 4 kB / 253 MB, free: 5.293 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000143/0.009216, allocations: 35.92 kB / 253 MB, free: 5.258 MB / 250.7 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,hold1.y,hold1.u,shiftSample1.y,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.001154/0.01037, allocations: 0.5588 MB / 253.6 MB, free: 4.922 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.449e-05/0.01046, allocations: 44.78 kB / 253.6 MB, free: 4.875 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.726e-06/0.01047, allocations: 4 kB / 253.6 MB, free: 4.871 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.498e-05/0.01051, allocations: 32.95 kB / 253.6 MB, free: 4.836 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001957/0.0107, allocations: 77.91 kB / 253.7 MB, free: 4.762 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004831/0.01119, allocations: 348.8 kB / 254.1 MB, free: 4.383 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.816e-05/0.01123, allocations: 87.97 kB / 254.1 MB, free: 4.277 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.671e-05/0.01128, allocations: 17.48 kB / 254.2 MB, free: 4.258 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.398e-05/0.01137, allocations: 87.55 kB / 254.2 MB, free: 4.172 MB / 250.7 MB Notification: Performance of SimCode: time 6.52e-07/0.01137, allocations: 4 kB / 254.2 MB, free: 4.168 MB / 250.7 MB Notification: Performance of Templates: time 0.004823/0.01619, allocations: 3.336 MB / 257.6 MB, free: 0.8828 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Hold/Hold.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7674963995814323]