Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.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.00182/0.00182, allocations: 106.8 kB / 21.19 MB, free: 0.6406 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.002158/0.002158, allocations: 217.3 kB / 24.49 MB, free: 3.934 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.521/1.521, allocations: 230.6 MB / 258.3 MB, free: 7.734 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.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 47.92 kB / 379 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.222, allocations: 53.38 MB / 432.3 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.002597/0.2246, allocations: 1.45 MB / 433.8 MB, free: 5.246 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002622/0.2248, allocations: 91.7 kB / 433.9 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.977e-05/0.2249, allocations: 0 / 433.9 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.431e-05/0.2249, allocations: 3.938 kB / 433.9 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.7e-05/0.225, allocations: 3.938 kB / 433.9 MB, free: 5.148 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002194/0.2252, allocations: 27.95 kB / 433.9 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.116e-05/0.2253, allocations: 27.86 kB / 433.9 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.229e-05/0.2253, allocations: 11.78 kB / 434 MB, free: 5.086 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.669e-05/0.2254, allocations: 8 kB / 434 MB, free: 5.078 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.07e-05/0.2254, allocations: 15.92 kB / 434 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.2254, allocations: 8 kB / 434 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.845e-06/0.2254, allocations: 0 / 434 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.886e-05/0.2254, allocations: 7.922 kB / 434 MB, free: 5.047 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.149e-05/0.2255, allocations: 11.94 kB / 434 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 7.328e-05/0.2255, allocations: 23.91 kB / 434 MB, free: 5.012 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.2255, allocations: 3.938 kB / 434 MB, free: 5.008 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.2255, allocations: 0 / 434 MB, free: 5.008 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.2255, allocations: 0 / 434 MB, free: 5.008 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003686/0.2259, allocations: 261.2 kB / 434.3 MB, free: 4.727 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.226, allocations: 8.031 kB / 434.3 MB, free: 4.719 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.972e-05/0.226, allocations: 4.938 kB / 434.3 MB, free: 4.715 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001765/0.2262, allocations: 126.4 kB / 434.4 MB, free: 4.566 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.468e-05/0.2262, allocations: 8.375 kB / 434.4 MB, free: 4.559 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.934e-06/0.2262, allocations: 384 / 434.4 MB, free: 4.559 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002664/0.2265, allocations: 95.88 kB / 434.5 MB, free: 4.453 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.2265, allocations: 192 / 434.5 MB, free: 4.453 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.2265, allocations: 7.875 kB / 434.5 MB, free: 4.445 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.2265, allocations: 8 kB / 434.5 MB, free: 4.438 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.71e-05/0.2265, allocations: 15.98 kB / 434.6 MB, free: 4.422 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001145/0.2267, allocations: 105.3 kB / 434.7 MB, free: 4.289 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.2268, allocations: 46.55 kB / 434.7 MB, free: 4.234 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.727e-05/0.2268, allocations: 16.89 kB / 434.7 MB, free: 4.215 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.2268, allocations: 0 / 434.7 MB, free: 4.215 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.2269, allocations: 34.56 kB / 434.8 MB, free: 4.172 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.2269, allocations: 0 / 434.8 MB, free: 4.172 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001881/0.2271, allocations: 73.55 kB / 434.8 MB, free: 4.094 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.2271, allocations: 55.41 kB / 434.9 MB, free: 4.027 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.991e-05/0.2272, allocations: 105.8 kB / 435 MB, free: 3.914 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.2272, allocations: 25.7 kB / 435 MB, free: 3.883 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.994e-05/0.2272, allocations: 80.14 kB / 435.1 MB, free: 3.801 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.161e-06/0.2272, allocations: 4 kB / 435.1 MB, free: 3.797 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.838e-05/0.2273, allocations: 13.72 kB / 435.1 MB, free: 3.777 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.2274, allocations: 322.8 kB / 435.4 MB, free: 3.453 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.957e-06/0.2274, allocations: 0 / 435.4 MB, free: 3.453 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.128e-05/0.2274, allocations: 31.44 kB / 435.4 MB, free: 3.41 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.199e-05/0.2275, allocations: 35.56 kB / 435.5 MB, free: 3.363 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.2275, allocations: 4 kB / 435.5 MB, free: 3.359 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.22e-05/0.2276, allocations: 57.62 kB / 435.5 MB, free: 3.297 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.2276, allocations: 8 kB / 435.6 MB, free: 3.289 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.2276, allocations: 0 / 435.6 MB, free: 3.289 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.2276, allocations: 0 / 435.6 MB, free: 3.289 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.571e-05/0.2276, allocations: 15.86 kB / 435.6 MB, free: 3.273 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.427e-06/0.2276, allocations: 4.109 kB / 435.6 MB, free: 3.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.831e-05/0.2277, allocations: 8 kB / 435.6 MB, free: 3.262 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.226e-06/0.2277, allocations: 0 / 435.6 MB, free: 3.262 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (assignClock1.y,assignClock1.u,step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 7.448e-05/0.2277, allocations: 113.8 kB / 435.7 MB, free: 3.141 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.35e-05/0.2277, allocations: 11.95 kB / 435.7 MB, free: 3.129 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.177e-05/0.2278, allocations: 3.969 kB / 435.7 MB, free: 3.121 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.2278, allocations: 3.938 kB / 435.7 MB, free: 3.117 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.2278, allocations: 0 / 435.7 MB, free: 3.117 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.153e-06/0.2278, allocations: 3.984 kB / 435.7 MB, free: 3.113 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.2278, allocations: 7.984 kB / 435.7 MB, free: 3.105 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.267e-05/0.2278, allocations: 0 / 435.7 MB, free: 3.105 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.474e-06/0.2278, allocations: 4 kB / 435.7 MB, free: 3.102 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001354/0.228, allocations: 132.9 kB / 435.9 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001795/0.2281, allocations: 234.7 kB / 436.1 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.773e-05/0.2282, allocations: 11.98 kB / 436.1 MB, free: 2.707 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.276e-05/0.2282, allocations: 79.28 kB / 436.2 MB, free: 2.629 MB / 334.1 MB Notification: Performance of Backend: time 1.8e-07/0.2282, allocations: 3.938 kB / 436.2 MB, free: 2.625 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003038/0.2285, allocations: 92.73 kB / 436.3 MB, free: 2.527 MB / 334.1 MB Notification: Performance of SimCode: time 0.0004234/0.2289, allocations: 0.5536 MB / 436.8 MB, free: 1.926 MB / 334.1 MB Notification: Performance of Templates: time 0.002295/0.2312, allocations: 344.4 kB / 437.2 MB, free: 1.594 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.281130932999076] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock1.y'] 0.23877945300046122 0.253804064 0.025214233000000003 Calling exit ...