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.001315/0.001315, allocations: 110.8 kB / 21.19 MB, free: 0.6641 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.001435/0.001435, allocations: 211.1 kB / 24.49 MB, free: 3.965 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.435/1.435, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.002438/0.002438, allocations: 47.91 kB / 379 MB, free: 2.492 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.219/0.2215, allocations: 53.36 MB / 432.3 MB, free: 6.75 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.00342/0.2249, allocations: 1.896 MB / 434.2 MB, free: 4.848 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002214/0.2271, allocations: 1.239 MB / 435.5 MB, free: 3.602 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001081/0.2272, allocations: 4 kB / 435.5 MB, free: 3.598 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002987/0.2275, allocations: 67.61 kB / 435.5 MB, free: 3.531 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003658/0.2279, allocations: 143.4 kB / 435.7 MB, free: 3.391 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006282/0.2285, allocations: 223.3 kB / 435.9 MB, free: 3.172 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002573/0.2288, allocations: 187.5 kB / 436.1 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.2289, allocations: 25.39 kB / 436.1 MB, free: 2.965 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001201/0.229, allocations: 83.62 kB / 436.2 MB, free: 2.883 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001409/0.2291, allocations: 91.61 kB / 436.3 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.55e-05/0.2291, allocations: 12 kB / 436.3 MB, free: 2.781 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001653/0.2293, allocations: 79.88 kB / 436.4 MB, free: 2.703 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.372e-05/0.2294, allocations: 51.83 kB / 436.4 MB, free: 2.652 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.948e-05/0.2295, allocations: 63.48 kB / 436.5 MB, free: 2.59 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003556/0.2298, allocations: 246 kB / 436.7 MB, free: 2.352 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2298, allocations: 4 kB / 436.7 MB, free: 2.348 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2298, allocations: 0 / 436.7 MB, free: 2.348 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.2299, allocations: 0 / 436.7 MB, free: 2.348 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.0007615/0.2306, allocations: 488.8 kB / 437.2 MB, free: 1.836 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.2306, allocations: 8.031 kB / 437.2 MB, free: 1.828 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.813e-05/0.2307, allocations: 32.75 kB / 437.2 MB, free: 1.797 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004088/0.2311, allocations: 229.5 kB / 437.5 MB, free: 1.547 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.2311, allocations: 4.375 kB / 437.5 MB, free: 1.543 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.365e-05/0.2312, allocations: 12.12 kB / 437.5 MB, free: 1.531 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003999/0.2316, allocations: 197.2 kB / 437.7 MB, free: 1.305 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.2316, allocations: 0 / 437.7 MB, free: 1.305 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.715e-05/0.2316, allocations: 8 kB / 437.7 MB, free: 1.297 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.842e-06/0.2316, allocations: 4 kB / 437.7 MB, free: 1.293 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001415/0.2317, allocations: 43.91 kB / 437.7 MB, free: 1.25 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005539/0.2323, allocations: 398.3 kB / 438.1 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003007/0.2326, allocations: 146.5 kB / 438.3 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.2327, allocations: 55.42 kB / 438.3 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.371e-05/0.2327, allocations: 11.97 kB / 438.3 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002043/0.2329, allocations: 108.9 kB / 438.4 MB, free: 448 kB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.562e-06/0.2329, allocations: 3.938 kB / 438.4 MB, free: 444 kB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004498/0.2334, allocations: 177.4 kB / 438.6 MB, free: 260 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.848e-05/0.2335, allocations: 158.2 kB / 438.8 MB, free: 64 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003912/0.2339, allocations: 340.2 kB / 439.1 MB, free: 15.72 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.2339, allocations: 29.7 kB / 439.1 MB, free: 15.69 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.234, allocations: 132.4 kB / 439.2 MB, free: 15.55 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.437e-05/0.234, allocations: 28.27 kB / 439.3 MB, free: 15.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.881e-05/0.2341, allocations: 37.7 kB / 439.3 MB, free: 15.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.2342, allocations: 334.8 kB / 439.6 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.626e-05/0.2343, allocations: 31.97 kB / 439.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001571/0.2345, allocations: 141.4 kB / 439.8 MB, free: 14.94 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001946/0.2347, allocations: 101 kB / 439.9 MB, free: 14.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.2347, allocations: 4.031 kB / 439.9 MB, free: 14.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003358/0.235, allocations: 141.4 kB / 440.1 MB, free: 14.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.235, allocations: 8 kB / 440.1 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.235, allocations: 0 / 440.1 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.2351, allocations: 4 kB / 440.1 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.2352, allocations: 19.98 kB / 440.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.2352, allocations: 4 kB / 440.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.81e-05/0.2353, allocations: 7.953 kB / 440.1 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/0.2353, allocations: 12.16 kB / 440.1 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.0001546/0.2355, allocations: 165.6 kB / 440.3 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.635e-05/0.2355, allocations: 23.86 kB / 440.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002936/0.2358, allocations: 123.4 kB / 440.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.2358, allocations: 0 / 440.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.2358, allocations: 4 kB / 440.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.589e-05/0.2359, allocations: 35.84 kB / 440.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.084e-05/0.2359, allocations: 15.92 kB / 440.5 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.758e-05/0.236, allocations: 4.25 kB / 440.5 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.66e-05/0.2361, allocations: 23.92 kB / 440.5 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000442/0.2365, allocations: 438.7 kB / 440.9 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004704/0.237, allocations: 0.5472 MB / 441.5 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001283/0.2371, allocations: 59.95 kB / 441.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000261/0.2374, allocations: 247.1 kB / 441.8 MB, free: 12.91 MB / 350.1 MB Notification: Performance of Backend: time 1.6e-07/0.2374, allocations: 0 / 441.8 MB, free: 12.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002326/0.2397, allocations: 0.491 MB / 442.3 MB, free: 12.6 MB / 350.1 MB Notification: Performance of SimCode: time 0.0009637/0.2407, allocations: 0.832 MB / 443.1 MB, free: 11.72 MB / 350.1 MB Notification: Performance of Templates: time 0.007564/0.2482, allocations: 3.441 MB / 446.5 MB, free: 8.332 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] [Calling os._exit(0), Time elapsed: 4.20770882099896] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'shiftSample1.y', 'hold1.y'] 0.25815346900344593 0.270833327 0.037959484 Calling exit ...