Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001319/0.001319, allocations: 88.73 kB / 21.5 MB, free: 2.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001471/0.001471, allocations: 164.2 kB / 24.91 MB, free: 8.762 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8722/0.8722, allocations: 177 MB / 205.2 MB, free: 5.051 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.Oscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 273.4 MB, free: 1.086 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.159e-05/2.294e-05, allocations: 5.125 kB / 273.4 MB, free: 1.082 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.007693/0.007716, allocations: 6.997 MB / 280.4 MB, free: 10.05 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.09753/0.1052, allocations: 10.18 MB / 290.6 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008989/0.1061, allocations: 123.4 kB / 290.7 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001147/0.1073, allocations: 0.6632 MB / 291.3 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002184/0.1095, allocations: 1.265 MB / 292.6 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001164/0.1106, allocations: 0.6899 MB / 293.3 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002348/0.113, allocations: 2.709 MB / 296 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002518/0.1132, allocations: 188.7 kB / 296.2 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009914/0.1142, allocations: 1.043 MB / 297.2 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004305/0.1147, allocations: 406.7 kB / 297.6 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.281e-05/0.1147, allocations: 58.62 kB / 297.7 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009277/0.1157, allocations: 0.6944 MB / 298.4 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001086/0.1158, allocations: 190.9 kB / 298.6 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003285/0.1161, allocations: 386.2 kB / 298.9 MB, free: 13.13 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001235/0.1173, allocations: 1.501 MB / 300.4 MB, free: 12.87 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.1173, allocations: 0 / 300.4 MB, free: 12.87 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1173, allocations: 1.156 kB / 300.4 MB, free: 12.87 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.96e-05/0.1174, allocations: 0 / 300.4 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.001441/0.1188, allocations: 1.943 MB / 302.4 MB, free: 11.74 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.757e-05/0.1188, allocations: 12.39 kB / 302.4 MB, free: 11.74 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001675/0.119, allocations: 163.9 kB / 302.6 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/0.1201, allocations: 1.084 MB / 303.6 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.1201, allocations: 32.03 kB / 303.7 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.616e-05/0.1202, allocations: 49.22 kB / 303.7 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000334/0.1205, allocations: 345.8 kB / 304.1 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.1205, allocations: 3.938 kB / 304.1 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.583e-05/0.1205, allocations: 17.03 kB / 304.1 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.1206, allocations: 16.91 kB / 304.1 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001842/0.1207, allocations: 163.5 kB / 304.3 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001217/0.122, allocations: 1.251 MB / 305.5 MB, free: 10.3 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002363/0.1222, allocations: 349.5 kB / 305.9 MB, free: 10.16 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001852/0.1224, allocations: 282.1 kB / 306.1 MB, free: 10.11 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002955/0.1253, allocations: 2.666 MB / 308.8 MB, free: 9.254 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001525/0.1255, allocations: 190.5 kB / 309 MB, free: 9.078 MB / 266.7 MB Notification: Performance of pre-optimization done (n=55): time 1.824e-06/0.1255, allocations: 0 / 309 MB, free: 9.078 MB / 266.7 MB Notification: Performance of matching and sorting (n=59): time 0.001071/0.1266, allocations: 1.027 MB / 310 MB, free: 8.043 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.675e-05/0.1266, allocations: 59.91 kB / 310.1 MB, free: 7.973 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004931/0.1271, allocations: 1.177 MB / 311.2 MB, free: 7.035 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.1271, allocations: 41.7 kB / 311.3 MB, free: 6.988 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001354/0.1272, allocations: 422.7 kB / 311.7 MB, free: 6.645 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.651e-05/0.1273, allocations: 210.7 kB / 311.9 MB, free: 6.453 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.224e-05/0.1274, allocations: 115.7 kB / 312 MB, free: 6.344 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.788e-05/0.1274, allocations: 335.4 kB / 312.3 MB, free: 6.023 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.627e-05/0.1275, allocations: 65.62 kB / 312.4 MB, free: 5.961 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.1276, allocations: 242.3 kB / 312.6 MB, free: 5.672 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002086/0.1278, allocations: 389.1 kB / 313 MB, free: 5.254 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1278, allocations: 2.625 kB / 313 MB, free: 5.254 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0006094/0.1284, allocations: 0.54 MB / 313.6 MB, free: 4.75 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.1284, allocations: 4 kB / 313.6 MB, free: 4.746 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.193e-05/0.1285, allocations: 12 kB / 313.6 MB, free: 4.734 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002836/0.1287, allocations: 125 kB / 313.7 MB, free: 4.613 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003044/0.129, allocations: 114.5 kB / 313.8 MB, free: 4.508 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001257/0.1303, allocations: 1.828 MB / 315.6 MB, free: 2.645 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003307/0.1306, allocations: 27.98 kB / 315.7 MB, free: 2.617 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.462e-05/0.1307, allocations: 20 kB / 315.7 MB, free: 2.598 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.0001825/0.1309, allocations: 151.7 kB / 315.8 MB, free: 2.449 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001381/0.131, allocations: 131.8 kB / 316 MB, free: 2.32 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007881/0.1318, allocations: 0.5627 MB / 316.5 MB, free: 1.766 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.1318, allocations: 8 kB / 316.5 MB, free: 1.758 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.1318, allocations: 0 / 316.5 MB, free: 1.758 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1318, allocations: 0 / 316.5 MB, free: 1.758 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005113/0.1323, allocations: 490.2 kB / 317 MB, free: 1.355 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.289e-05/0.1324, allocations: 15.92 kB / 317 MB, free: 1.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001669/0.1325, allocations: 53.84 kB / 317.1 MB, free: 1.289 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002542/0.1328, allocations: 119.8 kB / 317.2 MB, free: 1.172 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.931e-05/0.1328, allocations: 8 kB / 317.2 MB, free: 1.164 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001505/0.1343, allocations: 1.835 MB / 319 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.1343, allocations: 0 / 319 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000807/0.1351, allocations: 0.557 MB / 319.6 MB, free: 14.73 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002396/0.1354, allocations: 161.6 kB / 319.8 MB, free: 14.58 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001258/0.1355, allocations: 12 kB / 319.8 MB, free: 14.57 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002712/0.1358, allocations: 20 kB / 319.8 MB, free: 14.55 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.402e-05/0.1358, allocations: 40.41 kB / 319.8 MB, free: 14.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.221e-05/0.1359, allocations: 12 kB / 319.8 MB, free: 14.49 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000566/0.1364, allocations: 0.6048 MB / 320.4 MB, free: 13.97 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1364, allocations: 0 / 320.4 MB, free: 13.97 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008371/0.1373, allocations: 387.2 kB / 320.8 MB, free: 13.59 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.0007025/0.138, allocations: 0.5099 MB / 321.3 MB, free: 13.13 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008067/0.1388, allocations: 0.5528 MB / 321.9 MB, free: 12.59 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-05/0.1388, allocations: 16 kB / 321.9 MB, free: 12.57 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005165/0.1393, allocations: 423.5 kB / 322.3 MB, free: 12.14 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006865/0.14, allocations: 218.6 kB / 322.5 MB, free: 11.94 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002622/0.1426, allocations: 2.081 MB / 324.6 MB, free: 9.832 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000205/0.1428, allocations: 228.6 kB / 324.8 MB, free: 9.586 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004269/0.1433, allocations: 187.2 kB / 325 MB, free: 9.398 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004427/0.1437, allocations: 269.3 kB / 325.3 MB, free: 9.133 MB / 282.7 MB Notification: Performance of SimCode: time 7.12e-07/0.1437, allocations: 4 kB / 325.3 MB, free: 9.129 MB / 282.7 MB Notification: Performance of Templates: time 0.01947/0.1632, allocations: 15.74 MB / 341 MB, free: 9.559 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 2.8510987209156156]