Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001116/0.00112, allocations: 182.7 kB / 16.71 MB, free: 4.969 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.283/1.283, allocations: 225.7 MB / 243.2 MB, free: 8.484 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007577/0.0007578, allocations: 93.8 kB / 294.4 MB, free: 9.516 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002239/0.0002239, allocations: 11.94 kB / 354.2 MB, free: 13.64 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1933/0.1936, allocations: 50.41 MB / 404.6 MB, free: 31.32 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.002969/0.1966, allocations: 4.399 MB / 409 MB, free: 26.9 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007605/0.2042, allocations: 11.2 MB / 420.2 MB, free: 15.47 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004961/0.2047, allocations: 4 kB / 420.2 MB, free: 15.46 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001399/0.2061, allocations: 0.6419 MB / 420.8 MB, free: 14.82 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001927/0.2081, allocations: 0.8169 MB / 421.6 MB, free: 14 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009197/0.209, allocations: 431.8 kB / 422.1 MB, free: 13.58 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001467/0.2105, allocations: 1.291 MB / 423.4 MB, free: 12.28 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002249/0.2107, allocations: 161.8 kB / 423.5 MB, free: 12.11 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002137/0.2109, allocations: 270.5 kB / 423.8 MB, free: 11.84 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002339/0.2112, allocations: 294 kB / 424.1 MB, free: 11.55 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.486e-05/0.2112, allocations: 19.94 kB / 424.1 MB, free: 11.53 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001116/0.2124, allocations: 0.6907 MB / 424.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.251e-05/0.2124, allocations: 87.33 kB / 424.9 MB, free: 10.75 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002222/0.2127, allocations: 415.1 kB / 425.3 MB, free: 10.34 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009359/0.2136, allocations: 1.214 MB / 426.5 MB, free: 9.121 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2136, allocations: 0 / 426.5 MB, free: 9.121 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2136, allocations: 0 / 426.5 MB, free: 9.121 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.316e-06/0.2136, allocations: 0 / 426.5 MB, free: 9.121 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.001283/0.2149, allocations: 1.203 MB / 427.7 MB, free: 7.867 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.215, allocations: 8.031 kB / 427.7 MB, free: 7.859 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.15e-05/0.2151, allocations: 115.5 kB / 427.8 MB, free: 7.746 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006618/0.2157, allocations: 0.7472 MB / 428.5 MB, free: 6.945 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.2158, allocations: 24.5 kB / 428.6 MB, free: 6.922 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.769e-05/0.2158, allocations: 24 kB / 428.6 MB, free: 6.898 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005089/0.2163, allocations: 333.3 kB / 428.9 MB, free: 6.57 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.2163, allocations: 0 / 428.9 MB, free: 6.57 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.663e-05/0.2164, allocations: 12 kB / 428.9 MB, free: 6.559 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.2164, allocations: 7.984 kB / 428.9 MB, free: 6.551 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005123/0.2169, allocations: 298.1 kB / 429.2 MB, free: 6.262 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001348/0.2183, allocations: 1.376 MB / 430.6 MB, free: 4.785 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005443/0.2188, allocations: 314.6 kB / 430.9 MB, free: 4.469 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003241/0.2192, allocations: 253.6 kB / 431.2 MB, free: 4.219 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002715/0.2219, allocations: 3.604 MB / 434.8 MB, free: 72 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003907/0.2223, allocations: 203.2 kB / 435 MB, free: 15.86 MB / 314.7 MB Notification: Performance of pre-optimization done (n=29): time 1.844e-06/0.2223, allocations: 3.938 kB / 435 MB, free: 15.86 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.001412/0.2237, allocations: 0.7646 MB / 435.7 MB, free: 15.04 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.2238, allocations: 51.41 kB / 435.8 MB, free: 14.98 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007959/0.2246, allocations: 0.8037 MB / 436.6 MB, free: 14.16 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.2246, allocations: 29.7 kB / 436.6 MB, free: 14.12 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003014/0.2249, allocations: 452.4 kB / 437.1 MB, free: 13.68 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.95e-05/0.225, allocations: 102.6 kB / 437.2 MB, free: 13.57 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.556e-05/0.225, allocations: 4 kB / 437.2 MB, free: 13.57 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.964e-05/0.2251, allocations: 325.9 kB / 437.5 MB, free: 13.25 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002939/0.2254, allocations: 132.6 kB / 437.6 MB, free: 13.12 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003167/0.2257, allocations: 236 kB / 437.8 MB, free: 12.84 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005837/0.2263, allocations: 378.7 kB / 438.2 MB, free: 12.43 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.2263, allocations: 0 / 438.2 MB, free: 12.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000848/0.2272, allocations: 0.5379 MB / 438.7 MB, free: 11.88 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.2272, allocations: 8 kB / 438.8 MB, free: 11.87 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-05/0.2273, allocations: 28 kB / 438.8 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001956/0.2275, allocations: 70.02 kB / 438.9 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002818/0.2278, allocations: 71.89 kB / 438.9 MB, free: 11.7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001584/0.2294, allocations: 2.646 MB / 441.6 MB, free: 8.781 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002732/0.2296, allocations: 47.8 kB / 441.6 MB, free: 8.734 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.408e-05/0.2297, allocations: 20 kB / 441.6 MB, free: 8.715 MB / 314.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 ($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 (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.0002223/0.2299, allocations: 201.1 kB / 441.8 MB, free: 8.512 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.189e-05/0.23, allocations: 102.8 kB / 441.9 MB, free: 8.41 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009869/0.231, allocations: 0.5165 MB / 442.4 MB, free: 7.883 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.247e-06/0.231, allocations: 0 / 442.4 MB, free: 7.883 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.231, allocations: 4 kB / 442.5 MB, free: 7.879 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.231, allocations: 3.938 kB / 442.5 MB, free: 7.875 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004902/0.2315, allocations: 0.5583 MB / 443 MB, free: 7.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.816e-05/0.2316, allocations: 28 kB / 443 MB, free: 7.242 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002298/0.2318, allocations: 47.95 kB / 443.1 MB, free: 7.195 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001503/0.232, allocations: 49.62 kB / 443.1 MB, free: 7.141 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.443e-05/0.232, allocations: 12 kB / 443.1 MB, free: 7.129 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001506/0.2335, allocations: 2.639 MB / 445.8 MB, free: 4.227 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.2335, allocations: 4.031 kB / 445.8 MB, free: 4.223 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001052/0.2346, allocations: 0.6347 MB / 446.4 MB, free: 3.57 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001688/0.2348, allocations: 187.7 kB / 446.6 MB, free: 3.367 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.55e-05/0.2348, allocations: 8 kB / 446.6 MB, free: 3.359 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000218/0.2351, allocations: 31.97 kB / 446.6 MB, free: 3.328 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.264e-05/0.2352, allocations: 27.97 kB / 446.7 MB, free: 3.301 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.269e-05/0.2352, allocations: 8 kB / 446.7 MB, free: 3.293 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005525/0.2357, allocations: 0.5389 MB / 447.2 MB, free: 2.746 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2358, allocations: 0 / 447.2 MB, free: 2.746 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005689/0.2363, allocations: 239.7 kB / 447.5 MB, free: 2.512 MB / 314.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.0005116/0.2369, allocations: 365 kB / 447.8 MB, free: 2.141 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009251/0.2378, allocations: 0.6088 MB / 448.4 MB, free: 1.5 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2378, allocations: 0 / 448.4 MB, free: 1.5 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005262/0.2383, allocations: 453.6 kB / 448.9 MB, free: 1.027 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005151/0.2389, allocations: 116.2 kB / 449 MB, free: 0.9102 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002167/0.241, allocations: 1.825 MB / 450.8 MB, free: 15.05 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004109/0.2415, allocations: 0.9561 MB / 451.8 MB, free: 14.07 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002649/0.2417, allocations: 81.2 kB / 451.8 MB, free: 13.99 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.207e-05/0.2418, allocations: 43.44 kB / 451.9 MB, free: 13.95 MB / 330.7 MB Notification: Performance of SimCode: time 2.9e-07/0.2418, allocations: 0 / 451.9 MB, free: 13.95 MB / 330.7 MB Notification: Performance of Templates: time 0.01404/0.2559, allocations: 7.975 MB / 459.9 MB, free: 6.008 MB / 330.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile (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) 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","../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches