Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001834/0.001834, allocations: 112.3 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002273/0.002273, allocations: 210.4 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.527/1.527, allocations: 230.4 MB / 258.1 MB, free: 8.152 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002149/0.002149, allocations: 67.83 kB / 378.8 MB, free: 2.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2555/0.2576, allocations: 53.31 MB / 432.1 MB, free: 7.398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.003054/0.2607, allocations: 1.524 MB / 433.6 MB, free: 5.871 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009818/0.2617, allocations: 490.7 kB / 434.1 MB, free: 5.387 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.135e-05/0.2618, allocations: 0 / 434.1 MB, free: 5.387 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.803e-05/0.2618, allocations: 3.938 kB / 434.1 MB, free: 5.383 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.531e-05/0.2619, allocations: 7.875 kB / 434.1 MB, free: 5.375 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003065/0.2622, allocations: 31.91 kB / 434.1 MB, free: 5.344 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.2623, allocations: 39.84 kB / 434.1 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.32e-05/0.2624, allocations: 8 kB / 434.2 MB, free: 5.297 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001402/0.2625, allocations: 27.92 kB / 434.2 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.757e-05/0.2626, allocations: 19.91 kB / 434.2 MB, free: 5.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.2626, allocations: 4 kB / 434.2 MB, free: 5.246 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.422e-05/0.2627, allocations: 4 kB / 434.2 MB, free: 5.242 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.822e-05/0.2627, allocations: 7.938 kB / 434.2 MB, free: 5.234 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.214e-05/0.2627, allocations: 11.94 kB / 434.2 MB, free: 5.223 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001322/0.2629, allocations: 53.66 kB / 434.3 MB, free: 5.172 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.2629, allocations: 0 / 434.3 MB, free: 5.172 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2629, allocations: 0 / 434.3 MB, free: 5.172 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.2629, allocations: 0 / 434.3 MB, free: 5.172 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.0004943/0.2634, allocations: 359.3 kB / 434.6 MB, free: 4.773 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.2634, allocations: 12.03 kB / 434.6 MB, free: 4.762 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001671/0.2636, allocations: 12.92 kB / 434.7 MB, free: 4.75 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002687/0.2638, allocations: 176.3 kB / 434.8 MB, free: 4.539 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.2638, allocations: 4.375 kB / 434.8 MB, free: 4.535 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.2639, allocations: 4.375 kB / 434.8 MB, free: 4.531 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003415/0.2642, allocations: 119.5 kB / 435 MB, free: 4.402 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.2642, allocations: 0 / 435 MB, free: 4.402 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.2642, allocations: 4 kB / 435 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.2642, allocations: 0 / 435 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.338e-05/0.2643, allocations: 19.98 kB / 435 MB, free: 4.379 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001919/0.2645, allocations: 161.6 kB / 435.1 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001631/0.2647, allocations: 58.58 kB / 435.2 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.859e-05/0.2647, allocations: 24.89 kB / 435.2 MB, free: 4.078 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.2648, allocations: 3.938 kB / 435.2 MB, free: 4.074 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.2648, allocations: 38.5 kB / 435.3 MB, free: 4.027 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.2648, allocations: 0 / 435.3 MB, free: 4.027 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002524/0.265, allocations: 77.66 kB / 435.3 MB, free: 3.945 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.2651, allocations: 51.41 kB / 435.4 MB, free: 3.883 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.97e-05/0.2652, allocations: 113.8 kB / 435.5 MB, free: 3.762 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.2652, allocations: 29.7 kB / 435.5 MB, free: 3.727 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.252e-05/0.2652, allocations: 88.12 kB / 435.6 MB, free: 3.637 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.734e-06/0.2653, allocations: 0 / 435.6 MB, free: 3.637 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.333e-05/0.2653, allocations: 13.72 kB / 435.6 MB, free: 3.617 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.2655, allocations: 314.8 kB / 435.9 MB, free: 3.301 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.787e-05/0.2655, allocations: 15.92 kB / 435.9 MB, free: 3.285 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.298e-05/0.2655, allocations: 27.44 kB / 436 MB, free: 3.246 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.21e-05/0.2656, allocations: 27.38 kB / 436 MB, free: 3.207 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.2656, allocations: 12.38 kB / 436 MB, free: 3.195 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.308e-05/0.2657, allocations: 61.58 kB / 436.1 MB, free: 3.129 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.2657, allocations: 7.938 kB / 436.1 MB, free: 3.121 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.2657, allocations: 0 / 436.1 MB, free: 3.121 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.2657, allocations: 7.938 kB / 436.1 MB, free: 3.113 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.212e-05/0.2657, allocations: 4 kB / 436.1 MB, free: 3.109 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.2658, allocations: 0 / 436.1 MB, free: 3.109 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.079e-05/0.2658, allocations: 4 kB / 436.1 MB, free: 3.105 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.2658, allocations: 4.109 kB / 436.1 MB, free: 3.102 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 9.569e-05/0.2659, allocations: 121.8 kB / 436.2 MB, free: 2.973 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.61e-05/0.2659, allocations: 7.938 kB / 436.2 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.154e-05/0.2659, allocations: 3.906 kB / 436.2 MB, free: 2.957 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.2659, allocations: 0 / 436.2 MB, free: 2.957 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2659, allocations: 0 / 436.2 MB, free: 2.957 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.49e-05/0.266, allocations: 93.05 kB / 436.3 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/0.266, allocations: 0 / 436.3 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.687e-05/0.266, allocations: 0 / 436.3 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.787e-06/0.2661, allocations: 0 / 436.3 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001978/0.2662, allocations: 144.9 kB / 436.5 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002295/0.2665, allocations: 246.6 kB / 436.7 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.264e-05/0.2665, allocations: 15.98 kB / 436.7 MB, free: 2.426 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.897e-05/0.2666, allocations: 91.27 kB / 436.8 MB, free: 2.336 MB / 334.1 MB Notification: Performance of Backend: time 3e-07/0.2666, allocations: 0 / 436.8 MB, free: 2.336 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003885/0.267, allocations: 102.3 kB / 436.9 MB, free: 2.227 MB / 334.1 MB Notification: Performance of SimCode: time 0.0006722/0.2677, allocations: 0.5776 MB / 437.5 MB, free: 1.602 MB / 334.1 MB Notification: Performance of Templates: time 0.003067/0.2707, allocations: 408.8 kB / 437.9 MB, free: 1.207 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.528507546056062] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock1.y'] 0.2801049561239779 0.296179427 0.029765181 Calling exit ...