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.002272/0.002272, allocations: 115.6 kB / 20.43 MB, free: 1.465 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.002808/0.002808, allocations: 212 kB / 23.74 MB, free: 4.688 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.607/1.607, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.001677/0.001677, allocations: 43.92 kB / 378.3 MB, free: 2.648 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3169, allocations: 53.37 MB / 431.6 MB, free: 6.934 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.003838/0.3207, allocations: 1.947 MB / 433.6 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002279/0.323, allocations: 1.251 MB / 434.8 MB, free: 3.723 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001353/0.3232, allocations: 3.938 kB / 434.8 MB, free: 3.719 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006361/0.3238, allocations: 155.5 kB / 435 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004252/0.3242, allocations: 163.4 kB / 435.1 MB, free: 3.406 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004695/0.3247, allocations: 179.3 kB / 435.3 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002867/0.325, allocations: 203.4 kB / 435.5 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.3251, allocations: 21.8 kB / 435.5 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001398/0.3252, allocations: 83.62 kB / 435.6 MB, free: 2.93 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/0.3254, allocations: 75.62 kB / 435.7 MB, free: 2.855 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.772e-05/0.3254, allocations: 15.98 kB / 435.7 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001479/0.3256, allocations: 63.91 kB / 435.8 MB, free: 2.777 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.921e-05/0.3256, allocations: 51.77 kB / 435.8 MB, free: 2.727 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.919e-05/0.3257, allocations: 71.48 kB / 435.9 MB, free: 2.656 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003762/0.3261, allocations: 216.4 kB / 436.1 MB, free: 2.453 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3261, allocations: 4 kB / 436.1 MB, free: 2.449 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.3261, allocations: 3.938 kB / 436.1 MB, free: 2.445 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.3261, allocations: 0 / 436.1 MB, free: 2.445 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.0008567/0.327, allocations: 462.6 kB / 436.6 MB, free: 1.957 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.327, allocations: 12.03 kB / 436.6 MB, free: 1.945 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.443e-05/0.3271, allocations: 24.8 kB / 436.6 MB, free: 1.922 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003937/0.3275, allocations: 217.1 kB / 436.8 MB, free: 1.688 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.3275, allocations: 8.375 kB / 436.8 MB, free: 1.68 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.694e-05/0.3275, allocations: 16.12 kB / 436.8 MB, free: 1.664 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003859/0.3279, allocations: 161.3 kB / 437 MB, free: 1.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.3279, allocations: 4 kB / 437 MB, free: 1.477 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.3279, allocations: 4 kB / 437 MB, free: 1.473 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.3279, allocations: 4 kB / 437 MB, free: 1.469 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.3281, allocations: 39.91 kB / 437 MB, free: 1.43 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000615/0.3287, allocations: 421.7 kB / 437.4 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002622/0.3289, allocations: 126.5 kB / 437.6 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.329, allocations: 55.42 kB / 437.6 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.894e-05/0.3291, allocations: 0 / 437.6 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002066/0.3293, allocations: 93.03 kB / 437.7 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.313e-06/0.3293, allocations: 0 / 437.7 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004622/0.3297, allocations: 165.4 kB / 437.9 MB, free: 472 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/0.3298, allocations: 158.2 kB / 438 MB, free: 276 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003818/0.3302, allocations: 281.1 kB / 438.3 MB, free: 15.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.3302, allocations: 25.7 kB / 438.3 MB, free: 15.95 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.3304, allocations: 120.4 kB / 438.4 MB, free: 15.83 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.846e-05/0.3304, allocations: 24.33 kB / 438.5 MB, free: 15.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.599e-05/0.3305, allocations: 41.66 kB / 438.5 MB, free: 15.76 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000191/0.3307, allocations: 330.8 kB / 438.8 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.56e-05/0.3307, allocations: 23.98 kB / 438.9 MB, free: 15.4 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/0.3308, allocations: 74.8 kB / 438.9 MB, free: 15.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001617/0.331, allocations: 89.11 kB / 439 MB, free: 15.2 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.331, allocations: 0 / 439 MB, free: 15.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002565/0.3313, allocations: 133.5 kB / 439.2 MB, free: 15.06 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.3313, allocations: 7.938 kB / 439.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.3313, allocations: 0 / 439.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.3313, allocations: 4 kB / 439.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.805e-05/0.3314, allocations: 15.98 kB / 439.2 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.3314, allocations: 3.938 kB / 439.2 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.999e-05/0.3315, allocations: 23.77 kB / 439.2 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.864e-05/0.3315, allocations: 8.297 kB / 439.2 MB, free: 15 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.0001823/0.3317, allocations: 150 kB / 439.4 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.3318, allocations: 69.5 kB / 439.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002682/0.3321, allocations: 107.4 kB / 439.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.3321, allocations: 4 kB / 439.5 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.3321, allocations: 0 / 439.5 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.3321, allocations: 3.938 kB / 439.5 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002639/0.3323, allocations: 200.7 kB / 439.7 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.3323, allocations: 0 / 439.7 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.468e-05/0.3324, allocations: 19.98 kB / 439.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3324, allocations: 0 / 439.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.3324, allocations: 4 kB / 439.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.3324, allocations: 0 / 439.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.3324, allocations: 4 kB / 439.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003133/0.3327, allocations: 183.3 kB / 439.9 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.095e-05/0.3328, allocations: 35.81 kB / 440 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.141e-05/0.3328, allocations: 0 / 440 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.773e-05/0.3329, allocations: 11.98 kB / 440 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.414e-05/0.333, allocations: 7.938 kB / 440 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.991e-05/0.333, allocations: 4 kB / 440 MB, free: 14.12 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000248/0.3332, allocations: 204.5 kB / 440.2 MB, free: 13.92 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3332, allocations: 0 / 440.2 MB, free: 13.92 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002873/0.3335, allocations: 35.94 kB / 440.2 MB, free: 13.88 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 (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.0018/0.3353, allocations: 425.4 kB / 440.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002643/0.3356, allocations: 79.78 kB / 440.7 MB, free: 13.54 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.3356, allocations: 4 kB / 440.7 MB, free: 13.54 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.461e-05/0.3357, allocations: 19.98 kB / 440.8 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.0004424/0.3361, allocations: 72.38 kB / 440.8 MB, free: 13.45 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007164/0.3368, allocations: 341.5 kB / 441.2 MB, free: 13.08 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003817/0.3372, allocations: 0.7359 MB / 441.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.053e-05/0.3373, allocations: 21.73 kB / 441.9 MB, free: 12.3 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.072e-05/0.3373, allocations: 27.42 kB / 441.9 MB, free: 12.27 MB / 350.1 MB Notification: Performance of SimCode: time 3.9e-07/0.3373, allocations: 3.938 kB / 441.9 MB, free: 12.27 MB / 350.1 MB Notification: Performance of Templates: time 0.007329/0.3447, allocations: 2.633 MB / 444.6 MB, free: 9.66 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Hold/Hold.csv","/var/lib/jenkins/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: 5.138628181070089]