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.001643/0.001643, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.00198/0.00198, allocations: 213.7 kB / 24.5 MB, free: 4.148 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.56/1.56, allocations: 230.5 MB / 258.1 MB, free: 8.004 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.001895/0.001895, allocations: 60.08 kB / 379 MB, free: 2.535 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2435/0.2454, allocations: 53.4 MB / 432.4 MB, free: 6.781 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.003742/0.2491, allocations: 1.957 MB / 434.4 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002397/0.2515, allocations: 1.328 MB / 435.7 MB, free: 3.48 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001316/0.2517, allocations: 7.938 kB / 435.7 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000299/0.252, allocations: 71.59 kB / 435.8 MB, free: 3.402 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003626/0.2523, allocations: 131.4 kB / 435.9 MB, free: 3.273 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000653/0.253, allocations: 238.9 kB / 436.2 MB, free: 3.043 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002921/0.2533, allocations: 191.4 kB / 436.3 MB, free: 2.855 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.2534, allocations: 21.75 kB / 436.4 MB, free: 2.832 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/0.2535, allocations: 83.62 kB / 436.4 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001485/0.2537, allocations: 91.59 kB / 436.5 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.311e-05/0.2537, allocations: 8 kB / 436.5 MB, free: 2.652 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001617/0.2539, allocations: 71.95 kB / 436.6 MB, free: 2.582 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.269e-05/0.2539, allocations: 55.77 kB / 436.7 MB, free: 2.527 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.804e-05/0.254, allocations: 79.42 kB / 436.7 MB, free: 2.449 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003829/0.2544, allocations: 260.1 kB / 437 MB, free: 2.199 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2544, allocations: 0 / 437 MB, free: 2.199 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2544, allocations: 4 kB / 437 MB, free: 2.195 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.2544, allocations: 0 / 437 MB, free: 2.195 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.0007919/0.2552, allocations: 486.4 kB / 437.5 MB, free: 1.684 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.2553, allocations: 8.031 kB / 437.5 MB, free: 1.676 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.201e-05/0.2553, allocations: 28.75 kB / 437.5 MB, free: 1.648 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000423/0.2557, allocations: 229.5 kB / 437.7 MB, free: 1.398 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.2558, allocations: 8.375 kB / 437.7 MB, free: 1.391 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.421e-05/0.2558, allocations: 16.31 kB / 437.8 MB, free: 1.375 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003754/0.2562, allocations: 183.5 kB / 437.9 MB, free: 1.168 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.2562, allocations: 4 kB / 437.9 MB, free: 1.164 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.2562, allocations: 3.984 kB / 437.9 MB, free: 1.16 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.2562, allocations: 4 kB / 437.9 MB, free: 1.156 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001253/0.2563, allocations: 39.92 kB / 438 MB, free: 1.117 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006222/0.2569, allocations: 441.6 kB / 438.4 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003111/0.2572, allocations: 142.5 kB / 438.6 MB, free: 468 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.2574, allocations: 59.41 kB / 438.6 MB, free: 396 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.367e-05/0.2574, allocations: 4 kB / 438.6 MB, free: 392 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001989/0.2576, allocations: 96.98 kB / 438.7 MB, free: 276 kB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.423e-06/0.2576, allocations: 0 / 438.7 MB, free: 276 kB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004432/0.258, allocations: 173.4 kB / 438.9 MB, free: 96 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001484/0.2582, allocations: 187.9 kB / 439.1 MB, free: 15.87 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003951/0.2586, allocations: 340.2 kB / 439.4 MB, free: 15.53 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.2586, allocations: 25.7 kB / 439.4 MB, free: 15.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.2587, allocations: 136.3 kB / 439.6 MB, free: 15.36 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.387e-05/0.2587, allocations: 24.33 kB / 439.6 MB, free: 15.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.284e-05/0.2588, allocations: 37.7 kB / 439.6 MB, free: 15.29 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001819/0.259, allocations: 334.8 kB / 439.9 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.991e-05/0.2591, allocations: 23.98 kB / 440 MB, free: 14.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001408/0.2592, allocations: 103.6 kB / 440.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001906/0.2594, allocations: 97.06 kB / 440.2 MB, free: 14.69 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.2594, allocations: 0 / 440.2 MB, free: 14.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002774/0.2597, allocations: 141.7 kB / 440.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.2597, allocations: 4 kB / 440.3 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.2597, allocations: 64 / 440.3 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.2597, allocations: 8 kB / 440.3 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.2599, allocations: 23.98 kB / 440.3 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.2599, allocations: 7.938 kB / 440.3 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.018e-05/0.26, allocations: 15.88 kB / 440.4 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.26, allocations: 4 kB / 440.4 MB, free: 14.48 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.0001546/0.2601, allocations: 157.9 kB / 440.5 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.2602, allocations: 77.48 kB / 440.6 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002899/0.2605, allocations: 111.4 kB / 440.7 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.2605, allocations: 4 kB / 440.7 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2605, allocations: 0 / 440.7 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.2605, allocations: 7.984 kB / 440.7 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002724/0.2608, allocations: 216.6 kB / 440.9 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.2608, allocations: 4.062 kB / 440.9 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.635e-05/0.2609, allocations: 19.94 kB / 441 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.2609, allocations: 3.938 kB / 441 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/0.2609, allocations: 7.984 kB / 441 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.2609, allocations: 0 / 441 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2609, allocations: 0 / 441 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00032/0.2612, allocations: 195.3 kB / 441.2 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/0.2613, allocations: 39.78 kB / 441.2 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.834e-05/0.2614, allocations: 11.98 kB / 441.2 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.143e-05/0.2615, allocations: 4 kB / 441.2 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.616e-05/0.2615, allocations: 11.98 kB / 441.2 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.2615, allocations: 4 kB / 441.2 MB, free: 13.53 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002699/0.2618, allocations: 251 kB / 441.5 MB, free: 13.29 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2618, allocations: 0 / 441.5 MB, free: 13.29 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002845/0.2621, allocations: 39.94 kB / 441.5 MB, free: 13.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,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 (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.001551/0.2636, allocations: 422.8 kB / 441.9 MB, free: 12.97 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002659/0.2639, allocations: 83.84 kB / 442 MB, free: 12.89 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2639, allocations: 0 / 442 MB, free: 12.89 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.776e-05/0.264, allocations: 28.36 kB / 442 MB, free: 12.86 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004492/0.2644, allocations: 91.67 kB / 442.1 MB, free: 12.77 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007724/0.2652, allocations: 423.4 kB / 442.5 MB, free: 12.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004221/0.2656, allocations: 0.7439 MB / 443.3 MB, free: 11.55 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.837e-05/0.2657, allocations: 27.36 kB / 443.3 MB, free: 11.52 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2657, allocations: 3.938 kB / 443.3 MB, free: 11.52 MB / 350.1 MB Notification: Performance of Templates: time 0.005691/0.2714, allocations: 3.054 MB / 446.4 MB, free: 8.469 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.581131729995832]