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.0009483/0.0009483, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001256/0.002204, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001103/0.001103, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001544/0.002647, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.094/1.094, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1371/1.231, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.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.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 2.265e-06/2.265e-06, allocations: 0 / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.959e-05/4.185e-05, allocations: 5.688 kB / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.005536/0.005578, allocations: 2.009 MB / 246.7 MB, free: 12.2 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002091/0.007669, allocations: 1.293 MB / 248 MB, free: 10.89 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000213/0.007882, allocations: 7.938 kB / 248 MB, free: 10.89 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003286/0.008211, allocations: 71.48 kB / 248.1 MB, free: 10.82 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003345/0.008545, allocations: 135.3 kB / 248.2 MB, free: 10.68 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006625/0.009208, allocations: 243 kB / 248.5 MB, free: 10.45 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003284/0.009536, allocations: 187.4 kB / 248.6 MB, free: 10.26 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001368/0.009673, allocations: 26.39 kB / 248.7 MB, free: 10.24 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002479/0.009921, allocations: 140.4 kB / 248.8 MB, free: 10.1 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001532/0.01007, allocations: 63.8 kB / 248.9 MB, free: 10.04 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.89e-05/0.0101, allocations: 12 kB / 248.9 MB, free: 10.03 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002254/0.01033, allocations: 79.88 kB / 248.9 MB, free: 9.949 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.107e-05/0.01042, allocations: 47.86 kB / 249 MB, free: 9.902 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.704e-05/0.01048, allocations: 31.88 kB / 249 MB, free: 9.871 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003389/0.01082, allocations: 183.2 kB / 249.2 MB, free: 9.691 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-05/0.01083, allocations: 0 / 249.2 MB, free: 9.691 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.01083, allocations: 0 / 249.2 MB, free: 9.691 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.639e-05/0.01085, allocations: 0 / 249.2 MB, free: 9.691 MB / 250.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.0008954/0.01175, allocations: 496.6 kB / 249.7 MB, free: 9.176 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.01179, allocations: 8.031 kB / 249.7 MB, free: 9.168 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.833e-05/0.01186, allocations: 20.91 kB / 249.7 MB, free: 9.148 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003163/0.01218, allocations: 204.8 kB / 249.9 MB, free: 8.922 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.84e-05/0.01221, allocations: 8.375 kB / 249.9 MB, free: 8.914 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.223e-05/0.01223, allocations: 8.125 kB / 249.9 MB, free: 8.906 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003278/0.01256, allocations: 150.2 kB / 250.1 MB, free: 8.73 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.01257, allocations: 4 kB / 250.1 MB, free: 8.727 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.01258, allocations: 4 kB / 250.1 MB, free: 8.723 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.906e-06/0.01259, allocations: 4 kB / 250.1 MB, free: 8.719 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.769e-05/0.01266, allocations: 38.72 kB / 250.1 MB, free: 8.68 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004048/0.01307, allocations: 303.7 kB / 250.4 MB, free: 8.355 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001676/0.01323, allocations: 151.9 kB / 250.6 MB, free: 8.168 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.116e-05/0.01327, allocations: 39.42 kB / 250.6 MB, free: 8.117 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.0133, allocations: 11.98 kB / 250.6 MB, free: 8.105 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001273/0.01343, allocations: 87.84 kB / 250.7 MB, free: 8 MB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 1.483e-06/0.01343, allocations: 0 / 250.7 MB, free: 8 MB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001869/0.01361, allocations: 96.36 kB / 250.8 MB, free: 7.898 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.899e-05/0.01369, allocations: 132.5 kB / 250.9 MB, free: 7.738 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/0.01388, allocations: 268.6 kB / 251.2 MB, free: 7.461 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/0.0139, allocations: 33.64 kB / 251.2 MB, free: 7.422 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.509e-05/0.01396, allocations: 113.2 kB / 251.3 MB, free: 7.305 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/0.01398, allocations: 11.91 kB / 251.4 MB, free: 7.293 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.351e-05/0.01402, allocations: 37.64 kB / 251.4 MB, free: 7.25 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.01414, allocations: 338.7 kB / 251.7 MB, free: 6.91 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.012e-05/0.01416, allocations: 6.828 kB / 251.7 MB, free: 6.902 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.377e-05/0.01422, allocations: 65.06 kB / 251.8 MB, free: 6.82 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.126e-05/0.01428, allocations: 44.22 kB / 251.8 MB, free: 6.766 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.01428, allocations: 0 / 251.8 MB, free: 6.766 MB / 250.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001032/0.01438, allocations: 80.47 kB / 251.9 MB, free: 6.68 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.0144, allocations: 4 kB / 251.9 MB, free: 6.676 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.0144, allocations: 0 / 251.9 MB, free: 6.676 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.01442, allocations: 0 / 251.9 MB, free: 6.676 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.803e-05/0.0145, allocations: 23.92 kB / 251.9 MB, free: 6.652 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.01451, allocations: 0 / 251.9 MB, free: 6.652 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.268e-05/0.01455, allocations: 11.92 kB / 252 MB, free: 6.641 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.01456, allocations: 0 / 252 MB, free: 6.641 MB / 250.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 0.0001191/0.01467, allocations: 128.9 kB / 252.1 MB, free: 6.504 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.57e-05/0.01473, allocations: 57.67 kB / 252.1 MB, free: 6.441 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001192/0.01485, allocations: 87.47 kB / 252.2 MB, free: 6.348 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.01485, allocations: 0 / 252.2 MB, free: 6.348 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.01485, allocations: 0 / 252.2 MB, free: 6.348 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.01486, allocations: 7.984 kB / 252.2 MB, free: 6.34 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001132/0.01497, allocations: 117.8 kB / 252.3 MB, free: 6.207 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.01498, allocations: 3.938 kB / 252.3 MB, free: 6.203 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.283e-05/0.01503, allocations: 19.98 kB / 252.4 MB, free: 6.184 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.684e-05/0.01509, allocations: 43.73 kB / 252.4 MB, free: 6.141 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.01509, allocations: 0 / 252.4 MB, free: 6.141 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.0151, allocations: 8.062 kB / 252.4 MB, free: 6.133 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.0151, allocations: 0 / 252.4 MB, free: 6.133 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.0151, allocations: 3.938 kB / 252.4 MB, free: 6.129 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00011/0.01521, allocations: 129.2 kB / 252.5 MB, free: 5.973 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/0.01523, allocations: 0 / 252.5 MB, free: 5.973 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.477e-05/0.01526, allocations: 4 kB / 252.5 MB, free: 5.969 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.316e-05/0.01531, allocations: 11.98 kB / 252.6 MB, free: 5.957 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.01532, allocations: 7.984 kB / 252.6 MB, free: 5.949 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.995e-05/0.01541, allocations: 107.5 kB / 252.7 MB, free: 5.844 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01541, allocations: 0 / 252.7 MB, free: 5.844 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001607/0.01557, allocations: 32 kB / 252.7 MB, free: 5.812 MB / 250.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.001336/0.01691, allocations: 0.5654 MB / 253.3 MB, free: 5.52 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001322/0.01704, allocations: 48.72 kB / 253.3 MB, free: 5.469 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.018e-05/0.01705, allocations: 4 kB / 253.3 MB, free: 5.465 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.549e-05/0.0171, allocations: 24.84 kB / 253.3 MB, free: 5.438 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003492/0.01745, allocations: 385 kB / 253.7 MB, free: 5 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005657/0.01801, allocations: 356.7 kB / 254.1 MB, free: 4.613 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.998e-05/0.01806, allocations: 87.97 kB / 254.2 MB, free: 4.508 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.054e-05/0.01811, allocations: 21.47 kB / 254.2 MB, free: 4.484 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.181e-05/0.0182, allocations: 83.36 kB / 254.3 MB, free: 4.402 MB / 250.7 MB Notification: Performance of SimCode: time 9.92e-07/0.0182, allocations: 256 / 254.3 MB, free: 4.402 MB / 250.7 MB Notification: Performance of Templates: time 0.005976/0.02418, allocations: 3.35 MB / 257.6 MB, free: 1.109 MB / 250.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0598564837127924]