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.0008576/0.0008576, allocations: 80.8 kB / 21.49 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.001345/0.001345, allocations: 168.7 kB / 24.91 MB, free: 9.191 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.8544/0.8544, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.202e-06/1.202e-06, allocations: 0 / 273.4 MB, free: 1.336 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.817e-06/1.002e-05, allocations: 2.312 kB / 273.4 MB, free: 1.332 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.004779/0.004789, allocations: 7.011 MB / 280.4 MB, free: 10.29 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007424/0.01221, allocations: 10.19 MB / 290.6 MB, free: 64 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.08839/0.1006, allocations: 119.6 kB / 290.7 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001387/0.102, allocations: 0.6611 MB / 291.4 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002518/0.1045, allocations: 1.263 MB / 292.7 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001249/0.1058, allocations: 0.685 MB / 293.3 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002404/0.1082, allocations: 2.708 MB / 296.1 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002672/0.1084, allocations: 189 kB / 296.2 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001027/0.1095, allocations: 1.051 MB / 297.3 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004344/0.1099, allocations: 399.1 kB / 297.7 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.36e-05/0.11, allocations: 55.5 kB / 297.7 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009544/0.1109, allocations: 0.692 MB / 298.4 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.111, allocations: 194.7 kB / 298.6 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003235/0.1114, allocations: 387.8 kB / 299 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00128/0.1126, allocations: 1.508 MB / 300.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.1126, allocations: 0 / 300.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.1126, allocations: 0 / 300.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.142e-05/0.1127, allocations: 1.375 kB / 300.5 MB, free: 12.88 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.001456/0.1141, allocations: 1.938 MB / 302.4 MB, free: 11.76 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.672e-05/0.1142, allocations: 8.688 kB / 302.5 MB, free: 11.76 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001727/0.1143, allocations: 163.8 kB / 302.6 MB, free: 11.76 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000972/0.1153, allocations: 1.079 MB / 303.7 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.1153, allocations: 31.06 kB / 303.7 MB, free: 11.17 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.617e-05/0.1154, allocations: 47.38 kB / 303.8 MB, free: 11.15 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003359/0.1157, allocations: 349.6 kB / 304.1 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.1157, allocations: 7.938 kB / 304.1 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.521e-05/0.1157, allocations: 14.44 kB / 304.1 MB, free: 11.03 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.1158, allocations: 18.16 kB / 304.1 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001853/0.1159, allocations: 164.9 kB / 304.3 MB, free: 11.01 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001228/0.1172, allocations: 1.248 MB / 305.6 MB, free: 10.37 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002375/0.1174, allocations: 352.7 kB / 305.9 MB, free: 10.23 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000188/0.1176, allocations: 287.8 kB / 306.2 MB, free: 10.16 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003014/0.1206, allocations: 2.667 MB / 308.9 MB, free: 9.332 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001582/0.1208, allocations: 189.4 kB / 309 MB, free: 9.188 MB / 266.7 MB Notification: Performance of pre-optimization done (n=55): time 1.503e-06/0.1208, allocations: 0 / 309 MB, free: 9.188 MB / 266.7 MB Notification: Performance of matching and sorting (n=59): time 0.001092/0.1219, allocations: 1.027 MB / 310.1 MB, free: 8.148 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.692e-05/0.1219, allocations: 55.91 kB / 310.1 MB, free: 8.082 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004892/0.1224, allocations: 1.188 MB / 311.3 MB, free: 7.137 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.1224, allocations: 33.7 kB / 311.3 MB, free: 7.098 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000138/0.1225, allocations: 428.3 kB / 311.8 MB, free: 6.75 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.539e-05/0.1226, allocations: 207.2 kB / 312 MB, free: 6.559 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.63e-05/0.1227, allocations: 112.9 kB / 312.1 MB, free: 6.453 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.757e-05/0.1227, allocations: 340 kB / 312.4 MB, free: 6.129 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.664e-05/0.1228, allocations: 69.62 kB / 312.5 MB, free: 6.062 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.1229, allocations: 240.6 kB / 312.7 MB, free: 5.777 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002175/0.1231, allocations: 385.8 kB / 313.1 MB, free: 5.363 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1231, allocations: 6.438 kB / 313.1 MB, free: 5.359 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0004177/0.1235, allocations: 0.5343 MB / 313.6 MB, free: 4.859 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.1235, allocations: 8 kB / 313.6 MB, free: 4.852 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.359e-05/0.1236, allocations: 11.98 kB / 313.6 MB, free: 4.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002006/0.1238, allocations: 127.5 kB / 313.8 MB, free: 4.719 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002013/0.124, allocations: 110.3 kB / 313.9 MB, free: 4.617 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009017/0.1249, allocations: 1.83 MB / 315.7 MB, free: 2.754 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002104/0.1251, allocations: 27.98 kB / 315.7 MB, free: 2.727 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.986e-05/0.1251, allocations: 20 kB / 315.8 MB, free: 2.707 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.0001414/0.1253, allocations: 153.5 kB / 315.9 MB, free: 2.555 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.088e-05/0.1253, allocations: 131.8 kB / 316 MB, free: 2.426 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000549/0.1259, allocations: 0.5582 MB / 316.6 MB, free: 1.879 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.1259, allocations: 4 kB / 316.6 MB, free: 1.875 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.1259, allocations: 8 kB / 316.6 MB, free: 1.867 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.1259, allocations: 3.984 kB / 316.6 MB, free: 1.863 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003612/0.1263, allocations: 489.4 kB / 317.1 MB, free: 1.465 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.834e-05/0.1263, allocations: 11.92 kB / 317.1 MB, free: 1.453 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/0.1264, allocations: 59.25 kB / 317.2 MB, free: 1.398 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000178/0.1266, allocations: 116.9 kB / 317.3 MB, free: 1.285 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.902e-05/0.1266, allocations: 19.92 kB / 317.3 MB, free: 1.266 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009451/0.1276, allocations: 1.83 MB / 319.1 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1276, allocations: 0 / 319.1 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005554/0.1281, allocations: 0.5569 MB / 319.7 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001683/0.1283, allocations: 162.8 kB / 319.8 MB, free: 14.68 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.068e-05/0.1284, allocations: 8 kB / 319.8 MB, free: 14.67 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001653/0.1285, allocations: 15.98 kB / 319.9 MB, free: 14.66 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.728e-05/0.1286, allocations: 38.25 kB / 319.9 MB, free: 14.62 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-05/0.1286, allocations: 15.98 kB / 319.9 MB, free: 14.6 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003666/0.129, allocations: 0.6007 MB / 320.5 MB, free: 14.09 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.129, allocations: 0 / 320.5 MB, free: 14.09 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005413/0.1295, allocations: 391.2 kB / 320.9 MB, free: 13.7 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.0005043/0.13, allocations: 0.5186 MB / 321.4 MB, free: 13.23 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005552/0.1306, allocations: 0.5524 MB / 322 MB, free: 12.68 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.384e-05/0.1306, allocations: 16 kB / 322 MB, free: 12.67 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003504/0.1309, allocations: 425.9 kB / 322.4 MB, free: 12.24 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000445/0.1314, allocations: 209.7 kB / 322.6 MB, free: 12.04 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001838/0.1332, allocations: 2.09 MB / 324.7 MB, free: 9.922 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001429/0.1334, allocations: 232.6 kB / 324.9 MB, free: 9.672 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002892/0.1337, allocations: 187.2 kB / 325.1 MB, free: 9.484 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002807/0.1339, allocations: 265.3 kB / 325.4 MB, free: 9.223 MB / 282.7 MB Notification: Performance of SimCode: time 5.41e-07/0.1339, allocations: 0 / 325.4 MB, free: 9.223 MB / 282.7 MB Notification: Performance of Templates: time 0.0186/0.1525, allocations: 15.74 MB / 341.1 MB, free: 9.656 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 -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.6400049049407244]