Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001885/0.001885, allocations: 99.97 kB / 21.18 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002309/0.002309, allocations: 191.4 kB / 24.46 MB, free: 3.973 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 225.7 MB / 253.3 MB, free: 12.85 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001602/0.001602, allocations: 43.92 kB / 371.6 MB, free: 9.227 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2318/0.2334, allocations: 52.17 MB / 423.8 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.003645/0.2371, allocations: 1.886 MB / 425.7 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00207/0.2391, allocations: 1.103 MB / 426.8 MB, free: 11.51 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001143/0.2392, allocations: 4 kB / 426.8 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003289/0.2396, allocations: 63.66 kB / 426.9 MB, free: 11.44 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002993/0.2399, allocations: 91.59 kB / 427 MB, free: 11.35 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007808/0.2407, allocations: 268.1 kB / 427.2 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002743/0.2409, allocations: 175.5 kB / 427.4 MB, free: 10.92 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.241, allocations: 25.39 kB / 427.4 MB, free: 10.9 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001278/0.2412, allocations: 83.56 kB / 427.5 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001436/0.2413, allocations: 83.67 kB / 427.6 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.888e-05/0.2414, allocations: 8 kB / 427.6 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001852/0.2415, allocations: 71.94 kB / 427.7 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.848e-05/0.2416, allocations: 55.72 kB / 427.7 MB, free: 10.6 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.951e-05/0.2417, allocations: 63.53 kB / 427.8 MB, free: 10.54 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003751/0.2421, allocations: 242 kB / 428 MB, free: 10.3 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2421, allocations: 0 / 428 MB, free: 10.3 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.887e-06/0.2421, allocations: 3.984 kB / 428 MB, free: 10.3 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.2421, allocations: 0 / 428 MB, free: 10.3 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.0007688/0.2429, allocations: 482.4 kB / 428.5 MB, free: 9.793 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.2429, allocations: 12.03 kB / 428.5 MB, free: 9.781 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.328e-05/0.243, allocations: 24.8 kB / 428.5 MB, free: 9.758 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004559/0.2434, allocations: 221.5 kB / 428.7 MB, free: 9.52 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.2434, allocations: 16.31 kB / 428.7 MB, free: 9.504 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.318e-05/0.2435, allocations: 8.125 kB / 428.8 MB, free: 9.496 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000387/0.2439, allocations: 197.2 kB / 428.9 MB, free: 9.27 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.2439, allocations: 0 / 428.9 MB, free: 9.27 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.2439, allocations: 0 / 428.9 MB, free: 9.27 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.2439, allocations: 0 / 428.9 MB, free: 9.27 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001349/0.244, allocations: 51.89 kB / 429 MB, free: 9.219 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005734/0.2446, allocations: 406.1 kB / 429.4 MB, free: 8.781 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002844/0.2449, allocations: 142.5 kB / 429.5 MB, free: 8.605 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.245, allocations: 55.42 kB / 429.6 MB, free: 8.539 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/0.245, allocations: 4 kB / 429.6 MB, free: 8.535 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000201/0.2452, allocations: 93.03 kB / 429.7 MB, free: 8.426 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.473e-06/0.2452, allocations: 0 / 429.7 MB, free: 8.426 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004657/0.2457, allocations: 185.5 kB / 429.9 MB, free: 8.238 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/0.2458, allocations: 162.2 kB / 430 MB, free: 8.043 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00037/0.2462, allocations: 333.8 kB / 430.3 MB, free: 7.711 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.2462, allocations: 25.7 kB / 430.4 MB, free: 7.68 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.2463, allocations: 132.4 kB / 430.5 MB, free: 7.543 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.158e-05/0.2463, allocations: 19.97 kB / 430.5 MB, free: 7.523 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.682e-05/0.2464, allocations: 41.66 kB / 430.6 MB, free: 7.477 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.2466, allocations: 334.8 kB / 430.9 MB, free: 7.141 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.963e-05/0.2466, allocations: 28.36 kB / 430.9 MB, free: 7.113 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001657/0.2468, allocations: 150.2 kB / 431.1 MB, free: 6.93 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001899/0.247, allocations: 97.08 kB / 431.2 MB, free: 6.816 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.247, allocations: 0 / 431.2 MB, free: 6.816 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002921/0.2473, allocations: 145.4 kB / 431.3 MB, free: 6.668 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.2473, allocations: 8.188 kB / 431.3 MB, free: 6.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.2473, allocations: 0 / 431.3 MB, free: 6.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.2473, allocations: 4 kB / 431.3 MB, free: 6.656 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.2474, allocations: 23.92 kB / 431.3 MB, free: 6.633 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.2475, allocations: 4 kB / 431.3 MB, free: 6.629 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.458e-05/0.2475, allocations: 7.938 kB / 431.3 MB, free: 6.621 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.481e-05/0.2476, allocations: 7.938 kB / 431.4 MB, free: 6.613 MB / 334.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.0001529/0.2477, allocations: 157.8 kB / 431.5 MB, free: 6.449 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001172/0.2478, allocations: 81.52 kB / 431.6 MB, free: 6.363 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002922/0.2481, allocations: 127.3 kB / 431.7 MB, free: 6.23 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/0.2481, allocations: 4 kB / 431.7 MB, free: 6.227 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.2481, allocations: 3.984 kB / 431.7 MB, free: 6.223 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.2481, allocations: 0 / 431.7 MB, free: 6.223 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000212/0.2483, allocations: 181.1 kB / 431.9 MB, free: 6.016 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.2484, allocations: 4 kB / 431.9 MB, free: 6.012 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.916e-05/0.2484, allocations: 15.98 kB / 431.9 MB, free: 5.996 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.2484, allocations: 0 / 431.9 MB, free: 5.996 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.2484, allocations: 4 kB / 431.9 MB, free: 5.992 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.2484, allocations: 8.094 kB / 431.9 MB, free: 5.984 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.2484, allocations: 7.938 kB / 431.9 MB, free: 5.977 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000321/0.2488, allocations: 195.3 kB / 432.1 MB, free: 5.758 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.453e-05/0.2489, allocations: 39.78 kB / 432.2 MB, free: 5.719 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.084e-05/0.2489, allocations: 11.98 kB / 432.2 MB, free: 5.707 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.793e-05/0.249, allocations: 0 / 432.2 MB, free: 5.707 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.434e-05/0.249, allocations: 15.98 kB / 432.2 MB, free: 5.691 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-05/0.249, allocations: 4 kB / 432.2 MB, free: 5.688 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002931/0.2493, allocations: 245.2 kB / 432.4 MB, free: 5.445 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2493, allocations: 0 / 432.4 MB, free: 5.445 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002836/0.2496, allocations: 36 kB / 432.5 MB, free: 5.41 MB / 334.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.001682/0.2513, allocations: 463.9 kB / 432.9 MB, free: 5.141 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002598/0.2516, allocations: 83.89 kB / 433 MB, free: 5.059 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2516, allocations: 0 / 433 MB, free: 5.059 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.932e-05/0.2517, allocations: 39.91 kB / 433 MB, free: 5.02 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004213/0.2521, allocations: 65.05 kB / 433.1 MB, free: 4.957 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007216/0.2528, allocations: 423.3 kB / 433.5 MB, free: 4.5 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00014/0.253, allocations: 127.9 kB / 433.6 MB, free: 4.355 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.896e-05/0.253, allocations: 23.42 kB / 433.7 MB, free: 4.332 MB / 334.1 MB Notification: Performance of SimCode: time 4.51e-07/0.253, allocations: 0 / 433.7 MB, free: 4.332 MB / 334.1 MB Notification: Performance of Templates: time 0.005693/0.2587, allocations: 3.059 MB / 436.7 MB, free: 1.281 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 7.440606713760644]