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.001219/0.001219, allocations: 85.17 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.007403/0.007403, allocations: 147.1 kB / 24.89 MB, free: 8.742 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.9153/0.9153, allocations: 173.4 MB / 201.5 MB, free: 8.73 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.382e-06/1.382e-06, allocations: 0 / 268.5 MB, free: 5.977 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.476e-05/1.614e-05, allocations: 6.109 kB / 268.5 MB, free: 5.973 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.005253/0.005269, allocations: 7.036 MB / 275.5 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009107/0.01438, allocations: 10.14 MB / 285.7 MB, free: 4.715 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008506/0.01523, allocations: 122.6 kB / 285.8 MB, free: 4.594 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001201/0.01643, allocations: 0.6697 MB / 286.5 MB, free: 3.922 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002687/0.01912, allocations: 1.227 MB / 287.7 MB, free: 2.684 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001354/0.02047, allocations: 0.5909 MB / 288.3 MB, free: 2.09 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1062/0.1267, allocations: 2.672 MB / 291 MB, free: 17.14 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003834/0.1271, allocations: 188.9 kB / 291.2 MB, free: 17.05 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001087/0.1282, allocations: 1.027 MB / 292.2 MB, free: 17.05 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004537/0.1286, allocations: 407.9 kB / 292.6 MB, free: 17.05 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.042e-05/0.1287, allocations: 54.81 kB / 292.6 MB, free: 17.05 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001392/0.1301, allocations: 0.7802 MB / 293.4 MB, free: 17.05 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.1302, allocations: 192 kB / 293.6 MB, free: 17.05 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003327/0.1306, allocations: 384.6 kB / 294 MB, free: 17.05 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001394/0.1319, allocations: 1.504 MB / 295.5 MB, free: 16.87 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.1319, allocations: 1.312 kB / 295.5 MB, free: 16.87 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.021e-06/0.132, allocations: 0 / 295.5 MB, free: 16.87 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.759e-05/0.132, allocations: 0 / 295.5 MB, free: 16.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.001617/0.1336, allocations: 1.934 MB / 297.4 MB, free: 15.77 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.1336, allocations: 10.27 kB / 297.4 MB, free: 15.77 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001848/0.1338, allocations: 165.2 kB / 297.6 MB, free: 15.77 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/0.1348, allocations: 1.075 MB / 298.7 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.552e-05/0.1349, allocations: 36.25 kB / 298.7 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.64e-05/0.1349, allocations: 43.42 kB / 298.7 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004181/0.1353, allocations: 348.7 kB / 299.1 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.1353, allocations: 7.594 kB / 299.1 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.724e-05/0.1354, allocations: 23.06 kB / 299.1 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.523e-05/0.1354, allocations: 17.06 kB / 299.1 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002353/0.1356, allocations: 164.3 kB / 299.3 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001419/0.137, allocations: 1.25 MB / 300.5 MB, free: 14.78 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002882/0.1373, allocations: 355.3 kB / 300.9 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002199/0.1375, allocations: 280.6 kB / 301.2 MB, free: 14.69 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003254/0.1408, allocations: 2.653 MB / 303.8 MB, free: 14.26 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001945/0.141, allocations: 182 kB / 304 MB, free: 14.21 MB / 266.7 MB Notification: Performance of pre-optimization done (n=55): time 1.683e-06/0.141, allocations: 3.219 kB / 304 MB, free: 14.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=59): time 0.001196/0.1422, allocations: 1.029 MB / 305 MB, free: 13.95 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.154e-05/0.1422, allocations: 60.48 kB / 305.1 MB, free: 13.89 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005765/0.1428, allocations: 1.184 MB / 306.3 MB, free: 13.72 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/0.1428, allocations: 35.8 kB / 306.3 MB, free: 13.69 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001668/0.143, allocations: 425.8 kB / 306.7 MB, free: 13.5 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.492e-05/0.1431, allocations: 209.4 kB / 306.9 MB, free: 13.37 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.046e-05/0.1431, allocations: 104.2 kB / 307 MB, free: 13.34 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.978e-05/0.1432, allocations: 346.2 kB / 307.4 MB, free: 13.03 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.57e-05/0.1433, allocations: 66.58 kB / 307.4 MB, free: 13.03 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.1434, allocations: 238.6 kB / 307.7 MB, free: 12.85 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002721/0.1437, allocations: 380 kB / 308 MB, free: 12.66 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.1437, allocations: 7.219 kB / 308 MB, free: 12.65 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0004739/0.1441, allocations: 0.5359 MB / 308.6 MB, free: 12.59 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.1441, allocations: 6.094 kB / 308.6 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.866e-05/0.1442, allocations: 12.41 kB / 308.6 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002166/0.1444, allocations: 131.1 kB / 308.7 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002635/0.1447, allocations: 128.2 kB / 308.8 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009978/0.1457, allocations: 1.838 MB / 310.7 MB, free: 11.22 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002347/0.1459, allocations: 27.03 kB / 310.7 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.45e-05/0.1459, allocations: 24.16 kB / 310.7 MB, free: 11.2 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.0001513/0.1461, allocations: 145.2 kB / 310.9 MB, free: 11.07 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.147e-05/0.1462, allocations: 138.6 kB / 311 MB, free: 11.03 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005665/0.1467, allocations: 0.5527 MB / 311.6 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.1467, allocations: 7.281 kB / 311.6 MB, free: 10.56 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.1467, allocations: 7.938 kB / 311.6 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.1468, allocations: 3.703 kB / 311.6 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004346/0.1472, allocations: 489.8 kB / 312.1 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.051e-05/0.1472, allocations: 10.11 kB / 312.1 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001653/0.1474, allocations: 78.91 kB / 312.1 MB, free: 10.15 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001877/0.1476, allocations: 123.8 kB / 312.3 MB, free: 10.06 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2e-05/0.1476, allocations: 10.08 kB / 312.3 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008705/0.1485, allocations: 1.821 MB / 314.1 MB, free: 8.273 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1485, allocations: 0 / 314.1 MB, free: 8.273 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004649/0.1489, allocations: 0.5638 MB / 314.7 MB, free: 7.711 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001347/0.1491, allocations: 154.8 kB / 314.8 MB, free: 7.559 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.217e-05/0.1491, allocations: 16 kB / 314.8 MB, free: 7.543 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001522/0.1493, allocations: 12 kB / 314.8 MB, free: 7.531 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.526e-05/0.1494, allocations: 44.41 kB / 314.9 MB, free: 7.484 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.116e-05/0.1494, allocations: 8 kB / 314.9 MB, free: 7.477 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002705/0.1497, allocations: 0.6084 MB / 315.5 MB, free: 6.953 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1497, allocations: 3.938 kB / 315.5 MB, free: 6.949 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005782/0.1502, allocations: 391.1 kB / 315.9 MB, free: 6.566 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.000465/0.1507, allocations: 0.5225 MB / 316.4 MB, free: 6.102 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004903/0.1512, allocations: 0.5453 MB / 316.9 MB, free: 5.562 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.314e-05/0.1512, allocations: 28.06 kB / 317 MB, free: 5.535 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002942/0.1515, allocations: 413.5 kB / 317.4 MB, free: 5.113 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004472/0.1519, allocations: 208.9 kB / 317.6 MB, free: 4.91 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.1535, allocations: 2.087 MB / 319.7 MB, free: 2.797 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001004/0.1536, allocations: 232.6 kB / 319.9 MB, free: 2.547 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002579/0.1539, allocations: 187.3 kB / 320.1 MB, free: 2.359 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002432/0.1541, allocations: 269.3 kB / 320.3 MB, free: 2.094 MB / 266.7 MB Notification: Performance of SimCode: time 9.12e-07/0.1541, allocations: 2.438 kB / 320.3 MB, free: 2.094 MB / 266.7 MB Notification: Performance of Templates: time 0.0198/0.1739, allocations: 15.9 MB / 336.2 MB, free: 2.434 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 -s gbode -gbm=radauIIA3 -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.8519655629061162]