Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.001335/0.001335, 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.001433/0.001433, allocations: 213.5 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.451/1.451, allocations: 230.5 MB / 258.1 MB, free: 7.996 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.BooleanSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002049/0.002049, allocations: 55.91 kB / 379 MB, free: 2.504 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2598/0.2618, allocations: 53.41 MB / 432.4 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.003575/0.2654, allocations: 1.954 MB / 434.4 MB, free: 4.785 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002211/0.2676, allocations: 1.253 MB / 435.6 MB, free: 3.527 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001338/0.2677, allocations: 7.938 kB / 435.6 MB, free: 3.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000659/0.2684, allocations: 151.5 kB / 435.8 MB, free: 3.371 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004055/0.2688, allocations: 163.4 kB / 436 MB, free: 3.211 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004932/0.2693, allocations: 179.1 kB / 436.1 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002758/0.2696, allocations: 195.4 kB / 436.3 MB, free: 2.848 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.2697, allocations: 29.78 kB / 436.3 MB, free: 2.816 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001338/0.2698, allocations: 83.64 kB / 436.4 MB, free: 2.734 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001348/0.27, allocations: 79.61 kB / 436.5 MB, free: 2.656 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.512e-05/0.27, allocations: 12 kB / 436.5 MB, free: 2.645 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001465/0.2701, allocations: 67.89 kB / 436.6 MB, free: 2.578 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.996e-05/0.2702, allocations: 39.84 kB / 436.6 MB, free: 2.539 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.198e-05/0.2703, allocations: 79.47 kB / 436.7 MB, free: 2.461 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003568/0.2706, allocations: 220.4 kB / 436.9 MB, free: 2.254 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2706, allocations: 3.938 kB / 436.9 MB, free: 2.25 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.2707, allocations: 3.938 kB / 436.9 MB, free: 2.246 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.2707, allocations: 0 / 436.9 MB, free: 2.246 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.0007786/0.2714, allocations: 454.7 kB / 437.4 MB, free: 1.766 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.2715, allocations: 12.02 kB / 437.4 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.662e-05/0.2715, allocations: 24.8 kB / 437.4 MB, free: 1.73 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003383/0.2719, allocations: 217.1 kB / 437.6 MB, free: 1.496 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.2719, allocations: 8.312 kB / 437.6 MB, free: 1.488 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.8e-05/0.2719, allocations: 8.375 kB / 437.6 MB, free: 1.48 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003379/0.2722, allocations: 163.9 kB / 437.8 MB, free: 1.293 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.2723, allocations: 4 kB / 437.8 MB, free: 1.289 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.2723, allocations: 3.938 kB / 437.8 MB, free: 1.285 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.2723, allocations: 0 / 437.8 MB, free: 1.285 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.2724, allocations: 43.91 kB / 437.8 MB, free: 1.242 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005695/0.273, allocations: 429.6 kB / 438.3 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002429/0.2732, allocations: 122.5 kB / 438.4 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.2733, allocations: 55.42 kB / 438.4 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.675e-05/0.2733, allocations: 4 kB / 438.4 MB, free: 0.543 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001804/0.2735, allocations: 97.03 kB / 438.5 MB, free: 440 kB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.433e-06/0.2735, allocations: 0 / 438.5 MB, free: 440 kB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003875/0.2739, allocations: 153.4 kB / 438.7 MB, free: 280 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/0.274, allocations: 162.2 kB / 438.8 MB, free: 80 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003252/0.2743, allocations: 277 kB / 439.1 MB, free: 15.8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.647e-05/0.2744, allocations: 33.7 kB / 439.1 MB, free: 15.76 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.2745, allocations: 120.8 kB / 439.3 MB, free: 15.63 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.817e-05/0.2745, allocations: 19.89 kB / 439.3 MB, free: 15.61 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.515e-05/0.2746, allocations: 29.67 kB / 439.3 MB, free: 15.58 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.2747, allocations: 338.8 kB / 439.6 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.324e-05/0.2748, allocations: 23.98 kB / 439.7 MB, free: 15.21 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/0.2749, allocations: 82.8 kB / 439.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001523/0.2751, allocations: 85.33 kB / 439.8 MB, free: 15.01 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.2751, allocations: 4 kB / 439.8 MB, free: 15 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002425/0.2753, allocations: 137.4 kB / 440 MB, free: 14.86 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.2753, allocations: 8 kB / 440 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.2753, allocations: 0 / 440 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.2753, allocations: 4 kB / 440 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.287e-05/0.2754, allocations: 15.92 kB / 440 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.2754, allocations: 4 kB / 440 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.584e-05/0.2755, allocations: 11.89 kB / 440 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.2755, allocations: 4.156 kB / 440 MB, free: 14.82 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.0001405/0.2757, allocations: 153.8 kB / 440.2 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.664e-05/0.2758, allocations: 69.48 kB / 440.2 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002386/0.276, allocations: 111.3 kB / 440.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.276, allocations: 4 kB / 440.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.276, allocations: 0 / 440.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.276, allocations: 0 / 440.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002255/0.2762, allocations: 208.7 kB / 440.6 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.2762, allocations: 4.062 kB / 440.6 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.708e-05/0.2763, allocations: 8 kB / 440.6 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.2763, allocations: 0 / 440.6 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.2763, allocations: 7.984 kB / 440.6 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.2763, allocations: 0 / 440.6 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2763, allocations: 0 / 440.6 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002773/0.2766, allocations: 187.3 kB / 440.8 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.593e-05/0.2766, allocations: 31.94 kB / 440.8 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.59e-05/0.2767, allocations: 12 kB / 440.8 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.863e-05/0.2767, allocations: 4 kB / 440.8 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.779e-05/0.2768, allocations: 11.98 kB / 440.8 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/0.2768, allocations: 4 kB / 440.8 MB, free: 13.92 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002096/0.277, allocations: 200.5 kB / 441 MB, free: 13.73 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.277, allocations: 0 / 441 MB, free: 13.73 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002717/0.2773, allocations: 43.88 kB / 441.1 MB, free: 13.68 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.001556/0.2788, allocations: 410.3 kB / 441.5 MB, free: 13.42 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002492/0.2791, allocations: 83.84 kB / 441.5 MB, free: 13.34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2791, allocations: 0 / 441.5 MB, free: 13.34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.384e-05/0.2792, allocations: 32.23 kB / 441.6 MB, free: 13.3 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000413/0.2796, allocations: 73.97 kB / 441.6 MB, free: 13.24 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006712/0.2803, allocations: 375.2 kB / 442 MB, free: 12.84 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003723/0.2806, allocations: 0.7322 MB / 442.7 MB, free: 12.08 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.495e-05/0.2807, allocations: 27.42 kB / 442.8 MB, free: 12.05 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2807, allocations: 0 / 442.8 MB, free: 12.05 MB / 350.1 MB Notification: Performance of Templates: time 0.00586/0.2865, allocations: 2.755 MB / 445.5 MB, free: 9.297 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.597924709087238]