Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001597/0.001597, allocations: 174.2 kB / 17.36 MB, free: 4.445 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.294/1.294, allocations: 205.6 MB / 223.7 MB, free: 8.938 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007625/0.0007626, allocations: 86.42 kB / 272.1 MB, free: 8.125 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002436/0.0002437, allocations: 8 kB / 329 MB, free: 15.06 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.2114, allocations: 47.57 MB / 376.6 MB, free: 45.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.003522/0.215, allocations: 4.359 MB / 381 MB, free: 42.13 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009041/0.224, allocations: 10.88 MB / 391.8 MB, free: 33 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007887/0.2249, allocations: 11.94 kB / 391.8 MB, free: 32.99 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001747/0.2266, allocations: 0.6234 MB / 392.5 MB, free: 32.37 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00302/0.2297, allocations: 0.8014 MB / 393.3 MB, free: 31.56 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001391/0.2311, allocations: 435.8 kB / 393.7 MB, free: 31.14 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001857/0.2329, allocations: 1.268 MB / 395 MB, free: 29.86 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002308/0.2332, allocations: 161.8 kB / 395.1 MB, free: 29.7 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002437/0.2334, allocations: 242.6 kB / 395.4 MB, free: 29.46 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002303/0.2337, allocations: 301.9 kB / 395.7 MB, free: 29.16 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.576e-05/0.2337, allocations: 20 kB / 395.7 MB, free: 29.14 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001411/0.2352, allocations: 0.6283 MB / 396.3 MB, free: 28.51 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.975e-05/0.2352, allocations: 95.3 kB / 396.4 MB, free: 28.42 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00026/0.2355, allocations: 407.2 kB / 396.8 MB, free: 28.01 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001107/0.2366, allocations: 1.218 MB / 398 MB, free: 26.79 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.2366, allocations: 3.938 kB / 398 MB, free: 26.79 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.2366, allocations: 0 / 398 MB, free: 26.79 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.2367, allocations: 4 kB / 398 MB, free: 26.78 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.001362/0.238, allocations: 1.195 MB / 399.2 MB, free: 25.54 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.2381, allocations: 8.031 kB / 399.2 MB, free: 25.53 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.789e-05/0.2382, allocations: 115.6 kB / 399.3 MB, free: 25.41 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006977/0.2389, allocations: 0.7504 MB / 400.1 MB, free: 24.61 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.534e-05/0.2389, allocations: 28.55 kB / 400.1 MB, free: 24.58 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.387e-05/0.239, allocations: 24 kB / 400.1 MB, free: 24.56 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005564/0.2395, allocations: 325.3 kB / 400.5 MB, free: 24.23 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.2396, allocations: 0 / 400.5 MB, free: 24.23 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.713e-05/0.2396, allocations: 8 kB / 400.5 MB, free: 24.23 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.2396, allocations: 12 kB / 400.5 MB, free: 24.21 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005238/0.2401, allocations: 298.2 kB / 400.8 MB, free: 23.93 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001534/0.2417, allocations: 1.372 MB / 402.1 MB, free: 22.46 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005958/0.2423, allocations: 310.5 kB / 402.4 MB, free: 22.15 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003479/0.2426, allocations: 268.6 kB / 402.7 MB, free: 21.88 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003009/0.2457, allocations: 3.604 MB / 406.3 MB, free: 17.73 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003657/0.2461, allocations: 195.3 kB / 406.5 MB, free: 17.53 MB / 298.7 MB Notification: Performance of pre-optimization done (n=29): time 2.275e-06/0.2461, allocations: 4 kB / 406.5 MB, free: 17.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=29): time 0.001344/0.2474, allocations: 0.763 MB / 407.3 MB, free: 16.71 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.279e-05/0.2475, allocations: 51.41 kB / 407.3 MB, free: 16.65 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006901/0.2482, allocations: 0.8114 MB / 408.1 MB, free: 15.82 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.2482, allocations: 29.7 kB / 408.2 MB, free: 15.79 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002492/0.2484, allocations: 452.5 kB / 408.6 MB, free: 15.34 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.366e-05/0.2485, allocations: 106.5 kB / 408.7 MB, free: 15.23 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.543e-05/0.2485, allocations: 8 kB / 408.7 MB, free: 15.22 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.59e-05/0.2486, allocations: 318 kB / 409 MB, free: 14.91 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002355/0.2488, allocations: 124.7 kB / 409.1 MB, free: 14.79 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002746/0.2491, allocations: 236.1 kB / 409.4 MB, free: 14.51 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000517/0.2496, allocations: 374 kB / 409.7 MB, free: 14.1 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.2496, allocations: 4 kB / 409.7 MB, free: 14.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007671/0.2504, allocations: 0.5404 MB / 410.3 MB, free: 13.54 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.2504, allocations: 8.344 kB / 410.3 MB, free: 13.53 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.834e-05/0.2505, allocations: 36 kB / 410.3 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000206/0.2507, allocations: 61.62 kB / 410.4 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002751/0.251, allocations: 83.88 kB / 410.5 MB, free: 13.35 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001249/0.2522, allocations: 2.643 MB / 413.1 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002845/0.2525, allocations: 47.58 kB / 413.2 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.581e-05/0.2526, allocations: 20 kB / 413.2 MB, free: 10.37 MB / 298.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.00023/0.2528, allocations: 209.8 kB / 413.4 MB, free: 10.15 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.728e-05/0.2529, allocations: 102.8 kB / 413.5 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009215/0.2538, allocations: 0.5126 MB / 414 MB, free: 9.527 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.2538, allocations: 0 / 414 MB, free: 9.527 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.2539, allocations: 7.938 kB / 414 MB, free: 9.52 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.2539, allocations: 3.984 kB / 414 MB, free: 9.516 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004221/0.2543, allocations: 0.5467 MB / 414.6 MB, free: 8.922 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.141e-05/0.2543, allocations: 28 kB / 414.6 MB, free: 8.895 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002218/0.2546, allocations: 51.95 kB / 414.6 MB, free: 8.844 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001239/0.2547, allocations: 49.73 kB / 414.7 MB, free: 8.789 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.2547, allocations: 15.98 kB / 414.7 MB, free: 8.773 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001095/0.2558, allocations: 2.642 MB / 417.3 MB, free: 5.867 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2558, allocations: 0 / 417.3 MB, free: 5.867 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009382/0.2568, allocations: 0.6348 MB / 418 MB, free: 5.207 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001447/0.2569, allocations: 187.7 kB / 418.2 MB, free: 5.004 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.322e-05/0.257, allocations: 12.06 kB / 418.2 MB, free: 4.992 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002124/0.2572, allocations: 19.98 kB / 418.2 MB, free: 4.973 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.561e-05/0.2573, allocations: 23.97 kB / 418.2 MB, free: 4.949 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-05/0.2574, allocations: 15.98 kB / 418.2 MB, free: 4.934 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004877/0.2578, allocations: 0.535 MB / 418.8 MB, free: 4.391 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.41e-07/0.2579, allocations: 0 / 418.8 MB, free: 4.391 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005278/0.2584, allocations: 247.6 kB / 419 MB, free: 4.148 MB / 298.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.0004505/0.2588, allocations: 365.1 kB / 419.4 MB, free: 3.781 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000826/0.2597, allocations: 0.5972 MB / 420 MB, free: 3.152 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2597, allocations: 8.062 kB / 420 MB, free: 3.145 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004477/0.2601, allocations: 448.7 kB / 420.4 MB, free: 2.676 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004261/0.2606, allocations: 94.06 kB / 420.5 MB, free: 2.582 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00192/0.2625, allocations: 1.835 MB / 422.3 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003441/0.2629, allocations: 0.9561 MB / 423.3 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002697/0.2631, allocations: 85.2 kB / 423.4 MB, free: 15.65 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.354e-05/0.2632, allocations: 39.44 kB / 423.4 MB, free: 15.61 MB / 314.7 MB Notification: Performance of SimCode: time 6.41e-07/0.2632, allocations: 0 / 423.4 MB, free: 15.61 MB / 314.7 MB Notification: Performance of Templates: time 0.0143/0.2775, allocations: 7.944 MB / 431.4 MB, free: 7.668 MB / 314.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile (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) 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","../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches