Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001169/0.001169, allocations: 80.92 kB / 22.29 MB, free: 2.207 MB / 18.57 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.001564/0.001564, allocations: 166.7 kB / 25.7 MB, free: 8.406 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9778/0.9778, allocations: 158.6 MB / 187.6 MB, free: 2.777 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 251.6 MB, free: 7.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.102e-05/2.289e-05, allocations: 6.25 kB / 251.6 MB, free: 7.242 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.005926/0.005949, allocations: 6.887 MB / 258.4 MB, free: 328 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01004/0.01599, allocations: 9.834 MB / 268.3 MB, free: 6.441 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008746/0.01686, allocations: 118.6 kB / 268.4 MB, free: 6.324 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001289/0.01815, allocations: 0.6619 MB / 269.1 MB, free: 5.656 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002378/0.02053, allocations: 1.211 MB / 270.3 MB, free: 4.438 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001179/0.02171, allocations: 0.587 MB / 270.9 MB, free: 3.848 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002516/0.02422, allocations: 2.624 MB / 273.5 MB, free: 1.211 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003166/0.02454, allocations: 201 kB / 273.7 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009115/0.02545, allocations: 0.9784 MB / 274.7 MB, free: 0 / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004924/0.02594, allocations: 398.7 kB / 275 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.069e-05/0.02602, allocations: 56 kB / 275.1 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001075/0.0271, allocations: 0.7523 MB / 275.8 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001258/0.02722, allocations: 190.7 kB / 276 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002794/0.0275, allocations: 386.8 kB / 276.4 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001466/0.02897, allocations: 1.498 MB / 277.9 MB, free: 12.73 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.02897, allocations: 0 / 277.9 MB, free: 12.73 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.02898, allocations: 0 / 277.9 MB, free: 12.73 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.533e-05/0.029, allocations: 0 / 277.9 MB, free: 12.73 MB / 266.7 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.001811/0.03081, allocations: 1.942 MB / 279.9 MB, free: 10.75 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.03086, allocations: 15.98 kB / 279.9 MB, free: 10.73 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001928/0.03105, allocations: 160.8 kB / 280 MB, free: 10.58 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001379/0.03243, allocations: 1.08 MB / 281.1 MB, free: 9.434 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.036e-05/0.03246, allocations: 37.12 kB / 281.1 MB, free: 9.398 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.58e-05/0.03253, allocations: 47.95 kB / 281.2 MB, free: 9.352 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004272/0.03295, allocations: 343.7 kB / 281.5 MB, free: 9.008 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.03297, allocations: 0 / 281.5 MB, free: 9.008 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.357e-05/0.033, allocations: 20 kB / 281.5 MB, free: 8.988 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.588e-05/0.03302, allocations: 15.98 kB / 281.6 MB, free: 8.973 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002242/0.03324, allocations: 164.5 kB / 281.7 MB, free: 8.812 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001607/0.03485, allocations: 1.243 MB / 283 MB, free: 7.52 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003516/0.0352, allocations: 354.7 kB / 283.3 MB, free: 7.156 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000256/0.03545, allocations: 273.6 kB / 283.6 MB, free: 6.891 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003563/0.03902, allocations: 2.654 MB / 286.2 MB, free: 4.219 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002001/0.03922, allocations: 182.1 kB / 286.4 MB, free: 4.027 MB / 266.7 MB Notification: Performance of pre-optimization done (n=55): time 1.633e-06/0.03922, allocations: 0 / 286.4 MB, free: 4.027 MB / 266.7 MB Notification: Performance of matching and sorting (n=59): time 0.001463/0.04068, allocations: 1.015 MB / 287.4 MB, free: 2.98 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.04072, allocations: 63.84 kB / 287.5 MB, free: 2.906 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007062/0.04142, allocations: 1.186 MB / 288.7 MB, free: 1.723 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.811e-05/0.04145, allocations: 29.7 kB / 288.7 MB, free: 1.688 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002189/0.04167, allocations: 432.3 kB / 289.1 MB, free: 1.258 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/0.04178, allocations: 214.2 kB / 289.3 MB, free: 1.047 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/0.04188, allocations: 106.2 kB / 289.4 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.639e-05/0.04197, allocations: 333.9 kB / 289.8 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.829e-05/0.04205, allocations: 65.62 kB / 289.8 MB, free: 0.543 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001519/0.0422, allocations: 239.8 kB / 290.1 MB, free: 248 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003849/0.04259, allocations: 480.9 kB / 290.5 MB, free: 15.7 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.04259, allocations: 4 kB / 290.5 MB, free: 15.7 MB / 282.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0005179/0.04311, allocations: 0.5283 MB / 291.1 MB, free: 15.16 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.04312, allocations: 12.12 kB / 291.1 MB, free: 15.14 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.785e-05/0.04316, allocations: 12 kB / 291.1 MB, free: 15.13 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000232/0.04339, allocations: 127.9 kB / 291.2 MB, free: 15.01 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002734/0.04367, allocations: 138 kB / 291.3 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001291/0.04496, allocations: 1.843 MB / 293.2 MB, free: 12.96 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001994/0.04516, allocations: 20 kB / 293.2 MB, free: 12.94 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.562e-05/0.04519, allocations: 20 kB / 293.2 MB, free: 12.92 MB / 282.7 MB Warning: Assuming fixed start value for the following 2 variables: T2.vbx:VARIABLE(unit = \"V\" fixed = true ) type: Real T1.vbx:VARIABLE(unit = \"V\" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (57): * Single equations (assignments): 54 * 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,14,81.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001983/0.04539, allocations: 153.7 kB / 293.4 MB, free: 12.76 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.634e-05/0.04549, allocations: 135.8 kB / 293.5 MB, free: 12.62 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006417/0.04613, allocations: 0.5626 MB / 294.1 MB, free: 12.05 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.04613, allocations: 7.938 kB / 294.1 MB, free: 12.04 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.04614, allocations: 4 kB / 294.1 MB, free: 12.04 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.04614, allocations: 0 / 294.1 MB, free: 12.04 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005866/0.04673, allocations: 490.9 kB / 294.6 MB, free: 11.54 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.241e-05/0.04676, allocations: 8 kB / 294.6 MB, free: 11.54 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001802/0.04694, allocations: 75.88 kB / 294.6 MB, free: 11.46 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000212/0.04716, allocations: 112.8 kB / 294.8 MB, free: 11.35 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.453e-05/0.04718, allocations: 19.92 kB / 294.8 MB, free: 11.33 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001228/0.04841, allocations: 1.831 MB / 296.6 MB, free: 9.418 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.04841, allocations: 0 / 296.6 MB, free: 9.418 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006109/0.04902, allocations: 0.5557 MB / 297.2 MB, free: 8.84 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001641/0.04918, allocations: 154.8 kB / 297.3 MB, free: 8.688 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.41e-05/0.04926, allocations: 12 kB / 297.3 MB, free: 8.676 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001963/0.04945, allocations: 19.86 kB / 297.3 MB, free: 8.656 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.417e-05/0.04954, allocations: 40.42 kB / 297.4 MB, free: 8.617 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.349e-05/0.04956, allocations: 15.98 kB / 297.4 MB, free: 8.602 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003924/0.04995, allocations: 0.6058 MB / 298 MB, free: 8.004 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04996, allocations: 0 / 298 MB, free: 8.004 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005737/0.05053, allocations: 391.2 kB / 298.4 MB, free: 7.621 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (T1.vbe,T1.vbx,T2.vbe,T2.vbx) * Number of discrete variables: 4 ($whenCondition1,v.T0,v.counter,v.counter2) * Number of discrete states: 2 (v.counter,v.counter2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 3 * 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,14,81.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005318/0.05106, allocations: 0.509 MB / 298.9 MB, free: 7.102 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005863/0.05165, allocations: 0.5536 MB / 299.5 MB, free: 6.523 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.41e-05/0.05167, allocations: 20 kB / 299.5 MB, free: 6.504 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003558/0.05203, allocations: 418.2 kB / 299.9 MB, free: 6.07 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003729/0.0524, allocations: 194.3 kB / 300.1 MB, free: 5.879 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001948/0.05435, allocations: 2.074 MB / 302.1 MB, free: 3.758 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001325/0.05448, allocations: 232.6 kB / 302.4 MB, free: 3.504 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000283/0.05476, allocations: 191.2 kB / 302.6 MB, free: 3.312 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002863/0.05505, allocations: 265.3 kB / 302.8 MB, free: 3.055 MB / 282.7 MB Notification: Performance of SimCode: time 5.81e-07/0.05505, allocations: 0 / 302.8 MB, free: 3.055 MB / 282.7 MB Notification: Performance of Templates: time 0.01977/0.07482, allocations: 15.83 MB / 318.6 MB, free: 3.238 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 2.8667227840051055]