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.001198/0.001198, allocations: 80.8 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.001149/0.001149, allocations: 175.5 kB / 24.91 MB, free: 8.789 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.9792/0.9792, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.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.324e-06/2.324e-06, allocations: 3.984 kB / 273.5 MB, free: 1.277 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.112e-05/2.344e-05, allocations: 2.312 kB / 273.5 MB, free: 1.273 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.002614/0.002638, allocations: 2.007 MB / 275.5 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001578/0.004215, allocations: 1.284 MB / 276.8 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.004329, allocations: 4 kB / 276.8 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003168/0.004646, allocations: 71.53 kB / 276.8 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003062/0.004952, allocations: 131.4 kB / 277 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004617/0.005414, allocations: 227.1 kB / 277.2 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000181/0.005595, allocations: 187.5 kB / 277.4 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.492e-05/0.00568, allocations: 30.38 kB / 277.4 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001156/0.005796, allocations: 107.7 kB / 277.5 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.005897, allocations: 67.8 kB / 277.6 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.907e-05/0.005916, allocations: 8 kB / 277.6 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001325/0.006048, allocations: 71.94 kB / 277.7 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.19e-05/0.00611, allocations: 59.77 kB / 277.7 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.087e-05/0.006151, allocations: 43.84 kB / 277.8 MB, free: 12.97 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002118/0.006363, allocations: 195.2 kB / 277.9 MB, free: 12.78 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.006365, allocations: 0 / 277.9 MB, free: 12.78 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.006366, allocations: 0 / 277.9 MB, free: 12.78 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.597e-06/0.00637, allocations: 0 / 277.9 MB, free: 12.78 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.0004075/0.006777, allocations: 453 kB / 278.4 MB, free: 12.31 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.006816, allocations: 12.03 kB / 278.4 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.737e-05/0.006853, allocations: 20.91 kB / 278.4 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001953/0.007048, allocations: 212.8 kB / 278.6 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.007061, allocations: 8.312 kB / 278.6 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.007072, allocations: 12.38 kB / 278.7 MB, free: 12.03 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001875/0.00726, allocations: 154.7 kB / 278.8 MB, free: 11.85 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.007269, allocations: 3.938 kB / 278.8 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.007278, allocations: 4 kB / 278.8 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.007283, allocations: 3.984 kB / 278.8 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.677e-05/0.00732, allocations: 26.75 kB / 278.8 MB, free: 11.81 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002818/0.007602, allocations: 291.8 kB / 279.1 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001291/0.007731, allocations: 156 kB / 279.3 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.708e-05/0.007778, allocations: 35.44 kB / 279.3 MB, free: 11.26 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.007799, allocations: 11.92 kB / 279.3 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001127/0.007912, allocations: 95.84 kB / 279.4 MB, free: 11.13 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.252e-06/0.007913, allocations: 0 / 279.4 MB, free: 11.13 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001663/0.008079, allocations: 96.36 kB / 279.5 MB, free: 11.03 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.798e-05/0.008137, allocations: 132.5 kB / 279.6 MB, free: 10.87 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001636/0.008301, allocations: 268.6 kB / 279.9 MB, free: 10.59 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.008316, allocations: 29.7 kB / 279.9 MB, free: 10.56 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.881e-05/0.008355, allocations: 104.9 kB / 280 MB, free: 10.45 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.068e-05/0.008376, allocations: 20.22 kB / 280.1 MB, free: 10.43 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.562e-05/0.008411, allocations: 37.64 kB / 280.1 MB, free: 10.39 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.654e-05/0.008488, allocations: 338.8 kB / 280.4 MB, free: 10.05 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.529e-05/0.008503, allocations: 6.828 kB / 280.4 MB, free: 10.04 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.707e-05/0.00854, allocations: 61.06 kB / 280.5 MB, free: 9.961 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.93e-05/0.00859, allocations: 48.2 kB / 280.5 MB, free: 9.902 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.008591, allocations: 0 / 280.5 MB, free: 9.902 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 8.124e-05/0.008673, allocations: 76.38 kB / 280.6 MB, free: 9.82 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.008684, allocations: 12.09 kB / 280.6 MB, free: 9.809 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.008688, allocations: 320 / 280.6 MB, free: 9.809 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.008699, allocations: 3.984 kB / 280.6 MB, free: 9.805 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.445e-05/0.008773, allocations: 19.94 kB / 280.6 MB, free: 9.785 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.755e-06/0.008776, allocations: 3.938 kB / 280.6 MB, free: 9.781 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.83e-05/0.008814, allocations: 7.984 kB / 280.7 MB, free: 9.773 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.008822, allocations: 8 kB / 280.7 MB, free: 9.766 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 6.554e-05/0.008887, allocations: 115.1 kB / 280.8 MB, free: 9.645 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.859e-05/0.008936, allocations: 65.55 kB / 280.8 MB, free: 9.574 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.382e-05/0.00903, allocations: 79.53 kB / 280.9 MB, free: 9.484 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.009032, allocations: 0 / 280.9 MB, free: 9.484 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.009034, allocations: 4 kB / 280.9 MB, free: 9.48 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.009037, allocations: 0 / 280.9 MB, free: 9.48 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.87e-05/0.009136, allocations: 121.7 kB / 281 MB, free: 9.344 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.009138, allocations: 0 / 281 MB, free: 9.344 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.289e-05/0.009181, allocations: 23.92 kB / 281.1 MB, free: 9.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.009184, allocations: 3.984 kB / 281.1 MB, free: 9.316 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.009192, allocations: 7.938 kB / 281.1 MB, free: 9.309 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.009193, allocations: 4 kB / 281.1 MB, free: 9.305 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.009194, allocations: 4 kB / 281.1 MB, free: 9.301 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.783e-05/0.009282, allocations: 117.2 kB / 281.2 MB, free: 9.156 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.178e-05/0.009324, allocations: 35.84 kB / 281.2 MB, free: 9.121 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.009343, allocations: 11.94 kB / 281.2 MB, free: 9.109 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.194e-05/0.009375, allocations: 4 kB / 281.2 MB, free: 9.105 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.402e-05/0.009409, allocations: 11.98 kB / 281.3 MB, free: 9.094 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.009421, allocations: 4 kB / 281.3 MB, free: 9.09 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.152e-05/0.009493, allocations: 103.5 kB / 281.4 MB, free: 8.988 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009493, allocations: 0 / 281.4 MB, free: 8.988 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001489/0.009642, allocations: 35.92 kB / 281.4 MB, free: 8.953 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.001073/0.01071, allocations: 0.5226 MB / 281.9 MB, free: 8.664 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.431e-05/0.01081, allocations: 52.72 kB / 282 MB, free: 8.609 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.01081, allocations: 4 kB / 282 MB, free: 8.605 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.471e-05/0.01085, allocations: 32.77 kB / 282 MB, free: 8.57 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001956/0.01104, allocations: 72.78 kB / 282.1 MB, free: 8.5 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003777/0.01142, allocations: 352.7 kB / 282.4 MB, free: 8.117 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.418e-05/0.01146, allocations: 83.97 kB / 282.5 MB, free: 8.016 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.675e-05/0.01151, allocations: 21.64 kB / 282.5 MB, free: 7.996 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.927e-05/0.0116, allocations: 87.34 kB / 282.6 MB, free: 7.91 MB / 266.7 MB Notification: Performance of SimCode: time 1.002e-06/0.0116, allocations: 0 / 282.6 MB, free: 7.91 MB / 266.7 MB Notification: Performance of Templates: time 0.004756/0.01636, allocations: 3.288 MB / 285.9 MB, free: 4.676 MB / 266.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 -s gbode -gbm=radauIIA3 -emit_protected -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6914548301137984]