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.001312/0.001312, allocations: 80.92 kB / 21.5 MB, free: 2.992 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.001155/0.001155, allocations: 173.6 kB / 24.91 MB, free: 8.688 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.9975/0.9975, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.723e-06/1.723e-06, allocations: 0 / 273.5 MB, free: 1.273 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.959e-05/2.131e-05, allocations: 6.312 kB / 273.5 MB, free: 1.266 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.00287/0.002892, allocations: 2.014 MB / 275.5 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001857/0.004748, allocations: 1.202 MB / 276.7 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001184/0.004867, allocations: 11.94 kB / 276.7 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003593/0.00846, allocations: 155.4 kB / 276.9 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003209/0.008781, allocations: 155.3 kB / 277 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004259/0.009207, allocations: 167.4 kB / 277.2 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002435/0.009451, allocations: 207.3 kB / 277.4 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.526e-05/0.009546, allocations: 26.44 kB / 277.4 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000149/0.009695, allocations: 107.7 kB / 277.5 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001104/0.009805, allocations: 67.8 kB / 277.6 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.095e-05/0.009826, allocations: 8 kB / 277.6 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001517/0.009978, allocations: 67.88 kB / 277.6 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.896e-05/0.01004, allocations: 39.86 kB / 277.7 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.052e-05/0.01009, allocations: 43.78 kB / 277.7 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002481/0.01034, allocations: 167.3 kB / 277.9 MB, free: 12.83 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.01034, allocations: 0 / 277.9 MB, free: 12.83 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.01034, allocations: 4 kB / 277.9 MB, free: 12.82 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.997e-06/0.01034, allocations: 4 kB / 277.9 MB, free: 12.82 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.0004594/0.0108, allocations: 425.3 kB / 278.3 MB, free: 12.38 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.01084, allocations: 12.03 kB / 278.3 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.029e-05/0.01088, allocations: 12.92 kB / 278.3 MB, free: 12.35 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00326/0.01414, allocations: 217.5 kB / 278.5 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.01416, allocations: 8.359 kB / 278.6 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/0.01417, allocations: 12.38 kB / 278.6 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002027/0.01437, allocations: 134.1 kB / 278.7 MB, free: 11.94 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.01438, allocations: 7.875 kB / 278.7 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.475e-06/0.01439, allocations: 0 / 278.7 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.0144, allocations: 4 kB / 278.7 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.126e-05/0.01444, allocations: 18.81 kB / 278.7 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003082/0.01475, allocations: 287.7 kB / 279 MB, free: 11.6 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001421/0.01489, allocations: 157.2 kB / 279.2 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.155e-05/0.01493, allocations: 39.38 kB / 279.2 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.01495, allocations: 11.92 kB / 279.2 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001056/0.01506, allocations: 83.88 kB / 279.3 MB, free: 11.24 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/0.01506, allocations: 0 / 279.3 MB, free: 11.24 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001701/0.01523, allocations: 96.67 kB / 279.4 MB, free: 11.14 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.778e-05/0.01528, allocations: 144.5 kB / 279.5 MB, free: 10.97 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001786/0.01546, allocations: 234.7 kB / 279.8 MB, free: 10.72 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.01548, allocations: 29.7 kB / 279.8 MB, free: 10.69 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.287e-05/0.01553, allocations: 100.9 kB / 279.9 MB, free: 10.58 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.548e-05/0.01556, allocations: 19.8 kB / 279.9 MB, free: 10.56 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.082e-05/0.0156, allocations: 29.69 kB / 279.9 MB, free: 10.53 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.762e-05/0.01569, allocations: 326.8 kB / 280.3 MB, free: 10.2 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.968e-05/0.01571, allocations: 14.81 kB / 280.3 MB, free: 10.18 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.452e-05/0.01575, allocations: 57.12 kB / 280.3 MB, free: 10.11 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.71e-05/0.01581, allocations: 52.19 kB / 280.4 MB, free: 10.05 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.01581, allocations: 0 / 280.4 MB, free: 10.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001044/0.01591, allocations: 80.67 kB / 280.5 MB, free: 9.961 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.01593, allocations: 4 kB / 280.5 MB, free: 9.957 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.01593, allocations: 0 / 280.5 MB, free: 9.957 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.01594, allocations: 4 kB / 280.5 MB, free: 9.953 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.582e-05/0.016, allocations: 12 kB / 280.5 MB, free: 9.941 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.685e-06/0.016, allocations: 0 / 280.5 MB, free: 9.941 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.307e-05/0.01605, allocations: 11.92 kB / 280.5 MB, free: 9.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.01605, allocations: 8.062 kB / 280.5 MB, free: 9.922 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 7.49e-05/0.01613, allocations: 121.3 kB / 280.6 MB, free: 9.793 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.524e-05/0.01618, allocations: 61.55 kB / 280.7 MB, free: 9.727 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001031/0.01629, allocations: 75.44 kB / 280.7 MB, free: 9.645 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.01629, allocations: 4 kB / 280.8 MB, free: 9.641 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-06/0.01629, allocations: 0 / 280.8 MB, free: 9.641 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.0163, allocations: 0 / 280.8 MB, free: 9.641 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001186/0.01641, allocations: 105.8 kB / 280.9 MB, free: 9.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.01642, allocations: 7.984 kB / 280.9 MB, free: 9.512 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.573e-05/0.01644, allocations: 16 kB / 280.9 MB, free: 9.496 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.01645, allocations: 4 kB / 280.9 MB, free: 9.492 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.01646, allocations: 3.938 kB / 280.9 MB, free: 9.488 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.01646, allocations: 7.984 kB / 280.9 MB, free: 9.48 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.01646, allocations: 0 / 280.9 MB, free: 9.48 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.871e-05/0.01656, allocations: 109.3 kB / 281 MB, free: 9.344 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.941e-05/0.01661, allocations: 31.78 kB / 281 MB, free: 9.312 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.437e-05/0.01663, allocations: 11.94 kB / 281 MB, free: 9.301 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.802e-05/0.01667, allocations: 4 kB / 281 MB, free: 9.297 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.979e-05/0.0167, allocations: 7.922 kB / 281.1 MB, free: 9.289 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.01671, allocations: 12 kB / 281.1 MB, free: 9.277 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.003085/0.0198, allocations: 85.59 kB / 281.2 MB, free: 9.191 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0198, allocations: 0 / 281.2 MB, free: 9.191 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000211/0.02001, allocations: 28 kB / 281.2 MB, free: 9.164 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.001581/0.02159, allocations: 0.522 MB / 281.7 MB, free: 8.875 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001063/0.0217, allocations: 44.77 kB / 281.7 MB, free: 8.828 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.0217, allocations: 12.06 kB / 281.8 MB, free: 8.816 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.718e-05/0.02174, allocations: 20.8 kB / 281.8 MB, free: 8.793 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002355/0.02197, allocations: 70.36 kB / 281.8 MB, free: 8.727 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003982/0.02237, allocations: 320.6 kB / 282.2 MB, free: 8.379 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.857e-05/0.02242, allocations: 75.98 kB / 282.2 MB, free: 8.285 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.083e-05/0.02247, allocations: 13.89 kB / 282.2 MB, free: 8.266 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.928e-05/0.02257, allocations: 91.34 kB / 282.3 MB, free: 8.176 MB / 266.7 MB Notification: Performance of SimCode: time 6.71e-07/0.02257, allocations: 0 / 282.3 MB, free: 8.176 MB / 266.7 MB Notification: Performance of Templates: time 0.01153/0.0341, allocations: 2.935 MB / 285.3 MB, free: 5.301 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 -s gbode -gbm=radauIIA3 -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.7876743520610034]