Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009198/0.0009198, allocations: 85.05 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 149.7 kB / 24.9 MB, free: 8.738 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9045/0.9045, allocations: 173.4 MB / 201.5 MB, free: 8.762 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Spice3.Examples.Oscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 268.5 MB, free: 6.062 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.767e-05/1.918e-05, allocations: 2.312 kB / 268.5 MB, free: 6.059 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.007267/0.007286, allocations: 6.993 MB / 275.5 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01333/0.02062, allocations: 10.15 MB / 285.6 MB, free: 4.844 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001104/0.02172, allocations: 122.6 kB / 285.7 MB, free: 4.723 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001719/0.02344, allocations: 0.6697 MB / 286.4 MB, free: 4.051 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002874/0.02631, allocations: 1.254 MB / 287.6 MB, free: 2.785 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001304/0.02762, allocations: 0.6971 MB / 288.3 MB, free: 2.086 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1048/0.1324, allocations: 2.671 MB / 291 MB, free: 17.29 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004421/0.1329, allocations: 187.2 kB / 291.2 MB, free: 17.2 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001307/0.1342, allocations: 1.023 MB / 292.2 MB, free: 17.2 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005654/0.1347, allocations: 412.5 kB / 292.6 MB, free: 17.2 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001252/0.1349, allocations: 55.81 kB / 292.7 MB, free: 17.2 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001447/0.1363, allocations: 0.6789 MB / 293.4 MB, free: 17.2 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000147/0.1365, allocations: 195.2 kB / 293.5 MB, free: 17.2 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000437/0.1369, allocations: 385.8 kB / 293.9 MB, free: 17.2 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001682/0.1386, allocations: 1.504 MB / 295.4 MB, free: 17.03 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.1386, allocations: 1.188 kB / 295.4 MB, free: 17.03 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1386, allocations: 0.5 kB / 295.4 MB, free: 17.03 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.868e-05/0.1386, allocations: 0 / 295.4 MB, free: 17.03 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.002031/0.1406, allocations: 1.937 MB / 297.4 MB, free: 15.92 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.1407, allocations: 11.92 kB / 297.4 MB, free: 15.92 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002414/0.1409, allocations: 164.2 kB / 297.5 MB, free: 15.92 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001338/0.1423, allocations: 1.074 MB / 298.6 MB, free: 15.44 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.817e-05/0.1423, allocations: 33.16 kB / 298.6 MB, free: 15.44 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.036e-05/0.1424, allocations: 48.06 kB / 298.7 MB, free: 15.44 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004813/0.1428, allocations: 344 kB / 299 MB, free: 15.37 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.1428, allocations: 7.641 kB / 299 MB, free: 15.37 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.576e-05/0.1429, allocations: 21.53 kB / 299.1 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.833e-05/0.1429, allocations: 16.73 kB / 299.1 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002912/0.1432, allocations: 163.7 kB / 299.2 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001771/0.145, allocations: 1.252 MB / 300.5 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003354/0.1453, allocations: 347.3 kB / 300.8 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002734/0.1456, allocations: 287.6 kB / 301.1 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004076/0.1496, allocations: 2.657 MB / 303.8 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002066/0.1499, allocations: 188.2 kB / 303.9 MB, free: 14.37 MB / 266.7 MB Notification: Performance of pre-optimization done (n=55): time 2.374e-06/0.1499, allocations: 0 / 303.9 MB, free: 14.37 MB / 266.7 MB Notification: Performance of matching and sorting (n=59): time 0.001425/0.1513, allocations: 1.02 MB / 305 MB, free: 14.12 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.134e-05/0.1513, allocations: 61.62 kB / 305 MB, free: 14.05 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007083/0.152, allocations: 1.183 MB / 306.2 MB, free: 13.88 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.781e-05/0.152, allocations: 36.14 kB / 306.2 MB, free: 13.85 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001896/0.1522, allocations: 427 kB / 306.7 MB, free: 13.66 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.033e-05/0.1523, allocations: 213.6 kB / 306.9 MB, free: 13.53 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.1524, allocations: 105 kB / 307 MB, free: 13.51 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.398e-05/0.1525, allocations: 340.8 kB / 307.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.377e-05/0.1526, allocations: 65.23 kB / 307.4 MB, free: 13.2 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/0.1527, allocations: 238.1 kB / 307.6 MB, free: 13.02 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003066/0.153, allocations: 393.7 kB / 308 MB, free: 12.82 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.153, allocations: 0 / 308 MB, free: 12.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0005883/0.1536, allocations: 0.5329 MB / 308.5 MB, free: 12.75 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.1536, allocations: 8.188 kB / 308.5 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-05/0.1537, allocations: 12.58 kB / 308.5 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000261/0.1539, allocations: 128.6 kB / 308.7 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000271/0.1542, allocations: 112.7 kB / 308.8 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001172/0.1554, allocations: 1.834 MB / 310.6 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000303/0.1557, allocations: 24.39 kB / 310.6 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.923e-05/0.1557, allocations: 17.91 kB / 310.6 MB, free: 11.36 MB / 266.7 MB 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.0001744/0.1559, allocations: 149.7 kB / 310.8 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001248/0.156, allocations: 139.5 kB / 310.9 MB, free: 11.22 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007288/0.1567, allocations: 0.5533 MB / 311.5 MB, free: 10.79 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.1567, allocations: 4 kB / 311.5 MB, free: 10.78 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1568, allocations: 5.125 kB / 311.5 MB, free: 10.78 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.1568, allocations: 7.5 kB / 311.5 MB, free: 10.78 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004931/0.1572, allocations: 493.6 kB / 312 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.96e-05/0.1573, allocations: 11.94 kB / 312 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001592/0.1574, allocations: 59.34 kB / 312 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002345/0.1577, allocations: 113.9 kB / 312.2 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.563e-05/0.1577, allocations: 15.75 kB / 312.2 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001084/0.1588, allocations: 1.827 MB / 314 MB, free: 8.492 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1588, allocations: 0 / 314 MB, free: 8.492 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006119/0.1594, allocations: 0.5622 MB / 314.6 MB, free: 7.934 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001987/0.1596, allocations: 158.8 kB / 314.7 MB, free: 7.777 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000113/0.1597, allocations: 12 kB / 314.7 MB, free: 7.766 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002314/0.1599, allocations: 8 kB / 314.7 MB, free: 7.758 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.245e-05/0.16, allocations: 48.41 kB / 314.8 MB, free: 7.707 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.636e-05/0.1601, allocations: 8 kB / 314.8 MB, free: 7.699 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003979/0.1605, allocations: 0.6077 MB / 315.4 MB, free: 7.176 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1605, allocations: 0 / 315.4 MB, free: 7.176 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006776/0.1611, allocations: 383.2 kB / 315.8 MB, free: 6.801 MB / 266.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.0005333/0.1617, allocations: 0.5181 MB / 316.3 MB, free: 6.332 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006059/0.1623, allocations: 0.557 MB / 316.9 MB, free: 5.777 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.576e-05/0.1623, allocations: 20 kB / 316.9 MB, free: 5.758 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003811/0.1627, allocations: 422.6 kB / 317.3 MB, free: 5.328 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005606/0.1632, allocations: 216 kB / 317.5 MB, free: 5.125 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001947/0.1652, allocations: 2.077 MB / 319.6 MB, free: 3.02 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001255/0.1653, allocations: 232.6 kB / 319.8 MB, free: 2.77 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003346/0.1656, allocations: 187.2 kB / 320 MB, free: 2.582 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000318/0.166, allocations: 257.3 kB / 320.2 MB, free: 2.332 MB / 266.7 MB Notification: Performance of SimCode: time 4.61e-07/0.166, allocations: 4 kB / 320.2 MB, free: 2.328 MB / 266.7 MB Notification: Performance of Templates: time 0.01893/0.1849, allocations: 15.69 MB / 335.9 MB, free: 2.855 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 2.9290155633352697]