Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009784/0.0009784, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009209/0.0009209, allocations: 171.9 kB / 24.92 MB, free: 8.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9301/0.9301, allocations: 177.1 MB / 205.3 MB, free: 5.105 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 273.4 MB, free: 1.18 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.358e-05/1.488e-05, allocations: 2.312 kB / 273.4 MB, free: 1.176 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.002243/0.002258, allocations: 1.959 MB / 275.4 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001422/0.00368, allocations: 1.219 MB / 276.6 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.003785, allocations: 0 / 276.6 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004806/0.004266, allocations: 151.4 kB / 276.8 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002782/0.004544, allocations: 163.2 kB / 276.9 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000321/0.004865, allocations: 179.2 kB / 277.1 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001996/0.005065, allocations: 195.4 kB / 277.3 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.661e-05/0.005151, allocations: 22.45 kB / 277.3 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.005273, allocations: 107.7 kB / 277.4 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.14e-05/0.005365, allocations: 71.78 kB / 277.5 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.005384, allocations: 8 kB / 277.5 MB, free: 13.1 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.005489, allocations: 59.89 kB / 277.6 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.465e-05/0.005553, allocations: 51.78 kB / 277.6 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.67e-05/0.0056, allocations: 43.86 kB / 277.7 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002091/0.005809, allocations: 167.3 kB / 277.8 MB, free: 12.78 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.005811, allocations: 3.938 kB / 277.8 MB, free: 12.78 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.005811, allocations: 0 / 277.8 MB, free: 12.78 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.427e-06/0.005815, allocations: 0 / 277.8 MB, free: 12.78 MB / 266.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.0003983/0.006213, allocations: 433.3 kB / 278.2 MB, free: 12.32 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.656e-05/0.00624, allocations: 8.031 kB / 278.3 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.29e-05/0.006273, allocations: 16.92 kB / 278.3 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001998/0.006473, allocations: 217.5 kB / 278.5 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.006487, allocations: 8.375 kB / 278.5 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.262e-05/0.006499, allocations: 4.375 kB / 278.5 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.00667, allocations: 134 kB / 278.6 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.006677, allocations: 7.938 kB / 278.6 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.006686, allocations: 4 kB / 278.6 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.00669, allocations: 0 / 278.6 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.355e-05/0.006723, allocations: 22.75 kB / 278.7 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002604/0.006984, allocations: 291.8 kB / 278.9 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001134/0.007097, allocations: 157.1 kB / 279.1 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.362e-05/0.007131, allocations: 39.41 kB / 279.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.56e-05/0.007146, allocations: 7.938 kB / 279.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.685e-05/0.007233, allocations: 83.83 kB / 279.2 MB, free: 11.2 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.153e-06/0.007234, allocations: 4 kB / 279.2 MB, free: 11.19 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001359/0.00737, allocations: 92.41 kB / 279.3 MB, free: 11.09 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.238e-05/0.007423, allocations: 140.5 kB / 279.5 MB, free: 10.93 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001379/0.007561, allocations: 230.7 kB / 279.7 MB, free: 10.68 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.007577, allocations: 33.7 kB / 279.7 MB, free: 10.64 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.93e-05/0.007617, allocations: 100.9 kB / 279.8 MB, free: 10.54 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.046e-05/0.007637, allocations: 23.78 kB / 279.8 MB, free: 10.52 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.178e-05/0.007669, allocations: 29.7 kB / 279.9 MB, free: 10.48 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.318e-05/0.007742, allocations: 331.2 kB / 280.2 MB, free: 10.15 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.968e-05/0.007762, allocations: 14.81 kB / 280.2 MB, free: 10.13 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.734e-05/0.007799, allocations: 57.14 kB / 280.3 MB, free: 10.06 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.463e-05/0.007844, allocations: 48.14 kB / 280.3 MB, free: 10 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.007845, allocations: 0 / 280.3 MB, free: 10 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 7.185e-05/0.007917, allocations: 76.56 kB / 280.4 MB, free: 9.918 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.00793, allocations: 8 kB / 280.4 MB, free: 9.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.007934, allocations: 64 / 280.4 MB, free: 9.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.007945, allocations: 4 kB / 280.4 MB, free: 9.906 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.885e-05/0.007994, allocations: 16.03 kB / 280.4 MB, free: 9.891 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.306e-06/0.007997, allocations: 4 kB / 280.4 MB, free: 9.887 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.294e-05/0.00803, allocations: 7.984 kB / 280.4 MB, free: 9.879 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.008036, allocations: 3.984 kB / 280.4 MB, free: 9.875 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,hold1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 6.89e-05/0.008105, allocations: 121.3 kB / 280.5 MB, free: 9.746 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.101e-05/0.008146, allocations: 65.55 kB / 280.6 MB, free: 9.676 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.487e-05/0.008231, allocations: 67.45 kB / 280.7 MB, free: 9.602 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.008233, allocations: 4 kB / 280.7 MB, free: 9.598 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.008234, allocations: 64 / 280.7 MB, free: 9.598 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.008239, allocations: 8 kB / 280.7 MB, free: 9.59 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.904e-05/0.008338, allocations: 113.8 kB / 280.8 MB, free: 9.461 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.008339, allocations: 0 / 280.8 MB, free: 9.461 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.698e-05/0.008356, allocations: 7.938 kB / 280.8 MB, free: 9.453 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.008358, allocations: 4 kB / 280.8 MB, free: 9.449 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.008367, allocations: 7.922 kB / 280.8 MB, free: 9.441 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.008368, allocations: 4 kB / 280.8 MB, free: 9.438 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.008369, allocations: 0 / 280.8 MB, free: 9.438 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.412e-05/0.008453, allocations: 113.3 kB / 280.9 MB, free: 9.297 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.068e-05/0.008494, allocations: 31.77 kB / 281 MB, free: 9.266 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.192e-05/0.008516, allocations: 15.94 kB / 281 MB, free: 9.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.925e-05/0.008545, allocations: 7.984 kB / 281 MB, free: 9.242 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.959e-05/0.008575, allocations: 8 kB / 281 MB, free: 9.234 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.008585, allocations: 3.984 kB / 281 MB, free: 9.23 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.388e-05/0.008649, allocations: 85.61 kB / 281.1 MB, free: 9.145 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008649, allocations: 0 / 281.1 MB, free: 9.145 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001378/0.008787, allocations: 24 kB / 281.1 MB, free: 9.121 MB / 266.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.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.0009933/0.00978, allocations: 0.5293 MB / 281.6 MB, free: 8.82 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.29e-05/0.009863, allocations: 44.78 kB / 281.7 MB, free: 8.773 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.009866, allocations: 0 / 281.7 MB, free: 8.773 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.112e-05/0.009897, allocations: 28.78 kB / 281.7 MB, free: 8.742 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001774/0.01007, allocations: 64.95 kB / 281.8 MB, free: 8.688 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003236/0.0104, allocations: 320.6 kB / 282.1 MB, free: 8.34 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.909e-05/0.01044, allocations: 80.36 kB / 282.2 MB, free: 8.242 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.065e-05/0.01048, allocations: 25.47 kB / 282.2 MB, free: 8.211 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.496e-05/0.01055, allocations: 75.36 kB / 282.3 MB, free: 8.137 MB / 266.7 MB Notification: Performance of SimCode: time 8.02e-07/0.01055, allocations: 0 / 282.3 MB, free: 8.137 MB / 266.7 MB Notification: Performance of Templates: time 0.004244/0.0148, allocations: 2.927 MB / 285.2 MB, free: 5.262 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Hold/Hold.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6923602679744363]