Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.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.001303/0.001303, allocations: 81.11 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001378/0.001378, allocations: 154.3 kB / 23.94 MB, free: 4.176 MB / 14.72 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.402/1.402, allocations: 173.3 MB / 200.4 MB, free: 12.86 MB / 190.1 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.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="mat",numberOfIntervals=999,variableFilter="time|Q1.vbc|Q1.vbe",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 318.9 MB, free: 3.57 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.456e-05/2.571e-05, allocations: 12.83 kB / 318.9 MB, free: 3.559 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.004253/0.004279, allocations: 4.464 MB / 323.4 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01213/0.01641, allocations: 9.283 MB / 332.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008086/0.01722, allocations: 46.22 kB / 332.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001888/0.0191, allocations: 0.6299 MB / 333.3 MB, free: 9.82 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003938/0.02304, allocations: 1.047 MB / 334.4 MB, free: 9.18 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001884/0.02493, allocations: 0.6167 MB / 335 MB, free: 8.809 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002679/0.02761, allocations: 1.409 MB / 336.4 MB, free: 8.098 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003062/0.02791, allocations: 112.1 kB / 336.5 MB, free: 8.016 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006891/0.0286, allocations: 423.3 kB / 336.9 MB, free: 7.789 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003743/0.02898, allocations: 232.3 kB / 337.2 MB, free: 7.672 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.084e-05/0.02906, allocations: 32.12 kB / 337.2 MB, free: 7.672 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001652/0.03071, allocations: 0.6573 MB / 337.9 MB, free: 7.418 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001203/0.03083, allocations: 107.8 kB / 338 MB, free: 7.328 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000308/0.03114, allocations: 224 kB / 338.2 MB, free: 7.234 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00189/0.03303, allocations: 1.335 MB / 339.5 MB, free: 6.336 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.03303, allocations: 0 / 339.5 MB, free: 6.336 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.03303, allocations: 5.031 kB / 339.5 MB, free: 6.332 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.636e-05/0.03305, allocations: 3.938 kB / 339.5 MB, free: 6.328 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.002206/0.03526, allocations: 1.273 MB / 340.8 MB, free: 5.328 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.0353, allocations: 9.766 kB / 340.8 MB, free: 5.328 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001625/0.03546, allocations: 122.6 kB / 340.9 MB, free: 5.266 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001118/0.03658, allocations: 0.6689 MB / 341.6 MB, free: 4.715 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.748e-05/0.0366, allocations: 22.98 kB / 341.6 MB, free: 4.703 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.7e-05/0.03667, allocations: 29.25 kB / 341.6 MB, free: 4.691 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007368/0.03741, allocations: 331.8 kB / 342 MB, free: 4.477 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.03742, allocations: 0 / 342 MB, free: 4.477 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.706e-05/0.03746, allocations: 12 kB / 342 MB, free: 4.465 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.005e-05/0.03748, allocations: 4 kB / 342 MB, free: 4.461 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007281/0.03821, allocations: 282.4 kB / 342.3 MB, free: 4.188 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00218/0.04039, allocations: 1.196 MB / 343.5 MB, free: 2.922 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007793/0.04117, allocations: 289.6 kB / 343.7 MB, free: 2.633 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004744/0.04164, allocations: 209.4 kB / 343.9 MB, free: 2.426 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003866/0.04551, allocations: 1.443 MB / 345.4 MB, free: 0.9531 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004986/0.046, allocations: 203.1 kB / 345.6 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 2.565e-06/0.04601, allocations: 0 / 345.6 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.001782/0.04779, allocations: 0.5802 MB / 346.2 MB, free: 152 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.473e-05/0.04784, allocations: 51.41 kB / 346.2 MB, free: 88 kB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001094/0.04894, allocations: 0.8147 MB / 347 MB, free: 15.25 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.61e-05/0.04897, allocations: 29.7 kB / 347.1 MB, free: 15.21 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004502/0.04942, allocations: 456.6 kB / 347.5 MB, free: 14.77 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/0.04952, allocations: 95.17 kB / 347.6 MB, free: 14.68 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001256/0.04965, allocations: 73.98 kB / 347.7 MB, free: 14.6 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.0498, allocations: 318 kB / 348 MB, free: 14.28 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003215/0.05012, allocations: 116.8 kB / 348.1 MB, free: 14.17 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004107/0.05053, allocations: 232.4 kB / 348.3 MB, free: 13.89 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000745/0.05128, allocations: 348.9 kB / 348.7 MB, free: 13.51 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.947e-06/0.05129, allocations: 4 kB / 348.7 MB, free: 13.5 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001146/0.05243, allocations: 0.5182 MB / 349.2 MB, free: 12.97 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.05245, allocations: 11.94 kB / 349.2 MB, free: 12.96 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.045e-05/0.05251, allocations: 36.36 kB / 349.2 MB, free: 12.93 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002436/0.05276, allocations: 61.69 kB / 349.3 MB, free: 12.86 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003594/0.05311, allocations: 67.89 kB / 349.4 MB, free: 12.79 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002319/0.05543, allocations: 2.595 MB / 352 MB, free: 9.988 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004256/0.05586, allocations: 47.83 kB / 352 MB, free: 9.941 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.32e-05/0.0559, allocations: 20 kB / 352 MB, free: 9.922 MB / 318.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.0003233/0.05623, allocations: 197.8 kB / 352.2 MB, free: 9.719 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001293/0.05636, allocations: 119.2 kB / 352.3 MB, free: 9.602 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001206/0.05756, allocations: 492.8 kB / 352.8 MB, free: 9.105 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.05757, allocations: 0 / 352.8 MB, free: 9.105 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.05757, allocations: 4 kB / 352.8 MB, free: 9.102 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.05758, allocations: 0 / 352.8 MB, free: 9.102 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006026/0.05818, allocations: 470.5 kB / 353.3 MB, free: 8.613 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.818e-05/0.05823, allocations: 28 kB / 353.3 MB, free: 8.586 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002713/0.0585, allocations: 43.89 kB / 353.3 MB, free: 8.543 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001592/0.05866, allocations: 49.69 kB / 353.4 MB, free: 8.488 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.165e-05/0.05869, allocations: 11.98 kB / 353.4 MB, free: 8.477 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002263/0.06095, allocations: 2.588 MB / 356 MB, free: 5.684 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.06095, allocations: 0 / 356 MB, free: 5.684 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001386/0.06234, allocations: 0.6163 MB / 356.6 MB, free: 5.043 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002404/0.06258, allocations: 107.3 kB / 356.7 MB, free: 4.938 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.346e-05/0.06267, allocations: 8 kB / 356.7 MB, free: 4.93 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002633/0.06294, allocations: 15.98 kB / 356.7 MB, free: 4.914 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.06305, allocations: 27.95 kB / 356.8 MB, free: 4.887 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.139e-05/0.06308, allocations: 12 kB / 356.8 MB, free: 4.875 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007685/0.06385, allocations: 0.5424 MB / 357.3 MB, free: 4.324 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.06385, allocations: 0 / 357.3 MB, free: 4.324 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007538/0.0646, allocations: 243.3 kB / 357.6 MB, free: 4.086 MB / 318.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.0007329/0.06533, allocations: 383.8 kB / 357.9 MB, free: 3.703 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001202/0.06653, allocations: 0.5622 MB / 358.5 MB, free: 3.109 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.06654, allocations: 0 / 358.5 MB, free: 3.109 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006743/0.06721, allocations: 426.9 kB / 358.9 MB, free: 2.66 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006258/0.06784, allocations: 112.8 kB / 359 MB, free: 2.547 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002708/0.07054, allocations: 1.463 MB / 360.5 MB, free: 1.051 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003801/0.07093, allocations: 365.3 kB / 360.8 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002747/0.0712, allocations: 89.19 kB / 360.9 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.07131, allocations: 48.5 kB / 361 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of SimCode: time 8.92e-07/0.07131, allocations: 0 / 361 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of Templates: time 0.01874/0.09004, allocations: 8.345 MB / 369.3 MB, free: 8.254 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkRtlInverter/Spice3BenchmarkRtlInverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.432930689305067]