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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001279/0.001279, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.607/1.607, allocations: 226.7 MB / 245.5 MB, free: 6.992 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001008/0.001008, allocations: 97.86 kB / 296.7 MB, free: 6.484 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001722/0.001722, allocations: 55.91 kB / 356.6 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.2712, allocations: 50.45 MB / 407.1 MB, free: 27.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.003448/0.2747, allocations: 1.977 MB / 409 MB, free: 25.85 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001734/0.2764, allocations: 1.219 MB / 410.2 MB, free: 24.62 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001604/0.2767, allocations: 0 / 410.2 MB, free: 24.62 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005567/0.2772, allocations: 146.6 kB / 410.4 MB, free: 24.48 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003423/0.2776, allocations: 135.6 kB / 410.5 MB, free: 24.35 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005329/0.2781, allocations: 179.9 kB / 410.7 MB, free: 24.18 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000222/0.2784, allocations: 199.5 kB / 410.9 MB, free: 23.98 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.2785, allocations: 45.56 kB / 410.9 MB, free: 23.94 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.2786, allocations: 67.64 kB / 411 MB, free: 23.88 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001074/0.2787, allocations: 79.62 kB / 411.1 MB, free: 23.8 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.22e-05/0.2787, allocations: 4 kB / 411.1 MB, free: 23.79 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001301/0.2789, allocations: 51.91 kB / 411.1 MB, free: 23.74 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.998e-05/0.2789, allocations: 47.83 kB / 411.2 MB, free: 23.7 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.513e-05/0.279, allocations: 67.48 kB / 411.2 MB, free: 23.63 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000232/0.2793, allocations: 208.8 kB / 411.5 MB, free: 23.43 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2793, allocations: 4 kB / 411.5 MB, free: 23.42 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.2793, allocations: 0 / 411.5 MB, free: 23.42 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.567e-06/0.2793, allocations: 0 / 411.5 MB, free: 23.42 MB / 298.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.0006032/0.2799, allocations: 0.5195 MB / 412 MB, free: 22.85 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.2799, allocations: 8.875 kB / 412 MB, free: 22.84 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.717e-05/0.28, allocations: 20.66 kB / 412 MB, free: 22.82 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002597/0.2803, allocations: 274.8 kB / 412.3 MB, free: 22.51 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.2803, allocations: 8.375 kB / 412.3 MB, free: 22.5 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.841e-05/0.2803, allocations: 8.125 kB / 412.3 MB, free: 22.5 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002749/0.2806, allocations: 166 kB / 412.5 MB, free: 22.31 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.2806, allocations: 4 kB / 412.5 MB, free: 22.3 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.2806, allocations: 0 / 412.5 MB, free: 22.3 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.2806, allocations: 0 / 412.5 MB, free: 22.3 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.097e-05/0.2807, allocations: 39.92 kB / 412.5 MB, free: 22.27 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003852/0.2811, allocations: 458.5 kB / 412.9 MB, free: 21.76 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001816/0.2813, allocations: 134.5 kB / 413.1 MB, free: 21.59 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.377e-05/0.2814, allocations: 59.42 kB / 413.1 MB, free: 21.52 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.493e-05/0.2814, allocations: 4 kB / 413.1 MB, free: 21.52 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001373/0.2816, allocations: 97.09 kB / 413.2 MB, free: 21.4 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.312e-06/0.2816, allocations: 3.938 kB / 413.2 MB, free: 21.4 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003341/0.2819, allocations: 157.2 kB / 413.4 MB, free: 21.24 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.282, allocations: 162.2 kB / 413.5 MB, free: 21.04 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001993/0.2822, allocations: 273 kB / 413.8 MB, free: 20.77 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.2822, allocations: 29.7 kB / 413.8 MB, free: 20.73 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.082e-05/0.2823, allocations: 124.7 kB / 414 MB, free: 20.6 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.864e-05/0.2823, allocations: 15.81 kB / 414 MB, free: 20.59 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.087e-05/0.2823, allocations: 37.7 kB / 414 MB, free: 20.54 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.466e-05/0.2824, allocations: 334.8 kB / 414.3 MB, free: 20.21 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.705e-05/0.2825, allocations: 20 kB / 414.4 MB, free: 20.19 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.162e-05/0.2825, allocations: 82.84 kB / 414.4 MB, free: 20.08 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/0.2826, allocations: 89.02 kB / 414.5 MB, free: 19.98 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2827, allocations: 4 kB / 414.5 MB, free: 19.97 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001774/0.2828, allocations: 129.4 kB / 414.7 MB, free: 19.84 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.2829, allocations: 4 kB / 414.7 MB, free: 19.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.2829, allocations: 7.938 kB / 414.7 MB, free: 19.83 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.2829, allocations: 0 / 414.7 MB, free: 19.83 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.388e-05/0.283, allocations: 15.98 kB / 414.7 MB, free: 19.81 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.283, allocations: 3.938 kB / 414.7 MB, free: 19.81 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.871e-05/0.2831, allocations: 19.78 kB / 414.7 MB, free: 19.79 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.2831, allocations: 8.156 kB / 414.7 MB, free: 19.78 MB / 298.7 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 8.663e-05/0.2832, allocations: 147.6 kB / 414.9 MB, free: 19.63 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.898e-05/0.2832, allocations: 69.44 kB / 414.9 MB, free: 19.55 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.634e-05/0.2833, allocations: 25.7 kB / 415 MB, free: 19.53 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.2833, allocations: 4 kB / 415 MB, free: 19.52 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.2833, allocations: 4 kB / 415 MB, free: 19.52 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.2833, allocations: 3.938 kB / 415 MB, free: 19.52 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001446/0.2835, allocations: 233.5 kB / 415.2 MB, free: 19.24 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.2835, allocations: 4.062 kB / 415.2 MB, free: 19.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.424e-05/0.2835, allocations: 4 kB / 415.2 MB, free: 19.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.2835, allocations: 4 kB / 415.2 MB, free: 19.23 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.2835, allocations: 3.984 kB / 415.2 MB, free: 19.22 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.2835, allocations: 7.984 kB / 415.2 MB, free: 19.21 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2836, allocations: 3.938 kB / 415.2 MB, free: 19.21 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004059/0.284, allocations: 0.7822 MB / 416 MB, free: 18.36 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.592e-05/0.284, allocations: 104.8 kB / 416.1 MB, free: 18.24 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.016e-05/0.2841, allocations: 15.92 kB / 416.1 MB, free: 18.22 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.784e-05/0.2841, allocations: 0 / 416.1 MB, free: 18.22 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.632e-05/0.2842, allocations: 7.984 kB / 416.1 MB, free: 18.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.2842, allocations: 12 kB / 416.1 MB, free: 18.2 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000145/0.2844, allocations: 200.5 kB / 416.3 MB, free: 18.01 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2844, allocations: 0 / 416.3 MB, free: 18.01 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003386/0.2847, allocations: 32 kB / 416.4 MB, free: 17.98 MB / 298.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.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * 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.000992/0.2857, allocations: 418.6 kB / 416.8 MB, free: 17.71 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001955/0.2859, allocations: 75.84 kB / 416.9 MB, free: 17.63 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.2859, allocations: 8.312 kB / 416.9 MB, free: 17.62 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.666e-05/0.286, allocations: 27.98 kB / 416.9 MB, free: 17.6 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003829/0.2864, allocations: 73.81 kB / 417 MB, free: 17.53 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005381/0.287, allocations: 0.5024 MB / 417.5 MB, free: 16.98 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000158/0.2871, allocations: 0.74 MB / 418.2 MB, free: 16.21 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.624e-05/0.2872, allocations: 17.55 kB / 418.2 MB, free: 16.2 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.803e-05/0.2872, allocations: 23.42 kB / 418.2 MB, free: 16.17 MB / 298.7 MB Notification: Performance of SimCode: time 7.22e-07/0.2872, allocations: 0 / 418.2 MB, free: 16.17 MB / 298.7 MB Notification: Performance of Templates: time 0.004917/0.2922, allocations: 2.504 MB / 420.7 MB, free: 13.69 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Hold/Hold.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches