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.001816/0.001816, allocations: 103.6 kB / 21.19 MB, free: 0.5234 MB / 14.72 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.002215/0.002215, allocations: 214.5 kB / 24.48 MB, free: 3.836 MB / 14.72 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 1.414/1.414, allocations: 230.5 MB / 258.1 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001946/0.001946, allocations: 55.91 kB / 379 MB, free: 2.352 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2601, allocations: 53.41 MB / 432.4 MB, free: 6.547 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.003737/0.2639, allocations: 1.902 MB / 434.3 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002365/0.2662, allocations: 1.235 MB / 435.5 MB, free: 3.398 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001225/0.2664, allocations: 3.938 kB / 435.5 MB, free: 3.395 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002987/0.2667, allocations: 67.66 kB / 435.6 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003713/0.267, allocations: 135.4 kB / 435.7 MB, free: 3.195 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006362/0.2677, allocations: 230.6 kB / 436 MB, free: 2.973 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002723/0.268, allocations: 191.4 kB / 436.1 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.2681, allocations: 29.33 kB / 436.2 MB, free: 2.758 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/0.2682, allocations: 75.7 kB / 436.2 MB, free: 2.684 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001377/0.2683, allocations: 91.59 kB / 436.3 MB, free: 2.594 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.055e-05/0.2683, allocations: 8 kB / 436.3 MB, free: 2.586 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001901/0.2685, allocations: 79.88 kB / 436.4 MB, free: 2.508 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.199e-05/0.2686, allocations: 43.84 kB / 436.5 MB, free: 2.465 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.334e-05/0.2687, allocations: 67.53 kB / 436.5 MB, free: 2.398 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003639/0.2691, allocations: 253.8 kB / 436.8 MB, free: 2.152 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2691, allocations: 0 / 436.8 MB, free: 2.152 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.2691, allocations: 8 kB / 436.8 MB, free: 2.145 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.262e-05/0.2691, allocations: 0 / 436.8 MB, free: 2.145 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.0007673/0.2699, allocations: 482.5 kB / 437.3 MB, free: 1.637 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.2699, allocations: 11.98 kB / 437.3 MB, free: 1.625 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.622e-05/0.27, allocations: 36.75 kB / 437.3 MB, free: 1.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004313/0.2704, allocations: 229.4 kB / 437.5 MB, free: 1.34 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.2704, allocations: 8.375 kB / 437.5 MB, free: 1.332 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.089e-05/0.2704, allocations: 4.375 kB / 437.5 MB, free: 1.328 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000396/0.2708, allocations: 201.6 kB / 437.7 MB, free: 1.098 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.2708, allocations: 0 / 437.7 MB, free: 1.098 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.2709, allocations: 0 / 437.7 MB, free: 1.098 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.2709, allocations: 4 kB / 437.7 MB, free: 1.094 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001322/0.271, allocations: 43.86 kB / 437.8 MB, free: 1.051 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006405/0.2716, allocations: 414.2 kB / 438.2 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002772/0.2719, allocations: 142.5 kB / 438.3 MB, free: 440 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.272, allocations: 59.36 kB / 438.4 MB, free: 368 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.272, allocations: 0 / 438.4 MB, free: 368 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002021/0.2722, allocations: 101 kB / 438.5 MB, free: 248 kB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.173e-06/0.2722, allocations: 0 / 438.5 MB, free: 248 kB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004321/0.2727, allocations: 173.7 kB / 438.6 MB, free: 68 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00012/0.2728, allocations: 170.2 kB / 438.8 MB, free: 15.86 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003774/0.2732, allocations: 344.2 kB / 439.2 MB, free: 15.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.2732, allocations: 25.7 kB / 439.2 MB, free: 15.49 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.2733, allocations: 136.4 kB / 439.3 MB, free: 15.35 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.546e-05/0.2733, allocations: 23.83 kB / 439.3 MB, free: 15.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.465e-05/0.2734, allocations: 29.72 kB / 439.4 MB, free: 15.29 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.2736, allocations: 334.8 kB / 439.7 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.464e-05/0.2736, allocations: 27.98 kB / 439.7 MB, free: 14.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001555/0.2738, allocations: 146.2 kB / 439.9 MB, free: 14.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001806/0.274, allocations: 101.1 kB / 440 MB, free: 14.63 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.274, allocations: 0 / 440 MB, free: 14.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002549/0.2742, allocations: 141.4 kB / 440.1 MB, free: 14.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.2742, allocations: 4 kB / 440.1 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.2742, allocations: 8.156 kB / 440.1 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.2743, allocations: 3.984 kB / 440.1 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.2744, allocations: 19.94 kB / 440.1 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.2744, allocations: 4.312 kB / 440.1 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.118e-05/0.2745, allocations: 11.94 kB / 440.1 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.579e-05/0.2745, allocations: 15.98 kB / 440.2 MB, free: 14.42 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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,shiftSample1.y,hold1.y,hold1.u,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.0001458/0.2746, allocations: 157.6 kB / 440.3 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/0.2747, allocations: 77.48 kB / 440.4 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000273/0.275, allocations: 143.4 kB / 440.5 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.275, allocations: 4 kB / 440.5 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.275, allocations: 0 / 440.5 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.275, allocations: 4 kB / 440.5 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001982/0.2752, allocations: 181.1 kB / 440.7 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.2752, allocations: 0 / 440.7 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.673e-05/0.2753, allocations: 19.98 kB / 440.7 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.2753, allocations: 0 / 440.7 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.2753, allocations: 8 kB / 440.7 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-06/0.2753, allocations: 0 / 440.7 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.2753, allocations: 3.938 kB / 440.7 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002974/0.2756, allocations: 187.5 kB / 440.9 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.917e-05/0.2757, allocations: 43.83 kB / 441 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.971e-05/0.2757, allocations: 0 / 441 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.083e-05/0.2758, allocations: 11.98 kB / 441 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.043e-05/0.2759, allocations: 11.92 kB / 441 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.157e-05/0.2759, allocations: 12 kB / 441 MB, free: 13.49 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002726/0.2762, allocations: 243.1 kB / 441.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2762, allocations: 0 / 441.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002671/0.2764, allocations: 39.92 kB / 441.3 MB, free: 13.21 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,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.001612/0.278, allocations: 453.2 kB / 441.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002549/0.2783, allocations: 75.91 kB / 441.8 MB, free: 12.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2783, allocations: 0 / 441.8 MB, free: 12.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.014e-05/0.2784, allocations: 39.91 kB / 441.8 MB, free: 12.8 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004185/0.2788, allocations: 82.2 kB / 441.9 MB, free: 12.73 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000729/0.2795, allocations: 431.4 kB / 442.3 MB, free: 12.26 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001394/0.2797, allocations: 136.2 kB / 442.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.712e-05/0.2797, allocations: 27.36 kB / 442.5 MB, free: 12.08 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2797, allocations: 0 / 442.5 MB, free: 12.08 MB / 350.1 MB Notification: Performance of Templates: time 0.005658/0.2854, allocations: 3.116 MB / 445.6 MB, free: 8.965 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.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: 7.541821247898042]