Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001849/0.001849, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.002322/0.002322, allocations: 215.3 kB / 23.74 MB, free: 4.656 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.615/1.615, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.IntegerSignals.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.IntegerSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 47.92 kB / 378.3 MB, free: 2.621 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.3238, allocations: 53.36 MB / 431.6 MB, free: 6.91 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.004936/0.3287, allocations: 1.953 MB / 433.6 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0032/0.3319, allocations: 1.329 MB / 434.9 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002391/0.3321, allocations: 3.938 kB / 434.9 MB, free: 3.613 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004392/0.3326, allocations: 71.67 kB / 435 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005892/0.3332, allocations: 135.4 kB / 435.1 MB, free: 3.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001043/0.3342, allocations: 230.6 kB / 435.3 MB, free: 3.188 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000457/0.3347, allocations: 187.4 kB / 435.5 MB, free: 3.004 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.3348, allocations: 29.72 kB / 435.5 MB, free: 2.973 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000136/0.3349, allocations: 79.7 kB / 435.6 MB, free: 2.895 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001641/0.3351, allocations: 91.55 kB / 435.7 MB, free: 2.805 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.829e-05/0.3351, allocations: 12 kB / 435.7 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002079/0.3353, allocations: 71.94 kB / 435.8 MB, free: 2.723 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001065/0.3355, allocations: 59.81 kB / 435.8 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001191/0.3356, allocations: 79.42 kB / 435.9 MB, free: 2.586 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004986/0.3361, allocations: 256.1 kB / 436.2 MB, free: 2.34 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.3361, allocations: 0 / 436.2 MB, free: 2.34 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.564e-06/0.3361, allocations: 4 kB / 436.2 MB, free: 2.336 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.438e-05/0.3361, allocations: 4 kB / 436.2 MB, free: 2.332 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.0009216/0.337, allocations: 478.6 kB / 436.7 MB, free: 1.828 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.3371, allocations: 11.97 kB / 436.7 MB, free: 1.816 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.732e-05/0.3371, allocations: 28.75 kB / 436.7 MB, free: 1.789 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005795/0.3377, allocations: 229.4 kB / 436.9 MB, free: 1.539 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.519e-05/0.3377, allocations: 8.375 kB / 436.9 MB, free: 1.531 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.633e-05/0.3378, allocations: 12.12 kB / 436.9 MB, free: 1.52 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004621/0.3382, allocations: 176.4 kB / 437.1 MB, free: 1.316 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/0.3383, allocations: 3.938 kB / 437.1 MB, free: 1.312 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.212e-05/0.3383, allocations: 4 kB / 437.1 MB, free: 1.309 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.3383, allocations: 8 kB / 437.1 MB, free: 1.301 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001361/0.3384, allocations: 31.98 kB / 437.2 MB, free: 1.27 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008911/0.3393, allocations: 449.5 kB / 437.6 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003771/0.3397, allocations: 146.5 kB / 437.7 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002029/0.3399, allocations: 51.42 kB / 437.8 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.398e-05/0.3399, allocations: 8 kB / 437.8 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000282/0.3402, allocations: 101 kB / 437.9 MB, free: 420 kB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.423e-06/0.3402, allocations: 0 / 437.9 MB, free: 420 kB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005986/0.3408, allocations: 169.5 kB / 438.1 MB, free: 244 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002343/0.3411, allocations: 187.8 kB / 438.2 MB, free: 12 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007136/0.3418, allocations: 340.2 kB / 438.6 MB, free: 15.67 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.279e-05/0.3418, allocations: 29.7 kB / 438.6 MB, free: 15.64 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001656/0.342, allocations: 140.3 kB / 438.7 MB, free: 15.49 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.748e-05/0.342, allocations: 11.98 kB / 438.8 MB, free: 15.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.224e-05/0.3421, allocations: 37.98 kB / 438.8 MB, free: 15.44 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002543/0.3423, allocations: 338.8 kB / 439.1 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.836e-05/0.3424, allocations: 28.23 kB / 439.1 MB, free: 15.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000152/0.3426, allocations: 91.72 kB / 439.2 MB, free: 14.95 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002246/0.3428, allocations: 109 kB / 439.3 MB, free: 14.83 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.3428, allocations: 0 / 439.3 MB, free: 14.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003083/0.3431, allocations: 137.5 kB / 439.5 MB, free: 14.69 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.949e-05/0.3431, allocations: 10.66 kB / 439.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.3432, allocations: 0 / 439.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.74e-05/0.3432, allocations: 4 kB / 439.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.3433, allocations: 19.98 kB / 439.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-05/0.3433, allocations: 7.984 kB / 439.5 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001181/0.3435, allocations: 23.81 kB / 439.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.3435, allocations: 4 kB / 439.5 MB, free: 14.62 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.00021/0.3437, allocations: 157.8 kB / 439.7 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/0.3438, allocations: 73.48 kB / 439.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003235/0.3441, allocations: 123.4 kB / 439.9 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.3441, allocations: 4 kB / 439.9 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.3441, allocations: 0 / 439.9 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.3441, allocations: 3.938 kB / 439.9 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004114/0.3446, allocations: 212.6 kB / 440.1 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.3446, allocations: 0 / 440.1 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.94e-05/0.3446, allocations: 19.98 kB / 440.1 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.3446, allocations: 12.17 kB / 440.1 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/0.3447, allocations: 11.92 kB / 440.2 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.3447, allocations: 4 kB / 440.2 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3447, allocations: 0 / 440.2 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003938/0.3451, allocations: 183.4 kB / 440.3 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.3452, allocations: 47.78 kB / 440.4 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.632e-05/0.3452, allocations: 7.984 kB / 440.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.678e-05/0.3453, allocations: 3.938 kB / 440.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.601e-05/0.3454, allocations: 15.92 kB / 440.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.055e-05/0.3454, allocations: 8 kB / 440.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002821/0.3457, allocations: 251 kB / 440.7 MB, free: 13.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3457, allocations: 0 / 440.7 MB, free: 13.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003329/0.346, allocations: 32 kB / 440.7 MB, free: 13.38 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.001684/0.3477, allocations: 442.2 kB / 441.1 MB, free: 13.1 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002985/0.348, allocations: 79.83 kB / 441.2 MB, free: 13.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.348, allocations: 4 kB / 441.2 MB, free: 13.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.764e-05/0.3481, allocations: 31.98 kB / 441.2 MB, free: 12.99 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004901/0.3486, allocations: 73.17 kB / 441.3 MB, free: 12.92 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008649/0.3494, allocations: 386.9 kB / 441.7 MB, free: 12.5 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005559/0.35, allocations: 0.7476 MB / 442.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001021/0.3501, allocations: 29.62 kB / 442.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.001e-05/0.3502, allocations: 27.42 kB / 442.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3502, allocations: 0 / 442.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of Templates: time 0.008924/0.3591, allocations: 3.032 MB / 445.5 MB, free: 8.668 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Hold/Hold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.230152376927435]