Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.001718/0.001718, allocations: 110.4 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.002103/0.002103, allocations: 208.7 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.445/1.445, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.BooleanSignals.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.BooleanSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 51.92 kB / 379 MB, free: 2.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.221/0.2225, allocations: 53.36 MB / 432.3 MB, free: 6.762 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.003731/0.2263, allocations: 1.903 MB / 434.2 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002266/0.2285, allocations: 1.169 MB / 435.4 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001175/0.2286, allocations: 3.938 kB / 435.4 MB, free: 3.672 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005989/0.2292, allocations: 155.5 kB / 435.6 MB, free: 3.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003986/0.2296, allocations: 159.4 kB / 435.7 MB, free: 3.363 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004744/0.2301, allocations: 183.1 kB / 435.9 MB, free: 3.188 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002596/0.2304, allocations: 187.5 kB / 436.1 MB, free: 3.004 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.2305, allocations: 29.58 kB / 436.1 MB, free: 2.977 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.2306, allocations: 87.58 kB / 436.2 MB, free: 2.891 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001337/0.2307, allocations: 83.61 kB / 436.3 MB, free: 2.809 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.524e-05/0.2308, allocations: 8 kB / 436.3 MB, free: 2.801 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001458/0.2309, allocations: 67.89 kB / 436.3 MB, free: 2.734 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.881e-05/0.231, allocations: 43.84 kB / 436.4 MB, free: 2.691 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.502e-05/0.2311, allocations: 59.59 kB / 436.4 MB, free: 2.633 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003239/0.2314, allocations: 217.9 kB / 436.7 MB, free: 2.426 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2314, allocations: 0 / 436.7 MB, free: 2.426 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2314, allocations: 4 kB / 436.7 MB, free: 2.422 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.728e-06/0.2314, allocations: 0 / 436.7 MB, free: 2.422 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.0007645/0.2322, allocations: 462.6 kB / 437.1 MB, free: 1.934 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.2322, allocations: 12.03 kB / 437.1 MB, free: 1.922 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.033e-05/0.2323, allocations: 20.8 kB / 437.1 MB, free: 1.902 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003504/0.2326, allocations: 217 kB / 437.4 MB, free: 1.668 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.2326, allocations: 8.375 kB / 437.4 MB, free: 1.66 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.88e-05/0.2326, allocations: 8.125 kB / 437.4 MB, free: 1.652 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003441/0.233, allocations: 161.7 kB / 437.5 MB, free: 1.473 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.233, allocations: 3.938 kB / 437.5 MB, free: 1.469 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.233, allocations: 0 / 437.5 MB, free: 1.469 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.233, allocations: 4 kB / 437.5 MB, free: 1.465 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001167/0.2331, allocations: 39.92 kB / 437.6 MB, free: 1.426 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005144/0.2336, allocations: 382.2 kB / 438 MB, free: 1.012 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002684/0.2339, allocations: 138.5 kB / 438.1 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/0.234, allocations: 51.42 kB / 438.1 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.234, allocations: 4 kB / 438.1 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001823/0.2342, allocations: 97.03 kB / 438.2 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.503e-06/0.2342, allocations: 0 / 438.2 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004101/0.2346, allocations: 169.7 kB / 438.4 MB, free: 500 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.228e-05/0.2347, allocations: 132.5 kB / 438.5 MB, free: 336 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003238/0.235, allocations: 281 kB / 438.8 MB, free: 44 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.2351, allocations: 29.7 kB / 438.8 MB, free: 8 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.2352, allocations: 120.4 kB / 439 MB, free: 15.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.302e-05/0.2352, allocations: 15.91 kB / 439 MB, free: 15.87 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.028e-05/0.2353, allocations: 37.66 kB / 439 MB, free: 15.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.2354, allocations: 330.8 kB / 439.3 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.276e-05/0.2355, allocations: 27.98 kB / 439.4 MB, free: 15.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001734/0.2357, allocations: 103.6 kB / 439.5 MB, free: 15.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001607/0.2358, allocations: 93.14 kB / 439.6 MB, free: 15.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2358, allocations: 0 / 439.6 MB, free: 15.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002525/0.2361, allocations: 125.5 kB / 439.7 MB, free: 15.1 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.2361, allocations: 8 kB / 439.7 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.2361, allocations: 160 / 439.7 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.2361, allocations: 8 kB / 439.7 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.325e-05/0.2362, allocations: 15.92 kB / 439.7 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.263e-05/0.2362, allocations: 4 kB / 439.7 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.365e-05/0.2363, allocations: 15.89 kB / 439.7 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.2363, allocations: 4 kB / 439.7 MB, free: 15.04 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.0001627/0.2365, allocations: 141.8 kB / 439.9 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.753e-05/0.2365, allocations: 23.86 kB / 439.9 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002615/0.2368, allocations: 131.3 kB / 440 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.2368, allocations: 4 kB / 440 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.2368, allocations: 0 / 440 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.133e-05/0.2369, allocations: 31.83 kB / 440.1 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.342e-05/0.2369, allocations: 12.25 kB / 440.1 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.4e-05/0.237, allocations: 11.98 kB / 440.1 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.128e-05/0.237, allocations: 7.922 kB / 440.1 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003993/0.2374, allocations: 442.6 kB / 440.5 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004494/0.2379, allocations: 0.5278 MB / 441 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.689e-05/0.238, allocations: 52 kB / 441.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002195/0.2382, allocations: 204.5 kB / 441.3 MB, free: 13.43 MB / 350.1 MB Notification: Performance of Backend: time 1.8e-07/0.2382, allocations: 0 / 441.3 MB, free: 13.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00227/0.2404, allocations: 473.8 kB / 441.8 MB, free: 13.15 MB / 350.1 MB Notification: Performance of SimCode: time 0.0009148/0.2414, allocations: 0.7871 MB / 442.5 MB, free: 12.32 MB / 350.1 MB Notification: Performance of Templates: time 0.006705/0.2481, allocations: 2.893 MB / 445.4 MB, free: 9.473 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.3068144930002745] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'shiftSample1.y', 'hold1.y'] 0.2557690920002642 0.27077723200000003 0.036238265000000006 Calling exit ...