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.001945/0.001945, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.002462/0.002462, allocations: 210.7 kB / 24.48 MB, free: 3.941 MB / 14.72 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 1.919/1.919, allocations: 230.6 MB / 258.3 MB, free: 7.762 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001993/0.001993, allocations: 43.92 kB / 379 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.3119, allocations: 53.37 MB / 432.3 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.005642/0.3175, allocations: 1.907 MB / 434.2 MB, free: 4.805 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003657/0.3212, allocations: 1.161 MB / 435.4 MB, free: 3.637 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001826/0.3213, allocations: 7.938 kB / 435.4 MB, free: 3.629 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009124/0.3223, allocations: 151.5 kB / 435.6 MB, free: 3.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007183/0.323, allocations: 167.4 kB / 435.7 MB, free: 3.316 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008518/0.3238, allocations: 179 kB / 435.9 MB, free: 3.145 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004231/0.3242, allocations: 191.5 kB / 436.1 MB, free: 2.957 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001616/0.3244, allocations: 29.59 kB / 436.1 MB, free: 2.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001919/0.3246, allocations: 87.56 kB / 436.2 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002033/0.3248, allocations: 83.61 kB / 436.3 MB, free: 2.762 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.922e-05/0.3248, allocations: 12 kB / 436.3 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002169/0.3251, allocations: 55.97 kB / 436.3 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.3252, allocations: 51.77 kB / 436.4 MB, free: 2.645 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001224/0.3253, allocations: 47.67 kB / 436.4 MB, free: 2.598 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005021/0.3258, allocations: 229.9 kB / 436.7 MB, free: 2.379 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.3258, allocations: 0 / 436.7 MB, free: 2.379 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3258, allocations: 0 / 436.7 MB, free: 2.379 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.3258, allocations: 0 / 436.7 MB, free: 2.379 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.001072/0.3269, allocations: 462.6 kB / 437.1 MB, free: 1.891 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.3269, allocations: 8.031 kB / 437.1 MB, free: 1.883 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.242e-05/0.327, allocations: 24.8 kB / 437.1 MB, free: 1.859 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005078/0.3275, allocations: 209.2 kB / 437.3 MB, free: 1.633 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.914e-05/0.3276, allocations: 8.375 kB / 437.4 MB, free: 1.625 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.468e-05/0.3276, allocations: 12.12 kB / 437.4 MB, free: 1.613 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005373/0.3281, allocations: 162.6 kB / 437.5 MB, free: 1.43 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.3281, allocations: 3.984 kB / 437.5 MB, free: 1.426 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.45e-05/0.3282, allocations: 4 kB / 437.5 MB, free: 1.422 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.3282, allocations: 0 / 437.5 MB, free: 1.422 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001821/0.3284, allocations: 39.92 kB / 437.6 MB, free: 1.383 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007331/0.3291, allocations: 382.3 kB / 437.9 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004025/0.3295, allocations: 138.5 kB / 438.1 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001578/0.3296, allocations: 51.42 kB / 438.1 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.794e-05/0.3297, allocations: 0 / 438.1 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002788/0.33, allocations: 101 kB / 438.2 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 2.325e-06/0.33, allocations: 0 / 438.2 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006847/0.3306, allocations: 173.4 kB / 438.4 MB, free: 452 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/0.3308, allocations: 132.5 kB / 438.5 MB, free: 288 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004993/0.3313, allocations: 281 kB / 438.8 MB, free: 15.99 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.068e-05/0.3313, allocations: 25.7 kB / 438.8 MB, free: 15.96 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/0.3314, allocations: 128.4 kB / 439 MB, free: 15.83 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.584e-05/0.3315, allocations: 19.84 kB / 439 MB, free: 15.81 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.326e-05/0.3315, allocations: 37.66 kB / 439 MB, free: 15.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.3317, allocations: 330.8 kB / 439.3 MB, free: 15.44 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.712e-05/0.3318, allocations: 28.36 kB / 439.4 MB, free: 15.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001598/0.332, allocations: 103.6 kB / 439.5 MB, free: 15.28 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002255/0.3322, allocations: 93.08 kB / 439.6 MB, free: 15.17 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.3322, allocations: 0 / 439.6 MB, free: 15.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00033/0.3325, allocations: 129.6 kB / 439.7 MB, free: 15.04 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.3326, allocations: 8 kB / 439.7 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.351e-06/0.3326, allocations: 0 / 439.7 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.3326, allocations: 4 kB / 439.7 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.3327, allocations: 11.98 kB / 439.7 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.56e-05/0.3327, allocations: 11.92 kB / 439.7 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000111/0.3328, allocations: 11.89 kB / 439.7 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.3328, allocations: 4 kB / 439.7 MB, free: 14.99 MB / 350.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.0001675/0.333, allocations: 145.8 kB / 439.9 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/0.3331, allocations: 77.52 kB / 439.9 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003133/0.3334, allocations: 115.4 kB / 440.1 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.3334, allocations: 0 / 440.1 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.3334, allocations: 4 kB / 440.1 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.3335, allocations: 0 / 440.1 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002378/0.3337, allocations: 169.2 kB / 440.2 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.3337, allocations: 3.984 kB / 440.2 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.202e-05/0.3337, allocations: 12.25 kB / 440.2 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.3337, allocations: 3.938 kB / 440.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.3338, allocations: 4 kB / 440.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.3338, allocations: 8.062 kB / 440.3 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.3338, allocations: 0 / 440.3 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003722/0.3341, allocations: 187.4 kB / 440.4 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/0.3342, allocations: 39.77 kB / 440.5 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.542e-05/0.3343, allocations: 4 kB / 440.5 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.072e-05/0.3344, allocations: 8 kB / 440.5 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.243e-05/0.3344, allocations: 7.984 kB / 440.5 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.102e-05/0.3344, allocations: 8 kB / 440.5 MB, free: 14.12 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002743/0.3347, allocations: 204.5 kB / 440.7 MB, free: 13.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3347, allocations: 0 / 440.7 MB, free: 13.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004144/0.3351, allocations: 32 kB / 440.7 MB, free: 13.89 MB / 350.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.001955/0.3371, allocations: 466.6 kB / 441.2 MB, free: 13.62 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002976/0.3374, allocations: 79.84 kB / 441.3 MB, free: 13.54 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3374, allocations: 0 / 441.3 MB, free: 13.54 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.3375, allocations: 27.98 kB / 441.3 MB, free: 13.52 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005964/0.3381, allocations: 76.66 kB / 441.4 MB, free: 13.44 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000817/0.3389, allocations: 341.8 kB / 441.7 MB, free: 13.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001787/0.3391, allocations: 119.5 kB / 441.8 MB, free: 12.93 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001091/0.3392, allocations: 29.8 kB / 441.9 MB, free: 12.9 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.3e-05/0.3393, allocations: 23.44 kB / 441.9 MB, free: 12.88 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3393, allocations: 0 / 441.9 MB, free: 12.88 MB / 350.1 MB Notification: Performance of Templates: time 0.009379/0.3486, allocations: 2.831 MB / 444.7 MB, free: 10.09 MB / 350.1 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=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 6.420326069986913]