Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="mat",numberOfIntervals=1998,variableFilter="time|Q1.vbc|Q1.vbe",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="mat",numberOfIntervals=1998,variableFilter="time|Q1.vbc|Q1.vbe",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001602/0.001602, allocations: 200 kB / 17.43 MB, free: 4.273 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.408/1.408, allocations: 229.5 MB / 247.7 MB, free: 6.324 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007235/0.0007234, allocations: 98.61 kB / 299.9 MB, free: 5.359 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002099/0.0002099, allocations: 4 kB / 360.6 MB, free: 8.5 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1897/0.1899, allocations: 51.41 MB / 412 MB, free: 25.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.003154/0.1931, allocations: 4.426 MB / 416.5 MB, free: 21.5 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008219/0.2013, allocations: 11.45 MB / 427.9 MB, free: 9.754 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005587/0.2019, allocations: 7.938 kB / 427.9 MB, free: 9.746 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001471/0.2034, allocations: 0.6459 MB / 428.6 MB, free: 9.098 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002138/0.2056, allocations: 0.8131 MB / 429.4 MB, free: 8.277 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009163/0.2065, allocations: 443.7 kB / 429.8 MB, free: 7.848 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001418/0.2079, allocations: 1.311 MB / 431.1 MB, free: 6.531 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002034/0.2081, allocations: 149.8 kB / 431.3 MB, free: 6.367 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000204/0.2083, allocations: 266.5 kB / 431.5 MB, free: 6.105 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002219/0.2086, allocations: 305.9 kB / 431.8 MB, free: 5.805 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.613e-05/0.2086, allocations: 20 kB / 431.9 MB, free: 5.785 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001157/0.2098, allocations: 0.6868 MB / 432.5 MB, free: 5.098 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.817e-05/0.2099, allocations: 99.25 kB / 432.6 MB, free: 5 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002322/0.2101, allocations: 403.2 kB / 433 MB, free: 4.598 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000988/0.2111, allocations: 1.23 MB / 434.3 MB, free: 3.363 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.2111, allocations: 0 / 434.3 MB, free: 3.363 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2111, allocations: 0 / 434.3 MB, free: 3.363 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.2111, allocations: 0 / 434.3 MB, free: 3.363 MB / 298.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.001288/0.2124, allocations: 1.195 MB / 435.5 MB, free: 2.117 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.2125, allocations: 12.03 kB / 435.5 MB, free: 2.105 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.472e-05/0.2126, allocations: 115.5 kB / 435.6 MB, free: 1.992 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006933/0.2133, allocations: 0.7433 MB / 436.3 MB, free: 1.195 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.347e-05/0.2133, allocations: 28.5 kB / 436.3 MB, free: 1.164 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.195e-05/0.2134, allocations: 24 kB / 436.4 MB, free: 1.141 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005231/0.2139, allocations: 337.3 kB / 436.7 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.2139, allocations: 4 kB / 436.7 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.718e-05/0.214, allocations: 8 kB / 436.7 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.214, allocations: 11.98 kB / 436.7 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005389/0.2145, allocations: 290.2 kB / 437 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00166/0.2162, allocations: 1.372 MB / 438.4 MB, free: 15.04 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006805/0.2169, allocations: 318.6 kB / 438.7 MB, free: 14.72 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004069/0.2173, allocations: 251.6 kB / 438.9 MB, free: 14.47 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002966/0.2203, allocations: 2.809 MB / 441.7 MB, free: 11.29 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004188/0.2207, allocations: 215.2 kB / 442 MB, free: 11.06 MB / 314.7 MB Notification: Performance of pre-optimization done (n=32): time 2.074e-06/0.2207, allocations: 3.938 kB / 442 MB, free: 11.06 MB / 314.7 MB Notification: Performance of matching and sorting (n=32): time 0.001337/0.2221, allocations: 0.6575 MB / 442.6 MB, free: 10.38 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.611e-05/0.2221, allocations: 55.41 kB / 442.7 MB, free: 10.31 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000797/0.2229, allocations: 0.8033 MB / 443.5 MB, free: 9.488 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.2229, allocations: 25.7 kB / 443.5 MB, free: 9.457 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003141/0.2233, allocations: 448.5 kB / 443.9 MB, free: 9.012 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.095e-05/0.2234, allocations: 110.5 kB / 444 MB, free: 8.902 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.714e-05/0.2234, allocations: 4 kB / 444.1 MB, free: 8.898 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.429e-05/0.2235, allocations: 325.9 kB / 444.4 MB, free: 8.574 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002876/0.2238, allocations: 124.7 kB / 444.5 MB, free: 8.453 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003294/0.2241, allocations: 230.5 kB / 444.7 MB, free: 8.188 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001551/0.2257, allocations: 0.7549 MB / 445.5 MB, free: 7.395 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.2257, allocations: 0 / 445.5 MB, free: 7.395 MB / 314.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.000878/0.2266, allocations: 0.5331 MB / 446 MB, free: 6.852 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.2266, allocations: 4 kB / 446 MB, free: 6.848 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.001e-05/0.2267, allocations: 36 kB / 446 MB, free: 6.812 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001149/0.2268, allocations: 32.84 kB / 446.1 MB, free: 6.777 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003613/0.2272, allocations: 87.88 kB / 446.2 MB, free: 6.691 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009104/0.2281, allocations: 1.343 MB / 447.5 MB, free: 5.211 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002874/0.2284, allocations: 51.52 kB / 447.6 MB, free: 5.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.748e-05/0.2284, allocations: 24.06 kB / 447.6 MB, free: 5.137 MB / 314.7 MB Warning: Assuming fixed start value for the following 1 variables: Q1.vbx:VARIABLE(unit = "V" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.VIN.counter,VIN.counter,$whenCondition1,$PRE.VIN.T0,VIN.T0,$PRE.VIN.counter2,VIN.counter2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002831/0.2287, allocations: 201.7 kB / 447.8 MB, free: 4.93 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.292e-05/0.2288, allocations: 110.7 kB / 447.9 MB, free: 4.82 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001038/0.2299, allocations: 0.5001 MB / 448.4 MB, free: 4.312 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.2299, allocations: 4 kB / 448.4 MB, free: 4.309 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.2299, allocations: 4 kB / 448.4 MB, free: 4.305 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.2299, allocations: 0 / 448.4 MB, free: 4.305 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005452/0.2304, allocations: 0.5736 MB / 449 MB, free: 3.684 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-05/0.2305, allocations: 36 kB / 449 MB, free: 3.648 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003208/0.2308, allocations: 63.94 kB / 449.1 MB, free: 3.586 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.196e-05/0.2309, allocations: 24.84 kB / 449.1 MB, free: 3.559 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.722e-05/0.231, allocations: 12 kB / 449.1 MB, free: 3.547 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008148/0.2318, allocations: 1.343 MB / 450.4 MB, free: 2.07 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2318, allocations: 0 / 450.4 MB, free: 2.07 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001104/0.2329, allocations: 0.6372 MB / 451.1 MB, free: 1.414 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001739/0.2331, allocations: 183.7 kB / 451.3 MB, free: 1.215 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.976e-05/0.2332, allocations: 11.94 kB / 451.3 MB, free: 1.203 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000236/0.2334, allocations: 19.98 kB / 451.3 MB, free: 1.184 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.08e-05/0.2335, allocations: 23.97 kB / 451.3 MB, free: 1.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.065e-05/0.2335, allocations: 11.98 kB / 451.3 MB, free: 1.148 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005562/0.2341, allocations: 0.5387 MB / 451.9 MB, free: 0.6016 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2341, allocations: 0 / 451.9 MB, free: 0.6016 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005174/0.2346, allocations: 243.7 kB / 452.1 MB, free: 372 kB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (Q1.vbe,Q1.vbc,Q1.vbx) * 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 (22): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(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.0005207/0.2352, allocations: 360.4 kB / 452.5 MB, free: 0 / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008903/0.2361, allocations: 0.498 MB / 453 MB, free: 15.48 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2361, allocations: 3.938 kB / 453 MB, free: 15.48 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004579/0.2365, allocations: 346.5 kB / 453.3 MB, free: 15.12 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005427/0.2371, allocations: 108.4 kB / 453.4 MB, free: 15.01 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002619/0.2397, allocations: 1.989 MB / 455.4 MB, free: 13 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004134/0.2401, allocations: 0.9683 MB / 456.4 MB, free: 12 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002883/0.2404, allocations: 89.19 kB / 456.4 MB, free: 11.91 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.791e-05/0.2405, allocations: 43.44 kB / 456.5 MB, free: 11.87 MB / 330.7 MB Notification: Performance of SimCode: time 2.5e-07/0.2405, allocations: 0 / 456.5 MB, free: 11.87 MB / 330.7 MB Notification: Performance of Templates: time 0.0139/0.2544, allocations: 7.868 MB / 464.4 MB, free: 4.031 MB / 330.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches