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.001004/0.001004, allocations: 83.69 kB / 21.19 MB, free: 3.391 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.001018/0.001018, allocations: 165 kB / 24.56 MB, free: 20 kB / 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.9502/0.9502, allocations: 177.1 MB / 205 MB, free: 5.645 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.563e-06/1.563e-06, allocations: 0 / 273 MB, free: 1.578 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.34e-05/2.497e-05, allocations: 2.312 kB / 273 MB, free: 1.574 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.008187/0.008212, allocations: 7.162 MB / 280.1 MB, free: 10.38 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01315/0.02137, allocations: 10.15 MB / 290.3 MB, free: 200 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001247/0.02261, allocations: 130.6 kB / 290.4 MB, free: 68 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1115/0.1341, allocations: 0.6323 MB / 291 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004784/0.1389, allocations: 1.246 MB / 292.3 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002226/0.1411, allocations: 0.6881 MB / 293 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004523/0.1456, allocations: 2.715 MB / 295.7 MB, free: 13.51 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004154/0.146, allocations: 170.5 kB / 295.8 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001706/0.1477, allocations: 1.044 MB / 296.9 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005192/0.1483, allocations: 404.5 kB / 297.3 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001329/0.1484, allocations: 55.38 kB / 297.3 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001654/0.1501, allocations: 0.6947 MB / 298 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001424/0.1502, allocations: 192.5 kB / 298.2 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005184/0.1507, allocations: 389.7 kB / 298.6 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00194/0.1527, allocations: 1.512 MB / 300.1 MB, free: 12.88 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.1527, allocations: 0 / 300.1 MB, free: 12.88 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1527, allocations: 0 / 300.1 MB, free: 12.88 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.923e-05/0.1527, allocations: 0 / 300.1 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.002334/0.155, allocations: 2.11 MB / 302.2 MB, free: 11.56 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.1551, allocations: 9.453 kB / 302.2 MB, free: 11.56 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002882/0.1554, allocations: 237.6 kB / 302.5 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001212/0.1566, allocations: 1.354 MB / 303.8 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.136e-05/0.1566, allocations: 35.5 kB / 303.9 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.358e-05/0.1567, allocations: 49.89 kB / 303.9 MB, free: 10.75 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004914/0.1572, allocations: 390.8 kB / 304.3 MB, free: 10.63 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.1572, allocations: 3.938 kB / 304.3 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.961e-05/0.1572, allocations: 15.09 kB / 304.3 MB, free: 10.61 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.698e-05/0.1572, allocations: 20.66 kB / 304.3 MB, free: 10.61 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003217/0.1575, allocations: 258.3 kB / 304.6 MB, free: 10.57 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001867/0.1594, allocations: 1.902 MB / 306.5 MB, free: 9.484 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003817/0.1598, allocations: 375.8 kB / 306.8 MB, free: 9.352 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003019/0.1601, allocations: 364.2 kB / 307.2 MB, free: 9.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002577/0.1627, allocations: 2.337 MB / 309.5 MB, free: 8.047 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002411/0.1629, allocations: 242.9 kB / 309.8 MB, free: 7.902 MB / 266.7 MB Notification: Performance of pre-optimization done (n=61): time 2.054e-06/0.1629, allocations: 0 / 309.8 MB, free: 7.902 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.002174/0.1651, allocations: 1.9 MB / 311.7 MB, free: 6.305 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.329e-05/0.1651, allocations: 67.84 kB / 311.7 MB, free: 6.227 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008485/0.166, allocations: 1.407 MB / 313.1 MB, free: 4.812 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.488e-05/0.166, allocations: 29.7 kB / 313.2 MB, free: 4.777 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003205/0.1663, allocations: 0.8068 MB / 314 MB, free: 3.961 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.651e-05/0.1664, allocations: 233.9 kB / 314.2 MB, free: 3.734 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.1665, allocations: 131.9 kB / 314.3 MB, free: 3.598 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.621e-05/0.1665, allocations: 0.5043 MB / 314.8 MB, free: 3.086 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.1667, allocations: 117.6 kB / 315 MB, free: 2.973 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001843/0.1669, allocations: 325.5 kB / 315.3 MB, free: 2.582 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000361/0.1672, allocations: 0.4959 MB / 315.8 MB, free: 2.027 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1672, allocations: 0 / 315.8 MB, free: 2.027 MB / 266.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0006881/0.1679, allocations: 0.7977 MB / 316.6 MB, free: 1.25 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.1679, allocations: 11.98 kB / 316.6 MB, free: 1.238 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-05/0.168, allocations: 67.25 kB / 316.6 MB, free: 1.176 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003184/0.1683, allocations: 163.8 kB / 316.8 MB, free: 1.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002226/0.1685, allocations: 110.1 kB / 316.9 MB, free: 0.918 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001744/0.1703, allocations: 2.748 MB / 319.7 MB, free: 14.07 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002303/0.1705, allocations: 23.98 kB / 319.7 MB, free: 14.05 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.449e-05/0.1705, allocations: 32 kB / 319.7 MB, free: 14.02 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.0001908/0.1707, allocations: 195.8 kB / 319.9 MB, free: 13.82 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000141/0.1709, allocations: 206.8 kB / 320.1 MB, free: 13.62 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000926/0.1718, allocations: 0.7906 MB / 320.9 MB, free: 12.83 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.1718, allocations: 4 kB / 320.9 MB, free: 12.82 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.1718, allocations: 4 kB / 320.9 MB, free: 12.82 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.1718, allocations: 3.562 kB / 320.9 MB, free: 12.82 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007155/0.1725, allocations: 0.8314 MB / 321.7 MB, free: 11.96 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.8e-05/0.1726, allocations: 60 kB / 321.8 MB, free: 11.91 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00015/0.1727, allocations: 61.08 kB / 321.9 MB, free: 11.85 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002991/0.173, allocations: 160.6 kB / 322 MB, free: 11.69 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.049e-05/0.1731, allocations: 20 kB / 322 MB, free: 11.67 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001768/0.1748, allocations: 2.764 MB / 324.8 MB, free: 8.801 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1748, allocations: 0 / 324.8 MB, free: 8.801 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009393/0.1758, allocations: 0.8937 MB / 325.7 MB, free: 7.895 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001937/0.176, allocations: 182.8 kB / 325.9 MB, free: 7.715 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.604e-05/0.176, allocations: 12 kB / 325.9 MB, free: 7.703 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001788/0.1762, allocations: 12 kB / 325.9 MB, free: 7.691 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.857e-05/0.1763, allocations: 54.23 kB / 326 MB, free: 7.641 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.011e-05/0.1763, allocations: 23.98 kB / 326 MB, free: 7.617 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0006658/0.177, allocations: 0.8026 MB / 326.8 MB, free: 6.824 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.177, allocations: 4 kB / 326.8 MB, free: 6.82 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006548/0.1777, allocations: 395.2 kB / 327.2 MB, free: 6.434 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.0005564/0.1782, allocations: 0.4917 MB / 327.7 MB, free: 5.992 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008607/0.1791, allocations: 0.8023 MB / 328.5 MB, free: 5.172 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1791, allocations: 4.062 kB / 328.5 MB, free: 5.168 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005006/0.1796, allocations: 0.6102 MB / 329.1 MB, free: 4.535 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005822/0.1802, allocations: 232.9 kB / 329.3 MB, free: 4.316 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002165/0.1823, allocations: 2.252 MB / 331.6 MB, free: 2.027 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001516/0.1825, allocations: 232.7 kB / 331.8 MB, free: 1.777 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002955/0.1828, allocations: 187.2 kB / 332 MB, free: 1.59 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.306e-05/0.1829, allocations: 84.5 kB / 332 MB, free: 1.508 MB / 282.7 MB Notification: Performance of SimCode: time 7.51e-07/0.1829, allocations: 0 / 332 MB, free: 1.508 MB / 282.7 MB Notification: Performance of Templates: time 0.02507/0.2079, allocations: 16.92 MB / 349 MB, free: 0.7383 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] diffSimulationResults("Modelica_4.1.0_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.10609228303656]