Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.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.001407/0.001407, allocations: 84.69 kB / 21.43 MB, free: 296 kB / 14.72 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.001426/0.001426, allocations: 164 kB / 24.7 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.287/1.287, allocations: 158.6 MB / 186.5 MB, free: 6.398 MB / 174.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="mat",numberOfIntervals=999,variableFilter="time|Q1.vbc|Q1.vbe",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="mat",numberOfIntervals=999,variableFilter="time|Q1.vbc|Q1.vbe",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 298.9 MB, free: 8.734 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.055e-05/3.229e-05, allocations: 2.281 kB / 298.9 MB, free: 8.73 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.005929/0.005961, allocations: 4.428 MB / 303.4 MB, free: 4.277 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01141/0.01738, allocations: 9 MB / 312.4 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006049/0.01798, allocations: 47.5 kB / 312.4 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001569/0.01955, allocations: 0.6141 MB / 313 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002562/0.02211, allocations: 1.035 MB / 314.1 MB, free: 9.527 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001442/0.02355, allocations: 0.6055 MB / 314.7 MB, free: 8.918 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002356/0.02591, allocations: 1.386 MB / 316.1 MB, free: 7.527 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002559/0.02617, allocations: 113.7 kB / 316.2 MB, free: 7.406 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005102/0.02668, allocations: 406.9 kB / 316.6 MB, free: 7.008 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003233/0.027, allocations: 215.2 kB / 316.8 MB, free: 6.797 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.962e-05/0.02707, allocations: 36 kB / 316.8 MB, free: 6.762 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001267/0.02834, allocations: 0.6362 MB / 317.4 MB, free: 6.125 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.02844, allocations: 103.3 kB / 317.5 MB, free: 6.023 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002792/0.02872, allocations: 223.3 kB / 317.8 MB, free: 5.805 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001654/0.03038, allocations: 1.335 MB / 319.1 MB, free: 4.465 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.03038, allocations: 0 / 319.1 MB, free: 4.465 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.03038, allocations: 0 / 319.1 MB, free: 4.465 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.457e-06/0.03039, allocations: 0 / 319.1 MB, free: 4.465 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001984/0.03238, allocations: 1.266 MB / 320.4 MB, free: 3.16 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.03242, allocations: 27.84 kB / 320.4 MB, free: 3.133 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001546/0.03257, allocations: 124.2 kB / 320.5 MB, free: 3.012 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001085/0.03366, allocations: 0.6755 MB / 321.2 MB, free: 2.289 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.816e-05/0.03368, allocations: 24.78 kB / 321.2 MB, free: 2.262 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.34e-05/0.03375, allocations: 27.98 kB / 321.2 MB, free: 2.234 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006764/0.03442, allocations: 318 kB / 321.6 MB, free: 1.918 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.03444, allocations: 7.922 kB / 321.6 MB, free: 1.91 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.591e-05/0.03447, allocations: 11.98 kB / 321.6 MB, free: 1.898 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.747e-05/0.03449, allocations: 12 kB / 321.6 MB, free: 1.887 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006823/0.03517, allocations: 274.5 kB / 321.9 MB, free: 1.621 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001928/0.0371, allocations: 1.211 MB / 323.1 MB, free: 348 kB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007597/0.03786, allocations: 274.6 kB / 323.3 MB, free: 64 kB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1371/0.175, allocations: 207.6 kB / 323.5 MB, free: 35.75 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003355/0.1784, allocations: 1.435 MB / 325 MB, free: 35.36 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004228/0.1788, allocations: 187.3 kB / 325.2 MB, free: 35.27 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 2.284e-06/0.1788, allocations: 1.188 kB / 325.2 MB, free: 35.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.00148/0.1803, allocations: 0.5806 MB / 325.7 MB, free: 35.1 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.428e-05/0.1803, allocations: 59.95 kB / 325.8 MB, free: 35.04 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008533/0.1811, allocations: 0.8116 MB / 326.6 MB, free: 34.71 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.349e-05/0.1812, allocations: 28.14 kB / 326.6 MB, free: 34.68 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000257/0.1814, allocations: 453 kB / 327.1 MB, free: 34.34 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.602e-05/0.1815, allocations: 98.59 kB / 327.2 MB, free: 34.28 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.872e-05/0.1816, allocations: 77.88 kB / 327.2 MB, free: 34.23 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.695e-05/0.1816, allocations: 319.2 kB / 327.6 MB, free: 33.93 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002802/0.1819, allocations: 118.9 kB / 327.7 MB, free: 33.88 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003076/0.1822, allocations: 222.9 kB / 327.9 MB, free: 33.72 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005682/0.1828, allocations: 367 kB / 328.2 MB, free: 33.48 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1828, allocations: 1.375 kB / 328.3 MB, free: 33.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008893/0.1837, allocations: 0.5178 MB / 328.8 MB, free: 33.24 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.1837, allocations: 7.188 kB / 328.8 MB, free: 33.24 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-05/0.1837, allocations: 38.12 kB / 328.8 MB, free: 33.24 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002181/0.184, allocations: 54.02 kB / 328.9 MB, free: 33.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003184/0.1843, allocations: 74.78 kB / 328.9 MB, free: 33.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0014/0.1857, allocations: 2.604 MB / 331.5 MB, free: 30.67 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003089/0.186, allocations: 42.66 kB / 331.6 MB, free: 30.65 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.743e-05/0.186, allocations: 19.12 kB / 331.6 MB, free: 30.64 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 7 (VIN.counter,$PRE.VIN.counter,VIN.counter2,$PRE.VIN.counter2,VIN.T0,$PRE.VIN.T0,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002178/0.1862, allocations: 201.4 kB / 331.8 MB, free: 30.48 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.315e-05/0.1863, allocations: 108.4 kB / 331.9 MB, free: 30.42 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001078/0.1874, allocations: 0.4896 MB / 332.4 MB, free: 30.21 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/0.1874, allocations: 3.875 kB / 332.4 MB, free: 30.21 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1874, allocations: 1.156 kB / 332.4 MB, free: 30.21 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.1874, allocations: 1.5 kB / 332.4 MB, free: 30.21 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005058/0.1879, allocations: 456.3 kB / 332.8 MB, free: 29.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.664e-05/0.188, allocations: 32.31 kB / 332.9 MB, free: 29.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002635/0.1882, allocations: 40.11 kB / 332.9 MB, free: 29.96 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001597/0.1884, allocations: 61.08 kB / 333 MB, free: 29.93 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.062e-05/0.1884, allocations: 10.42 kB / 333 MB, free: 29.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001362/0.1898, allocations: 2.594 MB / 335.6 MB, free: 27.39 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1898, allocations: 0 / 335.6 MB, free: 27.39 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001192/0.191, allocations: 0.6005 MB / 336.2 MB, free: 27.1 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001693/0.1912, allocations: 112.7 kB / 336.3 MB, free: 27.03 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.179e-05/0.1912, allocations: 11.19 kB / 336.3 MB, free: 27.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002417/0.1915, allocations: 11.69 kB / 336.3 MB, free: 27.02 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.1916, allocations: 27.88 kB / 336.3 MB, free: 27.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.653e-05/0.1916, allocations: 13.42 kB / 336.4 MB, free: 27.01 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006142/0.1922, allocations: 0.5397 MB / 336.9 MB, free: 26.78 MB / 302.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1922, allocations: 0 / 336.9 MB, free: 26.78 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000717/0.1929, allocations: 243.8 kB / 337.1 MB, free: 26.73 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Q1.vbe,Q1.vbc) * Number of discrete variables: 4 ($whenCondition1,VIN.T0,VIN.counter,VIN.counter2) * Number of discrete states: 2 (VIN.counter,VIN.counter2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000642/0.1936, allocations: 373.2 kB / 337.5 MB, free: 26.6 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001026/0.1946, allocations: 0.575 MB / 338.1 MB, free: 26.23 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1946, allocations: 0 / 338.1 MB, free: 26.23 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005348/0.1951, allocations: 424.2 kB / 338.5 MB, free: 25.93 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004375/0.1956, allocations: 101.5 kB / 338.6 MB, free: 25.88 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002153/0.1977, allocations: 1.472 MB / 340.1 MB, free: 25.1 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/0.1981, allocations: 365.4 kB / 340.4 MB, free: 24.98 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002314/0.1983, allocations: 83.81 kB / 340.5 MB, free: 24.96 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.178e-05/0.1984, allocations: 44.89 kB / 340.5 MB, free: 24.95 MB / 302.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1984, allocations: 0 / 340.5 MB, free: 24.95 MB / 302.1 MB Notification: Performance of Templates: time 0.01508/0.2135, allocations: 8.347 MB / 348.9 MB, free: 19.77 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkRtlInverter/Spice3BenchmarkRtlInverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.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: 4.599565781652927]