Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.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.001394/0.001394, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 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.00142/0.00142, allocations: 194.6 kB / 23.71 MB, free: 4.406 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.439/1.439, allocations: 225.7 MB / 252.5 MB, free: 12.81 MB / 206.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.BooleanSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001567, allocations: 51.92 kB / 370.9 MB, free: 9.207 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.2536, allocations: 52.18 MB / 423.1 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.003626/0.2572, allocations: 1.89 MB / 425 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001889/0.2591, allocations: 1.013 MB / 426 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001194/0.2593, allocations: 3.938 kB / 426 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000671/0.2599, allocations: 163.5 kB / 426.1 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003238/0.2602, allocations: 119.5 kB / 426.2 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00058/0.2608, allocations: 205.3 kB / 426.4 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002749/0.2611, allocations: 191.4 kB / 426.6 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.2612, allocations: 25.53 kB / 426.7 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000122/0.2613, allocations: 79.69 kB / 426.7 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001235/0.2615, allocations: 79.55 kB / 426.8 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.969e-05/0.2615, allocations: 16 kB / 426.8 MB, free: 10.71 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001449/0.2616, allocations: 55.95 kB / 426.9 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.273e-05/0.2617, allocations: 47.84 kB / 426.9 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.865e-05/0.2618, allocations: 55.61 kB / 427 MB, free: 10.55 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003197/0.2621, allocations: 209.5 kB / 427.2 MB, free: 10.36 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2621, allocations: 0 / 427.2 MB, free: 10.36 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2621, allocations: 0 / 427.2 MB, free: 10.36 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.2621, allocations: 4 kB / 427.2 MB, free: 10.35 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.0007461/0.2629, allocations: 450.7 kB / 427.6 MB, free: 9.875 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.2629, allocations: 12.03 kB / 427.6 MB, free: 9.863 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.76e-05/0.263, allocations: 24.8 kB / 427.7 MB, free: 9.84 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003544/0.2633, allocations: 209.1 kB / 427.9 MB, free: 9.609 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.608e-05/0.2634, allocations: 8.375 kB / 427.9 MB, free: 9.602 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.505e-05/0.2634, allocations: 8.125 kB / 427.9 MB, free: 9.594 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003454/0.2637, allocations: 162.7 kB / 428 MB, free: 9.41 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.2637, allocations: 0 / 428 MB, free: 9.41 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.2638, allocations: 7.938 kB / 428.1 MB, free: 9.402 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.2638, allocations: 0 / 428.1 MB, free: 9.402 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001065/0.2639, allocations: 35.98 kB / 428.1 MB, free: 9.367 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005197/0.2644, allocations: 390.2 kB / 428.5 MB, free: 8.945 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002488/0.2646, allocations: 130.5 kB / 428.6 MB, free: 8.781 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.905e-05/0.2647, allocations: 55.36 kB / 428.7 MB, free: 8.715 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.2648, allocations: 8 kB / 428.7 MB, free: 8.707 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001707/0.2649, allocations: 97.03 kB / 428.8 MB, free: 8.594 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.303e-06/0.2649, allocations: 7.875 kB / 428.8 MB, free: 8.586 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003819/0.2653, allocations: 157.5 kB / 428.9 MB, free: 8.426 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.009e-05/0.2654, allocations: 140.4 kB / 429.1 MB, free: 8.258 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002833/0.2657, allocations: 268.9 kB / 429.3 MB, free: 7.988 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.2657, allocations: 25.7 kB / 429.3 MB, free: 7.957 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.861e-05/0.2658, allocations: 120.7 kB / 429.5 MB, free: 7.832 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.145e-05/0.2658, allocations: 23.97 kB / 429.5 MB, free: 7.809 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.454e-05/0.2659, allocations: 37.7 kB / 429.5 MB, free: 7.766 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.266, allocations: 330.8 kB / 429.8 MB, free: 7.434 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.734e-05/0.2661, allocations: 23.98 kB / 429.9 MB, free: 7.41 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/0.2662, allocations: 95.7 kB / 430 MB, free: 7.289 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001523/0.2664, allocations: 93.08 kB / 430.1 MB, free: 7.18 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2664, allocations: 7.969 kB / 430.1 MB, free: 7.172 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002323/0.2666, allocations: 129.4 kB / 430.2 MB, free: 7.039 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.2666, allocations: 4 kB / 430.2 MB, free: 7.035 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.2666, allocations: 0 / 430.2 MB, free: 7.035 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.2666, allocations: 4 kB / 430.2 MB, free: 7.031 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.255e-05/0.2667, allocations: 19.98 kB / 430.2 MB, free: 7.012 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.2667, allocations: 0 / 430.2 MB, free: 7.012 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.156e-05/0.2668, allocations: 8.094 kB / 430.2 MB, free: 7.004 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.2668, allocations: 11.98 kB / 430.2 MB, free: 6.992 MB / 334.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.0001355/0.2669, allocations: 149.7 kB / 430.4 MB, free: 6.836 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.852e-05/0.267, allocations: 65.56 kB / 430.4 MB, free: 6.766 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002537/0.2673, allocations: 123.3 kB / 430.6 MB, free: 6.637 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.2673, allocations: 0 / 430.6 MB, free: 6.637 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.2673, allocations: 4 kB / 430.6 MB, free: 6.633 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.2673, allocations: 3.984 kB / 430.6 MB, free: 6.629 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001829/0.2675, allocations: 165.2 kB / 430.7 MB, free: 6.438 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.2675, allocations: 8.375 kB / 430.7 MB, free: 6.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.101e-05/0.2675, allocations: 4 kB / 430.7 MB, free: 6.426 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.2675, allocations: 8 kB / 430.8 MB, free: 6.418 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.2675, allocations: 4 kB / 430.8 MB, free: 6.414 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.2675, allocations: 7.938 kB / 430.8 MB, free: 6.406 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2675, allocations: 0 / 430.8 MB, free: 6.406 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002744/0.2678, allocations: 183.4 kB / 430.9 MB, free: 6.199 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.601e-05/0.2679, allocations: 39.77 kB / 431 MB, free: 6.16 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.934e-05/0.2679, allocations: 4 kB / 431 MB, free: 6.156 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.562e-05/0.268, allocations: 12 kB / 431 MB, free: 6.145 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.354e-05/0.268, allocations: 7.984 kB / 431 MB, free: 6.137 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.268, allocations: 7.938 kB / 431 MB, free: 6.129 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002028/0.2682, allocations: 196.5 kB / 431.2 MB, free: 5.938 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2682, allocations: 0 / 431.2 MB, free: 5.938 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002671/0.2685, allocations: 31.94 kB / 431.2 MB, free: 5.906 MB / 334.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.001771/0.2703, allocations: 447.5 kB / 431.7 MB, free: 5.645 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003042/0.2706, allocations: 79.91 kB / 431.8 MB, free: 5.566 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.2706, allocations: 3.938 kB / 431.8 MB, free: 5.562 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.801e-05/0.2707, allocations: 31.98 kB / 431.8 MB, free: 5.531 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005142/0.2712, allocations: 67.73 kB / 431.9 MB, free: 5.469 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007148/0.2719, allocations: 329.5 kB / 432.2 MB, free: 5.113 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001552/0.2721, allocations: 131.9 kB / 432.3 MB, free: 4.961 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.441e-05/0.2722, allocations: 21.62 kB / 432.3 MB, free: 4.941 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.581e-05/0.2722, allocations: 19.44 kB / 432.3 MB, free: 4.922 MB / 334.1 MB Notification: Performance of SimCode: time 7.21e-07/0.2722, allocations: 0 / 432.3 MB, free: 4.922 MB / 334.1 MB Notification: Performance of Templates: time 0.007238/0.2795, allocations: 2.784 MB / 435.1 MB, free: 2.188 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Hold/Hold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 4.6124874502420425]