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.001414/0.001414, allocations: 92.62 kB / 20.96 MB, free: 3.477 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.001428/0.001428, allocations: 153.4 kB / 24.26 MB, free: 184 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.471/1.471, allocations: 173.4 MB / 200.8 MB, free: 9.289 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.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="mat",numberOfIntervals=1000,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=1000,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.382e-06/1.382e-06, allocations: 0 / 267.3 MB, free: 6.727 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.06e-05/3.198e-05, allocations: 6.25 kB / 267.3 MB, free: 6.719 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.006561/0.006593, allocations: 4.473 MB / 271.8 MB, free: 2.215 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01385/0.02044, allocations: 9.306 MB / 281.1 MB, free: 8.871 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007798/0.02122, allocations: 43.5 kB / 281.1 MB, free: 8.828 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001777/0.023, allocations: 0.6182 MB / 281.8 MB, free: 8.207 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003075/0.02608, allocations: 1.051 MB / 282.8 MB, free: 7.145 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001656/0.02773, allocations: 0.6173 MB / 283.4 MB, free: 6.527 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002355/0.03009, allocations: 1.405 MB / 284.8 MB, free: 5.117 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002675/0.03035, allocations: 117.7 kB / 284.9 MB, free: 4.988 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005729/0.03093, allocations: 410.9 kB / 285.3 MB, free: 4.586 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003992/0.03133, allocations: 231.1 kB / 285.6 MB, free: 4.359 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.459e-05/0.0314, allocations: 32 kB / 285.6 MB, free: 4.328 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00188/0.03328, allocations: 0.6673 MB / 286.3 MB, free: 3.66 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001293/0.03341, allocations: 107.3 kB / 286.4 MB, free: 3.555 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003187/0.03373, allocations: 219.3 kB / 286.6 MB, free: 3.34 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002195/0.03592, allocations: 1.332 MB / 287.9 MB, free: 2.004 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.03593, allocations: 3.938 kB / 287.9 MB, free: 2 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.03593, allocations: 0 / 287.9 MB, free: 2 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.058e-05/0.03594, allocations: 0 / 287.9 MB, free: 2 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.00216/0.0381, allocations: 1.278 MB / 289.2 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.03814, allocations: 8.922 kB / 289.2 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002233/0.03836, allocations: 148.2 kB / 289.4 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1114/0.1497, allocations: 0.7378 MB / 290.1 MB, free: 34.26 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.475e-05/0.1498, allocations: 20.66 kB / 290.1 MB, free: 34.26 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001437/0.1499, allocations: 28.84 kB / 290.1 MB, free: 34.26 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001214/0.1511, allocations: 319.5 kB / 290.5 MB, free: 34.22 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/0.1512, allocations: 0 / 290.5 MB, free: 34.22 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.806e-05/0.1512, allocations: 10.38 kB / 290.5 MB, free: 34.22 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.759e-05/0.1512, allocations: 15.89 kB / 290.5 MB, free: 34.22 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001076/0.1523, allocations: 275.2 kB / 290.8 MB, free: 34.2 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003192/0.1555, allocations: 1.213 MB / 292 MB, free: 33.48 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001081/0.1566, allocations: 268.3 kB / 292.2 MB, free: 33.37 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006644/0.1573, allocations: 216 kB / 292.4 MB, free: 33.29 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005266/0.1625, allocations: 1.513 MB / 294 MB, free: 32.71 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006574/0.1632, allocations: 197.7 kB / 294.1 MB, free: 32.62 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 4.168e-06/0.1632, allocations: 4.594 kB / 294.1 MB, free: 32.62 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.002556/0.1657, allocations: 0.5888 MB / 294.7 MB, free: 32.38 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.169e-05/0.1658, allocations: 58.75 kB / 294.8 MB, free: 32.32 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001839/0.1676, allocations: 0.8094 MB / 295.6 MB, free: 31.98 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.1677, allocations: 31.38 kB / 295.6 MB, free: 31.94 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00048/0.1681, allocations: 443.9 kB / 296.1 MB, free: 31.59 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001243/0.1683, allocations: 107.5 kB / 296.2 MB, free: 31.51 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001721/0.1684, allocations: 70.2 kB / 296.2 MB, free: 31.46 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.598e-05/0.1685, allocations: 323.3 kB / 296.6 MB, free: 31.15 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004711/0.169, allocations: 118 kB / 296.7 MB, free: 31.12 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000513/0.1695, allocations: 227.3 kB / 296.9 MB, free: 30.95 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001001/0.1705, allocations: 360.7 kB / 297.2 MB, free: 30.71 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.261e-06/0.1705, allocations: 1.219 kB / 297.2 MB, free: 30.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001682/0.1722, allocations: 0.5439 MB / 297.8 MB, free: 30.46 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/0.1722, allocations: 5.719 kB / 297.8 MB, free: 30.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.024e-05/0.1723, allocations: 32.05 kB / 297.8 MB, free: 30.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003918/0.1727, allocations: 60.17 kB / 297.9 MB, free: 30.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004807/0.1732, allocations: 75.52 kB / 298 MB, free: 30.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002057/0.1752, allocations: 2.61 MB / 300.6 MB, free: 27.88 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005928/0.1758, allocations: 38.73 kB / 300.6 MB, free: 27.86 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.585e-05/0.1759, allocations: 20 kB / 300.6 MB, free: 27.86 MB / 266.7 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.0003796/0.1763, allocations: 201.2 kB / 300.8 MB, free: 27.69 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002428/0.1765, allocations: 123.5 kB / 300.9 MB, free: 27.62 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001718/0.1782, allocations: 499.3 kB / 301.4 MB, free: 27.41 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/0.1782, allocations: 3.406 kB / 301.4 MB, free: 27.41 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.1783, allocations: 1.5 kB / 301.4 MB, free: 27.41 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.1783, allocations: 2.578 kB / 301.4 MB, free: 27.41 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/0.1793, allocations: 450.7 kB / 301.9 MB, free: 27.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.613e-05/0.1794, allocations: 29.78 kB / 301.9 MB, free: 27.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000389/0.1798, allocations: 46.23 kB / 302 MB, free: 27.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002726/0.18, allocations: 53.7 kB / 302 MB, free: 27.13 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.854e-05/0.1801, allocations: 13.92 kB / 302 MB, free: 27.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002093/0.1822, allocations: 2.603 MB / 304.6 MB, free: 24.59 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.1822, allocations: 3.938 kB / 304.6 MB, free: 24.59 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00187/0.1841, allocations: 0.606 MB / 305.2 MB, free: 24.29 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003431/0.1844, allocations: 105.8 kB / 305.3 MB, free: 24.22 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001763/0.1846, allocations: 9.891 kB / 305.3 MB, free: 24.21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004367/0.185, allocations: 16.64 kB / 305.4 MB, free: 24.21 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001529/0.1852, allocations: 31.28 kB / 305.4 MB, free: 24.2 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-05/0.1852, allocations: 14.39 kB / 305.4 MB, free: 24.2 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.001197/0.1864, allocations: 0.5408 MB / 305.9 MB, free: 23.97 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1864, allocations: 0 / 305.9 MB, free: 23.97 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001181/0.1876, allocations: 248.4 kB / 306.2 MB, free: 23.91 MB / 266.7 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.001068/0.1887, allocations: 392.2 kB / 306.6 MB, free: 23.77 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001374/0.19, allocations: 0.5656 MB / 307.1 MB, free: 23.42 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.19, allocations: 0 / 307.1 MB, free: 23.42 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007855/0.1908, allocations: 425 kB / 307.6 MB, free: 23.11 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008991/0.1917, allocations: 125.3 kB / 307.7 MB, free: 23.05 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003163/0.1949, allocations: 1.496 MB / 309.2 MB, free: 21.88 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/0.1952, allocations: 365.2 kB / 309.5 MB, free: 21.49 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003403/0.1955, allocations: 88.3 kB / 309.6 MB, free: 21.41 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.1957, allocations: 44.5 kB / 309.7 MB, free: 21.36 MB / 266.7 MB Notification: Performance of SimCode: time 5.62e-07/0.1957, allocations: 0 / 309.7 MB, free: 21.36 MB / 266.7 MB Notification: Performance of Templates: time 0.02266/0.2183, allocations: 8.436 MB / 318.1 MB, free: 13.03 MB / 266.7 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.5952568360371515]