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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008896/0.0008926, allocations: 94.56 kB / 17.31 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009622/0.0009622, allocations: 179.9 kB / 18.21 MB, free: 5.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.264/1.264, allocations: 223.3 MB / 242.3 MB, free: 96 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002225/0.0002225, allocations: 11.94 kB / 302.1 MB, free: 6.105 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07454/0.07478, allocations: 50.41 MB / 352.5 MB, free: 3.691 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.00209/0.0769, allocations: 1.609 MB / 354.1 MB, free: 2.066 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00162/0.07855, allocations: 1.017 MB / 355.1 MB, free: 1.043 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.07867, allocations: 7.938 kB / 355.1 MB, free: 1.035 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004986/0.07918, allocations: 139.7 kB / 355.3 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002556/0.07944, allocations: 107.7 kB / 355.4 MB, free: 0.793 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000495/0.07995, allocations: 183 kB / 355.5 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002107/0.08017, allocations: 183.5 kB / 355.7 MB, free: 448 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.08028, allocations: 33.55 kB / 355.8 MB, free: 416 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.705e-05/0.08039, allocations: 67.58 kB / 355.8 MB, free: 348 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.0805, allocations: 63.7 kB / 355.9 MB, free: 284 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.012e-05/0.08052, allocations: 4 kB / 355.9 MB, free: 280 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001084/0.08064, allocations: 43.97 kB / 355.9 MB, free: 236 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.002e-05/0.08071, allocations: 39.78 kB / 356 MB, free: 196 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.468e-05/0.08081, allocations: 97.17 kB / 356.1 MB, free: 92 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000203/0.08102, allocations: 148 kB / 356.2 MB, free: 15.95 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.08103, allocations: 0 / 356.2 MB, free: 15.95 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.08104, allocations: 0 / 356.2 MB, free: 15.95 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.08104, allocations: 0 / 356.2 MB, free: 15.95 MB / 302.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.0006147/0.08166, allocations: 496.3 kB / 356.7 MB, free: 15.41 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.0817, allocations: 12.03 kB / 356.7 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.848e-05/0.08176, allocations: 20.75 kB / 356.7 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000296/0.08206, allocations: 266.7 kB / 357 MB, free: 15.08 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.08209, allocations: 8.375 kB / 357 MB, free: 15.07 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.941e-05/0.08212, allocations: 12.11 kB / 357 MB, free: 15.06 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003103/0.08243, allocations: 167.5 kB / 357.2 MB, free: 14.87 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.08246, allocations: 7.922 kB / 357.2 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.08248, allocations: 3.984 kB / 357.2 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.08249, allocations: 4 kB / 357.2 MB, free: 14.85 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001049/0.0826, allocations: 39.97 kB / 357.2 MB, free: 14.81 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000495/0.0831, allocations: 450.5 kB / 357.7 MB, free: 14.31 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002254/0.08334, allocations: 138.4 kB / 357.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.597e-05/0.08344, allocations: 55.42 kB / 357.9 MB, free: 14.07 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.08347, allocations: 8 kB / 357.9 MB, free: 14.07 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001594/0.08364, allocations: 96.94 kB / 358 MB, free: 13.95 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.393e-06/0.08365, allocations: 0 / 358 MB, free: 13.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003491/0.08401, allocations: 145.7 kB / 358.1 MB, free: 13.8 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.481e-05/0.0841, allocations: 174.2 kB / 358.3 MB, free: 13.6 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002654/0.08437, allocations: 265 kB / 358.5 MB, free: 13.33 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.0844, allocations: 25.7 kB / 358.6 MB, free: 13.3 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.501e-05/0.08448, allocations: 120.3 kB / 358.7 MB, free: 13.18 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.401e-05/0.08451, allocations: 19.88 kB / 358.7 MB, free: 13.16 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.709e-05/0.08455, allocations: 21.7 kB / 358.7 MB, free: 13.13 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.08466, allocations: 330.8 kB / 359 MB, free: 12.8 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.362e-05/0.08473, allocations: 27.98 kB / 359.1 MB, free: 12.77 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001026/0.08484, allocations: 78.84 kB / 359.1 MB, free: 12.67 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.08499, allocations: 93.06 kB / 359.2 MB, free: 12.56 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.08501, allocations: 0 / 359.2 MB, free: 12.56 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002207/0.08523, allocations: 125.3 kB / 359.4 MB, free: 12.43 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.08525, allocations: 4 kB / 359.4 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.08526, allocations: 4.156 kB / 359.4 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.758e-06/0.08528, allocations: 4 kB / 359.4 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.627e-05/0.08536, allocations: 16 kB / 359.4 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.08537, allocations: 0 / 359.4 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.072e-05/0.08546, allocations: 23.77 kB / 359.4 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.08548, allocations: 4 kB / 359.4 MB, free: 12.38 MB / 302.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.000113/0.08559, allocations: 142.1 kB / 359.6 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.799e-05/0.08569, allocations: 73.48 kB / 359.6 MB, free: 12.15 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.069e-05/0.08575, allocations: 29.7 kB / 359.7 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.08576, allocations: 0 / 359.7 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.08577, allocations: 4 kB / 359.7 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.08578, allocations: 7.922 kB / 359.7 MB, free: 12.1 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001919/0.08597, allocations: 217.6 kB / 359.9 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.08598, allocations: 4 kB / 359.9 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.837e-05/0.08602, allocations: 7.984 kB / 359.9 MB, free: 11.83 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.08603, allocations: 0 / 359.9 MB, free: 11.83 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.08604, allocations: 11.94 kB / 359.9 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.08605, allocations: 3.938 kB / 359.9 MB, free: 11.81 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/0.08606, allocations: 8.031 kB / 359.9 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002455/0.08631, allocations: 171.3 kB / 360.1 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.917e-05/0.08641, allocations: 108.8 kB / 360.2 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.199e-05/0.08645, allocations: 11.98 kB / 360.2 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.786e-05/0.08653, allocations: 8 kB / 360.2 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.727e-05/0.08657, allocations: 11.92 kB / 360.2 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.08659, allocations: 4 kB / 360.2 MB, free: 11.45 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001818/0.08678, allocations: 200.5 kB / 360.4 MB, free: 11.25 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.08678, allocations: 0 / 360.4 MB, free: 11.25 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002587/0.08705, allocations: 32 kB / 360.4 MB, free: 11.22 MB / 302.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.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.0008885/0.08794, allocations: 431.5 kB / 360.9 MB, free: 10.96 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001977/0.08815, allocations: 75.91 kB / 360.9 MB, free: 10.88 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.08816, allocations: 0 / 360.9 MB, free: 10.88 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.56e-05/0.08824, allocations: 31.92 kB / 361 MB, free: 10.85 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004092/0.08866, allocations: 64.42 kB / 361 MB, free: 10.79 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005521/0.08922, allocations: 406.9 kB / 361.4 MB, free: 10.35 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002618/0.0895, allocations: 0.736 MB / 362.2 MB, free: 9.586 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.574e-05/0.08955, allocations: 23.44 kB / 362.2 MB, free: 9.562 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.08956, allocations: 0 / 362.2 MB, free: 9.562 MB / 302.1 MB Notification: Performance of Templates: time 0.004538/0.0941, allocations: 2.654 MB / 364.8 MB, free: 6.926 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.makefile (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) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches