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.00261/0.00261, allocations: 95.86 kB / 20.96 MB, free: 3.465 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.003185/0.003185, allocations: 149.5 kB / 24.26 MB, free: 172 kB / 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 1.509/1.509, allocations: 173.4 MB / 200.8 MB, free: 9.305 MB / 186.7 MB " [Timeout remaining time 178] 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.202e-06/1.202e-06, allocations: 0 / 267.3 MB, free: 6.75 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.829e-05/2.95e-05, allocations: 6.312 kB / 267.3 MB, free: 6.742 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.009218/0.009248, allocations: 7.101 MB / 274.4 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01406/0.02331, allocations: 10.1 MB / 284.5 MB, free: 5.461 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006748/0.02398, allocations: 126.6 kB / 284.6 MB, free: 5.336 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001524/0.02551, allocations: 0.6384 MB / 285.3 MB, free: 4.691 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002789/0.0283, allocations: 1.244 MB / 286.5 MB, free: 3.438 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00151/0.02981, allocations: 0.6836 MB / 287.2 MB, free: 2.75 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003967/0.03377, allocations: 2.628 MB / 289.8 MB, free: 112 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1044/0.1382, allocations: 165.3 kB / 290 MB, free: 16.41 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001294/0.1395, allocations: 0.7159 MB / 290.7 MB, free: 16.41 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00052/0.14, allocations: 383.2 kB / 291.1 MB, free: 16.41 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001179/0.1401, allocations: 56.47 kB / 291.1 MB, free: 16.41 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001692/0.1418, allocations: 0.6846 MB / 291.8 MB, free: 16.41 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001399/0.142, allocations: 192.7 kB / 292 MB, free: 16.41 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004537/0.1424, allocations: 378.7 kB / 292.4 MB, free: 16.41 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002357/0.1448, allocations: 1.997 MB / 294.4 MB, free: 16.25 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1448, allocations: 0.5625 kB / 294.4 MB, free: 16.25 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1448, allocations: 1.156 kB / 294.4 MB, free: 16.25 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.508e-05/0.1448, allocations: 0.5938 kB / 294.4 MB, free: 16.25 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.002974/0.1478, allocations: 2.179 MB / 296.6 MB, free: 15.01 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.1478, allocations: 14.3 kB / 296.6 MB, free: 15.01 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000293/0.1481, allocations: 241.6 kB / 296.8 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00202/0.1501, allocations: 1.413 MB / 298.2 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.38e-05/0.1502, allocations: 34.34 kB / 298.3 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.593e-05/0.1502, allocations: 43.73 kB / 298.3 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008713/0.1511, allocations: 462 kB / 298.7 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.1511, allocations: 3.938 kB / 298.8 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.233e-05/0.1512, allocations: 23.16 kB / 298.8 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.882e-05/0.1512, allocations: 17 kB / 298.8 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008026/0.152, allocations: 409.8 kB / 299.2 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003222/0.1552, allocations: 2.198 MB / 301.4 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007068/0.1559, allocations: 453.1 kB / 301.8 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005853/0.1565, allocations: 414.4 kB / 302.2 MB, free: 13.78 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005993/0.1625, allocations: 2.764 MB / 305 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004368/0.163, allocations: 294.1 kB / 305.3 MB, free: 12.67 MB / 266.7 MB Notification: Performance of pre-optimization done (n=55): time 2.454e-06/0.163, allocations: 4 kB / 305.3 MB, free: 12.67 MB / 266.7 MB Notification: Performance of matching and sorting (n=59): time 0.0029/0.1659, allocations: 1.875 MB / 307.2 MB, free: 11.79 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.632e-05/0.1659, allocations: 55.12 kB / 307.2 MB, free: 11.72 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001506/0.1674, allocations: 1.762 MB / 309 MB, free: 10.96 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/0.1674, allocations: 36.77 kB / 309 MB, free: 10.92 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005049/0.1679, allocations: 0.8783 MB / 309.9 MB, free: 10.23 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.168, allocations: 228.7 kB / 310.1 MB, free: 10.06 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001596/0.1682, allocations: 139.5 kB / 310.3 MB, free: 9.984 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.389e-05/0.1683, allocations: 0.519 MB / 310.8 MB, free: 9.48 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003139/0.1686, allocations: 182.2 kB / 311 MB, free: 9.434 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003939/0.169, allocations: 431.5 kB / 311.4 MB, free: 9.102 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007081/0.1697, allocations: 0.6709 MB / 312 MB, free: 8.664 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.1697, allocations: 3.219 kB / 312 MB, free: 8.664 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001274/0.171, allocations: 0.93 MB / 313 MB, free: 8.066 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.171, allocations: 10.3 kB / 313 MB, free: 8.059 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.289e-05/0.171, allocations: 56 kB / 313 MB, free: 8.004 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004347/0.1715, allocations: 179.5 kB / 313.2 MB, free: 7.828 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004082/0.1719, allocations: 111.8 kB / 313.3 MB, free: 7.727 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002206/0.1741, allocations: 3.002 MB / 316.3 MB, free: 4.617 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005359/0.1746, allocations: 27.94 kB / 316.4 MB, free: 4.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.357e-05/0.1747, allocations: 32 kB / 316.4 MB, free: 4.559 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.0003564/0.175, allocations: 318.6 kB / 316.7 MB, free: 4.246 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001569/0.1752, allocations: 198.9 kB / 316.9 MB, free: 4.051 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001411/0.1766, allocations: 0.8674 MB / 317.8 MB, free: 3.191 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.1766, allocations: 4 kB / 317.8 MB, free: 3.188 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.1766, allocations: 8 kB / 317.8 MB, free: 3.18 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.1766, allocations: 7.922 kB / 317.8 MB, free: 3.172 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009253/0.1776, allocations: 0.9807 MB / 318.8 MB, free: 2.168 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.605e-05/0.1776, allocations: 52 kB / 318.8 MB, free: 2.117 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002792/0.1779, allocations: 59.95 kB / 318.9 MB, free: 2.059 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003652/0.1783, allocations: 161.1 kB / 319 MB, free: 1.902 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.679e-05/0.1783, allocations: 19.98 kB / 319 MB, free: 1.883 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002821/0.1811, allocations: 2.997 MB / 322 MB, free: 14.79 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1811, allocations: 0 / 322 MB, free: 14.79 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002023/0.1831, allocations: 1.062 MB / 323.1 MB, free: 13.71 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004303/0.1836, allocations: 170.8 kB / 323.3 MB, free: 13.54 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001544/0.1837, allocations: 14.52 kB / 323.3 MB, free: 13.53 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003539/0.1841, allocations: 23.73 kB / 323.3 MB, free: 13.51 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/0.1842, allocations: 44.42 kB / 323.4 MB, free: 13.46 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.953e-05/0.1843, allocations: 20 kB / 323.4 MB, free: 13.44 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001458/0.1857, allocations: 1.029 MB / 324.4 MB, free: 12.42 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1857, allocations: 0 / 324.4 MB, free: 12.42 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001094/0.1868, allocations: 383.2 kB / 324.8 MB, free: 12.05 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.0008661/0.1877, allocations: 0.4976 MB / 325.3 MB, free: 11.59 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001698/0.1894, allocations: 0.8872 MB / 326.2 MB, free: 10.7 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1894, allocations: 0 / 326.2 MB, free: 10.7 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001093/0.1905, allocations: 0.6219 MB / 326.8 MB, free: 10.04 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009724/0.1914, allocations: 218.5 kB / 327 MB, free: 9.832 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003861/0.1953, allocations: 2.385 MB / 329.4 MB, free: 7.41 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007815/0.1961, allocations: 0.5837 MB / 330 MB, free: 6.789 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004894/0.1966, allocations: 190.3 kB / 330.2 MB, free: 6.602 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001582/0.1967, allocations: 84.5 kB / 330.2 MB, free: 6.516 MB / 282.7 MB Notification: Performance of SimCode: time 7.71e-07/0.1967, allocations: 0 / 330.2 MB, free: 6.516 MB / 282.7 MB Notification: Performance of Templates: time 0.02994/0.2267, allocations: 13.85 MB / 344.1 MB, free: 8.84 MB / 298.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 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.031600182061084]