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.001414/0.001414, allocations: 81.91 kB / 21.42 MB, free: 3.07 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.001103/0.001103, allocations: 166.3 kB / 24.82 MB, free: 9.312 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.9214/0.9214, allocations: 177 MB / 205.1 MB, free: 5.484 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.493e-06/1.493e-06, allocations: 0 / 273.3 MB, free: 1.246 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.19e-05/1.34e-05, allocations: 2.312 kB / 273.3 MB, free: 1.242 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.00495/0.004963, allocations: 6.997 MB / 280.3 MB, free: 10.21 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007664/0.01263, allocations: 9.982 MB / 290.3 MB, free: 196 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005094/0.01314, allocations: 122.6 kB / 290.4 MB, free: 72 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1052/0.1183, allocations: 0.6289 MB / 291 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002975/0.1213, allocations: 1.248 MB / 292.3 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001349/0.1226, allocations: 0.6876 MB / 293 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002584/0.1252, allocations: 2.712 MB / 295.7 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002577/0.1255, allocations: 172.5 kB / 295.9 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009765/0.1265, allocations: 1.043 MB / 296.9 MB, free: 13.51 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000372/0.1268, allocations: 409.7 kB / 297.3 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.689e-05/0.1269, allocations: 54.5 kB / 297.4 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009919/0.1279, allocations: 0.696 MB / 298.1 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.128, allocations: 189.8 kB / 298.2 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002915/0.1283, allocations: 390 kB / 298.6 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001183/0.1295, allocations: 1.499 MB / 300.1 MB, free: 13.02 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1295, allocations: 4 kB / 300.1 MB, free: 13.02 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.1295, allocations: 0 / 300.1 MB, free: 13.02 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.358e-05/0.1295, allocations: 0 / 300.1 MB, free: 13.02 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.001542/0.131, allocations: 2.141 MB / 302.3 MB, free: 11.76 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.1311, allocations: 13.58 kB / 302.3 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001969/0.1313, allocations: 239.4 kB / 302.5 MB, free: 11.65 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001035/0.1323, allocations: 1.355 MB / 303.9 MB, free: 10.99 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.1323, allocations: 30.81 kB / 303.9 MB, free: 10.97 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.19e-05/0.1324, allocations: 45.97 kB / 303.9 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003583/0.1327, allocations: 345.2 kB / 304.3 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.1327, allocations: 5.938 kB / 304.3 MB, free: 10.85 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.882e-05/0.1328, allocations: 25.41 kB / 304.3 MB, free: 10.83 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/0.1328, allocations: 18.39 kB / 304.3 MB, free: 10.83 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000223/0.133, allocations: 216.2 kB / 304.5 MB, free: 10.81 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0014/0.1344, allocations: 1.662 MB / 306.2 MB, free: 9.926 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002665/0.1347, allocations: 334 kB / 306.5 MB, free: 9.824 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002099/0.1349, allocations: 324.1 kB / 306.8 MB, free: 9.75 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002251/0.1371, allocations: 2.355 MB / 309.2 MB, free: 8.621 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001901/0.1373, allocations: 221.5 kB / 309.4 MB, free: 8.492 MB / 266.7 MB Notification: Performance of pre-optimization done (n=61): time 1.653e-06/0.1373, allocations: 0 / 309.4 MB, free: 8.492 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.001732/0.1391, allocations: 1.551 MB / 311 MB, free: 7.109 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.109e-05/0.1391, allocations: 55.91 kB / 311 MB, free: 7.043 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006578/0.1397, allocations: 1.391 MB / 312.4 MB, free: 5.879 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.1398, allocations: 37.7 kB / 312.4 MB, free: 5.836 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003252/0.1401, allocations: 0.8353 MB / 313.3 MB, free: 5.07 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.362e-05/0.1402, allocations: 230 kB / 313.5 MB, free: 4.859 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.602e-05/0.1403, allocations: 132.1 kB / 313.6 MB, free: 4.734 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.473e-05/0.1403, allocations: 0.5078 MB / 314.1 MB, free: 4.234 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.342e-05/0.1404, allocations: 89.59 kB / 314.2 MB, free: 4.148 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001389/0.1405, allocations: 300.8 kB / 314.5 MB, free: 3.797 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002634/0.1408, allocations: 459.4 kB / 315 MB, free: 3.305 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1408, allocations: 0 / 315 MB, free: 3.305 MB / 266.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0005585/0.1414, allocations: 0.7371 MB / 315.7 MB, free: 2.59 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.1414, allocations: 10.81 kB / 315.7 MB, free: 2.582 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.289e-05/0.1414, allocations: 64.5 kB / 315.8 MB, free: 2.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002467/0.1417, allocations: 155.7 kB / 315.9 MB, free: 2.367 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002155/0.1419, allocations: 102.3 kB / 316 MB, free: 2.273 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001329/0.1432, allocations: 2.686 MB / 318.7 MB, free: 15.53 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000202/0.1434, allocations: 23.98 kB / 318.7 MB, free: 15.51 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.146e-05/0.1435, allocations: 28 kB / 318.8 MB, free: 15.48 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (54): * Single equations (assignments): 51 * 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,17,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001865/0.1436, allocations: 195.6 kB / 319 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001611/0.1438, allocations: 218.8 kB / 319.2 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008778/0.1447, allocations: 0.729 MB / 319.9 MB, free: 14.35 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.1447, allocations: 6.625 kB / 319.9 MB, free: 14.34 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.1447, allocations: 7.938 kB / 319.9 MB, free: 14.34 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.1447, allocations: 3.984 kB / 319.9 MB, free: 14.33 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005566/0.1453, allocations: 0.6157 MB / 320.5 MB, free: 13.79 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.743e-05/0.1453, allocations: 60 kB / 320.6 MB, free: 13.73 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001436/0.1454, allocations: 62.58 kB / 320.7 MB, free: 13.67 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002594/0.1457, allocations: 157.7 kB / 320.8 MB, free: 13.52 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.753e-05/0.1457, allocations: 19.98 kB / 320.8 MB, free: 13.5 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001845/0.1476, allocations: 2.686 MB / 323.5 MB, free: 10.75 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.1476, allocations: 3.094 kB / 323.5 MB, free: 10.75 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008662/0.1484, allocations: 0.8076 MB / 324.3 MB, free: 9.934 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001914/0.1486, allocations: 190.7 kB / 324.5 MB, free: 9.746 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.432e-05/0.1487, allocations: 12 kB / 324.5 MB, free: 9.734 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001694/0.1489, allocations: 15.98 kB / 324.5 MB, free: 9.719 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.819e-05/0.149, allocations: 55.5 kB / 324.6 MB, free: 9.668 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-05/0.149, allocations: 20 kB / 324.6 MB, free: 9.648 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000474/0.1495, allocations: 0.7624 MB / 325.4 MB, free: 8.973 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.1e-08/0.1495, allocations: 0 / 325.4 MB, free: 8.973 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006401/0.1501, allocations: 395.2 kB / 325.8 MB, free: 8.586 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 (31): * Single equations (assignments): 25 * 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,17,81.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005531/0.1507, allocations: 0.5178 MB / 326.3 MB, free: 8.121 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007055/0.1514, allocations: 0.7437 MB / 327 MB, free: 7.371 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1514, allocations: 0 / 327 MB, free: 7.371 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004612/0.1518, allocations: 0.592 MB / 327.6 MB, free: 6.766 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005422/0.1524, allocations: 228.8 kB / 327.8 MB, free: 6.555 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002035/0.1544, allocations: 2.235 MB / 330.1 MB, free: 4.289 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001457/0.1546, allocations: 232.7 kB / 330.3 MB, free: 4.039 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002894/0.1548, allocations: 187.2 kB / 330.5 MB, free: 3.852 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003026/0.1551, allocations: 322.1 kB / 330.8 MB, free: 3.535 MB / 282.7 MB Notification: Performance of SimCode: time 7.92e-07/0.1551, allocations: 0 / 330.8 MB, free: 3.535 MB / 282.7 MB Notification: Performance of Templates: time 0.01925/0.1744, allocations: 16.61 MB / 347.4 MB, free: 3.113 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] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/Oscillator/Oscillator.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.074997087009251]