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.001452/0.001452, allocations: 80.8 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.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.001647/0.001647, allocations: 170.5 kB / 24.91 MB, free: 9.215 MB / 18.57 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 0.9413/0.9413, allocations: 177.1 MB / 205.3 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] 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 1.002e-06/1.002e-06, allocations: 0 / 273.5 MB, free: 1.262 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.087e-05/2.187e-05, allocations: 4.984 kB / 273.5 MB, free: 1.258 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.005487/0.005508, allocations: 7.048 MB / 280.5 MB, free: 10.18 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1114/0.1169, allocations: 10.18 MB / 290.7 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001128/0.118, allocations: 126 kB / 290.8 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001382/0.1194, allocations: 0.659 MB / 291.5 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002757/0.1222, allocations: 1.229 MB / 292.7 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001353/0.1235, allocations: 0.5941 MB / 293.3 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00299/0.1265, allocations: 2.703 MB / 296 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003246/0.1268, allocations: 187.8 kB / 296.2 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001202/0.1281, allocations: 1.049 MB / 297.2 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005238/0.1286, allocations: 403.8 kB / 297.6 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001043/0.1287, allocations: 54.62 kB / 297.7 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001517/0.1302, allocations: 0.7841 MB / 298.5 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00011/0.1303, allocations: 191.5 kB / 298.7 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003761/0.1307, allocations: 390.6 kB / 299 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001474/0.1322, allocations: 1.505 MB / 300.5 MB, free: 12.87 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.1322, allocations: 1.375 kB / 300.5 MB, free: 12.87 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.1322, allocations: 0 / 300.5 MB, free: 12.87 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.112e-05/0.1322, allocations: 0 / 300.5 MB, free: 12.87 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.001659/0.1338, allocations: 1.938 MB / 302.5 MB, free: 11.75 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.1339, allocations: 9.938 kB / 302.5 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002031/0.1341, allocations: 162.3 kB / 302.7 MB, free: 11.74 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001013/0.1351, allocations: 1.083 MB / 303.7 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.1351, allocations: 31.97 kB / 303.8 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.512e-05/0.1352, allocations: 49.31 kB / 303.8 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003494/0.1355, allocations: 344.8 kB / 304.2 MB, free: 11 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.1355, allocations: 7.938 kB / 304.2 MB, free: 10.99 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.969e-05/0.1356, allocations: 17.84 kB / 304.2 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.1356, allocations: 17.06 kB / 304.2 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002068/0.1358, allocations: 167.3 kB / 304.4 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001324/0.1371, allocations: 1.242 MB / 305.6 MB, free: 10.32 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002488/0.1374, allocations: 349 kB / 305.9 MB, free: 10.19 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000202/0.1376, allocations: 284.1 kB / 306.2 MB, free: 10.12 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003099/0.1407, allocations: 2.674 MB / 308.9 MB, free: 9.293 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001776/0.1408, allocations: 195 kB / 309.1 MB, free: 9.152 MB / 266.7 MB Notification: Performance of pre-optimization done (n=55): time 2.455e-06/0.1408, allocations: 0 / 309.1 MB, free: 9.152 MB / 266.7 MB Notification: Performance of matching and sorting (n=59): time 0.001117/0.142, allocations: 1.026 MB / 310.1 MB, free: 8.117 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.073e-05/0.142, allocations: 59.91 kB / 310.2 MB, free: 8.047 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004901/0.1425, allocations: 1.181 MB / 311.3 MB, free: 7.105 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.1425, allocations: 41.69 kB / 311.4 MB, free: 7.059 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001506/0.1426, allocations: 420 kB / 311.8 MB, free: 6.719 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.208e-05/0.1427, allocations: 213.4 kB / 312 MB, free: 6.523 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.615e-05/0.1428, allocations: 114 kB / 312.1 MB, free: 6.422 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.061e-05/0.1428, allocations: 334.5 kB / 312.4 MB, free: 6.102 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.958e-05/0.1429, allocations: 72.81 kB / 312.5 MB, free: 6.035 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001071/0.143, allocations: 234.7 kB / 312.7 MB, free: 5.746 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002236/0.1432, allocations: 385.1 kB / 313.1 MB, free: 5.34 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.1432, allocations: 0 / 313.1 MB, free: 5.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0004315/0.1437, allocations: 0.5379 MB / 313.7 MB, free: 4.832 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.1437, allocations: 4 kB / 313.7 MB, free: 4.828 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.849e-05/0.1437, allocations: 19.98 kB / 313.7 MB, free: 4.809 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002143/0.1439, allocations: 129 kB / 313.8 MB, free: 4.688 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000244/0.1442, allocations: 132.8 kB / 313.9 MB, free: 4.566 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009808/0.1452, allocations: 1.834 MB / 315.8 MB, free: 2.699 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000202/0.1454, allocations: 23.92 kB / 315.8 MB, free: 2.676 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.597e-05/0.1454, allocations: 27.94 kB / 315.8 MB, free: 2.648 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.000146/0.1455, allocations: 151.2 kB / 316 MB, free: 2.5 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.487e-05/0.1456, allocations: 131.8 kB / 316.1 MB, free: 2.371 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005459/0.1462, allocations: 0.5567 MB / 316.7 MB, free: 1.82 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.1462, allocations: 4 kB / 316.7 MB, free: 1.816 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.1462, allocations: 4 kB / 316.7 MB, free: 1.812 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.1462, allocations: 0 / 316.7 MB, free: 1.812 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004093/0.1466, allocations: 497.9 kB / 317.2 MB, free: 1.406 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.107e-05/0.1466, allocations: 7.984 kB / 317.2 MB, free: 1.398 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001683/0.1468, allocations: 84.2 kB / 317.2 MB, free: 1.324 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001882/0.147, allocations: 122.5 kB / 317.4 MB, free: 1.207 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.943e-05/0.147, allocations: 8 kB / 317.4 MB, free: 1.199 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001013/0.148, allocations: 1.825 MB / 319.2 MB, free: 15.33 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.148, allocations: 0 / 319.2 MB, free: 15.33 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005732/0.1486, allocations: 0.5623 MB / 319.8 MB, free: 14.78 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001673/0.1487, allocations: 161.5 kB / 319.9 MB, free: 14.62 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.367e-05/0.1488, allocations: 8 kB / 319.9 MB, free: 14.61 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.149, allocations: 27.8 kB / 319.9 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.1491, allocations: 40.42 kB / 320 MB, free: 14.55 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.458e-05/0.1491, allocations: 11.98 kB / 320 MB, free: 14.54 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004141/0.1495, allocations: 0.6077 MB / 320.6 MB, free: 14.01 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1495, allocations: 0 / 320.6 MB, free: 14.01 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008921/0.1504, allocations: 395.1 kB / 321 MB, free: 13.62 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.0005576/0.151, allocations: 0.5069 MB / 321.5 MB, free: 13.17 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005852/0.1516, allocations: 0.5532 MB / 322.1 MB, free: 12.61 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-05/0.1516, allocations: 16 kB / 322.1 MB, free: 12.6 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003675/0.152, allocations: 422.5 kB / 322.5 MB, free: 12.17 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000486/0.1524, allocations: 206.2 kB / 322.7 MB, free: 11.98 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001951/0.1544, allocations: 2.087 MB / 324.8 MB, free: 9.863 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001445/0.1545, allocations: 232.6 kB / 325 MB, free: 9.613 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002894/0.1548, allocations: 187.5 kB / 325.2 MB, free: 9.426 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002887/0.1551, allocations: 273.3 kB / 325.4 MB, free: 9.16 MB / 282.7 MB Notification: Performance of SimCode: time 8.72e-07/0.1551, allocations: 0 / 325.4 MB, free: 9.16 MB / 282.7 MB Notification: Performance of Templates: time 0.02027/0.1754, allocations: 15.96 MB / 341.4 MB, free: 9.398 MB / 298.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 2.7532120081596076]