Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.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.001628/0.001628, allocations: 106.5 kB / 21.2 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.002056/0.002056, allocations: 212.6 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.462/1.462, allocations: 230.6 MB / 258.3 MB, free: 7.738 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.RealSignals.TimeBasedSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 51.92 kB / 379 MB, free: 2.426 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2237, allocations: 53.36 MB / 432.3 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.002709/0.2265, allocations: 1.5 MB / 433.8 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008224/0.2273, allocations: 446.8 kB / 434.3 MB, free: 4.742 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.086e-05/0.2273, allocations: 3.938 kB / 434.3 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.456e-05/0.2274, allocations: 3.984 kB / 434.3 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.04e-05/0.2274, allocations: 11.88 kB / 434.3 MB, free: 4.723 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002411/0.2277, allocations: 31.16 kB / 434.3 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.821e-05/0.2278, allocations: 39.86 kB / 434.4 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.142e-05/0.2279, allocations: 11.98 kB / 434.4 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001166/0.228, allocations: 35.84 kB / 434.4 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.321e-05/0.228, allocations: 11.94 kB / 434.4 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.228, allocations: 4 kB / 434.4 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.267e-05/0.2281, allocations: 4 kB / 434.4 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.545e-05/0.2281, allocations: 7.984 kB / 434.4 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.004e-05/0.2281, allocations: 19.88 kB / 434.5 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001014/0.2282, allocations: 35.53 kB / 434.5 MB, free: 4.531 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.2282, allocations: 4 kB / 434.5 MB, free: 4.527 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.2282, allocations: 0 / 434.5 MB, free: 4.527 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.2282, allocations: 0 / 434.5 MB, free: 4.527 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.0004085/0.2286, allocations: 281.2 kB / 434.8 MB, free: 4.227 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.2287, allocations: 8.031 kB / 434.8 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001378/0.2288, allocations: 12.92 kB / 434.8 MB, free: 4.207 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001896/0.229, allocations: 126.4 kB / 434.9 MB, free: 4.059 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.229, allocations: 8.344 kB / 434.9 MB, free: 4.051 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.597e-05/0.229, allocations: 4.375 kB / 434.9 MB, free: 4.047 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003097/0.2293, allocations: 119.5 kB / 435 MB, free: 3.918 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.2293, allocations: 0 / 435 MB, free: 3.918 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.2294, allocations: 0 / 435 MB, free: 3.918 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.2294, allocations: 7.984 kB / 435.1 MB, free: 3.91 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.807e-05/0.2295, allocations: 19.92 kB / 435.1 MB, free: 3.891 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001162/0.2296, allocations: 113.3 kB / 435.2 MB, free: 3.75 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001474/0.2297, allocations: 50.56 kB / 435.2 MB, free: 3.691 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.113e-05/0.2298, allocations: 24.92 kB / 435.3 MB, free: 3.664 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.682e-05/0.2298, allocations: 4 kB / 435.3 MB, free: 3.66 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.2298, allocations: 38.5 kB / 435.3 MB, free: 3.613 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.2298, allocations: 0 / 435.3 MB, free: 3.613 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002326/0.2301, allocations: 81.53 kB / 435.4 MB, free: 3.527 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.031e-05/0.2301, allocations: 51.41 kB / 435.4 MB, free: 3.465 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.641e-05/0.2302, allocations: 113.8 kB / 435.5 MB, free: 3.344 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.2302, allocations: 25.7 kB / 435.6 MB, free: 3.312 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.39e-05/0.2303, allocations: 84.14 kB / 435.7 MB, free: 3.227 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.739e-06/0.2303, allocations: 0 / 435.7 MB, free: 3.227 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.719e-05/0.2303, allocations: 25.7 kB / 435.7 MB, free: 3.195 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.2304, allocations: 314.8 kB / 436 MB, free: 2.879 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.21e-05/0.2304, allocations: 4 kB / 436 MB, free: 2.875 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.15e-05/0.2305, allocations: 27.44 kB / 436 MB, free: 2.836 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.823e-05/0.2305, allocations: 43.36 kB / 436.1 MB, free: 2.781 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2305, allocations: 0 / 436.1 MB, free: 2.781 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.013e-05/0.2306, allocations: 61.59 kB / 436.1 MB, free: 2.715 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.2306, allocations: 11.98 kB / 436.1 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.2306, allocations: 0 / 436.1 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.2306, allocations: 3.938 kB / 436.1 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.751e-05/0.2307, allocations: 8 kB / 436.1 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.2307, allocations: 0 / 436.1 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.159e-05/0.2307, allocations: 4 kB / 436.1 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.397e-06/0.2307, allocations: 0 / 436.1 MB, free: 2.688 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: 0 () * 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 8.011e-05/0.2308, allocations: 117.8 kB / 436.3 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.598e-06/0.2308, allocations: 0 / 436.3 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.412e-05/0.2309, allocations: 19.98 kB / 436.3 MB, free: 2.535 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.2309, allocations: 0 / 436.3 MB, free: 2.535 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.2309, allocations: 3.938 kB / 436.3 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.684e-05/0.2309, allocations: 16.17 kB / 436.3 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.2309, allocations: 0 / 436.3 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.792e-05/0.2309, allocations: 0 / 436.3 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.915e-06/0.2309, allocations: 0 / 436.3 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001916/0.2311, allocations: 148.9 kB / 436.4 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002087/0.2313, allocations: 239.1 kB / 436.7 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.221e-05/0.2314, allocations: 19.98 kB / 436.7 MB, free: 2.094 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.866e-05/0.2314, allocations: 95.16 kB / 436.8 MB, free: 2 MB / 334.1 MB Notification: Performance of Backend: time 2.3e-07/0.2314, allocations: 0 / 436.8 MB, free: 2 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003415/0.2318, allocations: 92.8 kB / 436.9 MB, free: 1.906 MB / 334.1 MB Notification: Performance of SimCode: time 0.0004499/0.2322, allocations: 0.5726 MB / 437.5 MB, free: 1.289 MB / 334.1 MB Notification: Performance of Templates: time 0.00261/0.2348, allocations: 440 kB / 437.9 MB, free: 0.8633 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.1310215780031285] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock1.y'] 0.24285116800456308 0.257743681 0.026455791000000003 Calling exit ...