Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.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.00167/0.00167, 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.001757/0.001757, allocations: 214.8 kB / 24.49 MB, free: 3.938 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.439/1.439, allocations: 230.6 MB / 258.3 MB, free: 7.754 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.Electrical.Spice3.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|T1.vbe|T2.vbe",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator") translateModel(Modelica.Electrical.Spice3.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|T1.vbe|T2.vbe",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 51.92 kB / 379 MB, free: 2.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2621/0.2636, allocations: 53.36 MB / 432.3 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.008201/0.2718, allocations: 6.489 MB / 438.8 MB, free: 224 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01241/0.2843, allocations: 9.32 MB / 448.1 MB, free: 6.859 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008018/0.2851, allocations: 122.6 kB / 448.3 MB, free: 6.738 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001816/0.2869, allocations: 0.6489 MB / 448.9 MB, free: 6.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003048/0.2899, allocations: 1.206 MB / 450.1 MB, free: 4.875 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001595/0.2915, allocations: 0.6759 MB / 450.8 MB, free: 4.195 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003668/0.2952, allocations: 2.574 MB / 453.4 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003477/0.2955, allocations: 184.3 kB / 453.5 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006307/0.2962, allocations: 0.5132 MB / 454.1 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006132/0.2968, allocations: 0.5356 MB / 454.6 MB, free: 368 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001047/0.2969, allocations: 56 kB / 454.6 MB, free: 312 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001488/0.2984, allocations: 0.7182 MB / 455.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001725/0.2985, allocations: 186.8 kB / 455.5 MB, free: 15.4 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004958/0.299, allocations: 0.5046 MB / 456.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002253/0.3013, allocations: 1.98 MB / 458 MB, free: 12.91 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3013, allocations: 0 / 458 MB, free: 12.91 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3013, allocations: 11.94 kB / 458 MB, free: 12.89 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.46e-05/0.3013, allocations: 0 / 458 MB, free: 12.89 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.003061/0.3044, allocations: 1.963 MB / 460 MB, free: 10.89 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.3044, allocations: 8.031 kB / 460 MB, free: 10.88 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002463/0.3047, allocations: 207.7 kB / 460.2 MB, free: 10.68 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002119/0.3068, allocations: 1.244 MB / 461.5 MB, free: 9.379 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.975e-05/0.3068, allocations: 40.94 kB / 461.5 MB, free: 9.336 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.3069, allocations: 47.94 kB / 461.5 MB, free: 9.289 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/0.308, allocations: 0.5158 MB / 462.1 MB, free: 8.77 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.308, allocations: 3.938 kB / 462.1 MB, free: 8.766 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.435e-05/0.308, allocations: 20 kB / 462.1 MB, free: 8.746 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.049e-05/0.308, allocations: 16 kB / 462.1 MB, free: 8.73 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009917/0.309, allocations: 472.1 kB / 462.6 MB, free: 8.273 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003165/0.3122, allocations: 1.856 MB / 464.4 MB, free: 6.352 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009865/0.3132, allocations: 0.513 MB / 464.9 MB, free: 5.828 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000789/0.314, allocations: 469.3 kB / 465.4 MB, free: 5.371 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005322/0.3193, allocations: 2.268 MB / 467.7 MB, free: 3.078 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006524/0.3199, allocations: 313.6 kB / 468 MB, free: 2.758 MB / 366.1 MB Notification: Performance of pre-optimization done (n=61): time 2.655e-06/0.32, allocations: 0 / 468 MB, free: 2.758 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.005171/0.3251, allocations: 2.282 MB / 470.2 MB, free: 448 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.3252, allocations: 59.78 kB / 470.3 MB, free: 376 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001626/0.3268, allocations: 1.295 MB / 471.6 MB, free: 15.07 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.058e-05/0.3268, allocations: 37.7 kB / 471.6 MB, free: 15.03 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006505/0.3275, allocations: 0.7002 MB / 472.3 MB, free: 14.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001909/0.3277, allocations: 225.9 kB / 472.6 MB, free: 14.1 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002002/0.3279, allocations: 122.3 kB / 472.7 MB, free: 13.98 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.328, allocations: 337.9 kB / 473 MB, free: 13.64 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00048/0.3285, allocations: 217.6 kB / 473.2 MB, free: 13.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005933/0.3291, allocations: 360.5 kB / 473.6 MB, free: 13.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001127/0.3302, allocations: 0.6164 MB / 474.2 MB, free: 12.35 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.3302, allocations: 0 / 474.2 MB, free: 12.35 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001768/0.332, allocations: 0.9716 MB / 475.2 MB, free: 11.37 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.332, allocations: 8 kB / 475.2 MB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.988e-05/0.3321, allocations: 64 kB / 475.2 MB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005236/0.3326, allocations: 181.2 kB / 475.4 MB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004688/0.3331, allocations: 107.8 kB / 475.5 MB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003518/0.3366, allocations: 2.606 MB / 478.1 MB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004545/0.3371, allocations: 23.98 kB / 478.1 MB, free: 8.289 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.828e-05/0.3372, allocations: 35.94 kB / 478.2 MB, free: 8.254 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 7 (v.counter,$PRE.v.counter,v.counter2,$PRE.v.counter2,v.T0,$PRE.v.T0,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,17,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004384/0.3376, allocations: 273.7 kB / 478.4 MB, free: 7.977 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002171/0.3378, allocations: 186.9 kB / 478.6 MB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002066/0.3399, allocations: 0.9696 MB / 479.6 MB, free: 6.801 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.3399, allocations: 7.984 kB / 479.6 MB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-05/0.34, allocations: 60 kB / 479.7 MB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003924/0.3404, allocations: 182.8 kB / 479.8 MB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001497/0.3405, allocations: 12 kB / 479.9 MB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003874/0.3409, allocations: 15.98 kB / 479.9 MB, free: 6.527 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000138/0.3411, allocations: 68.25 kB / 479.9 MB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002138/0.3432, allocations: 0.844 MB / 480.8 MB, free: 5.609 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001973/0.3452, allocations: 1.195 MB / 482 MB, free: 4.398 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005065/0.3457, allocations: 219.6 kB / 482.2 MB, free: 4.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001134/0.3468, allocations: 0.8573 MB / 483 MB, free: 3.332 MB / 382.1 MB Notification: Performance of Backend: time 2.61e-07/0.3468, allocations: 4 kB / 483.1 MB, free: 3.328 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002781/0.3496, allocations: 1.221 MB / 484.3 MB, free: 2.078 MB / 382.1 MB Notification: Performance of SimCode: time 0.003999/0.3536, allocations: 3.149 MB / 487.4 MB, free: 14.85 MB / 398.1 MB Notification: Performance of Templates: time 0.03345/0.387, allocations: 18.36 MB / 0.4939 GB, free: 12.57 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.sim & ./Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.846827888002736] Failed to read output from testmodel.py, exit status != 0: ['time', 'T1.vbe', 'T2.vbe'] 0.3952931419989909 0.410424594 0.105885751 Calling exit ...