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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 110.6 kB / 17.06 MB, free: 6.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 198.9 kB / 18 MB, free: 5.172 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000917/0.000917, allocations: 51.91 kB / 351.3 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.2529, allocations: 49.43 MB / 400.7 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.005598/0.2585, allocations: 5.069 MB / 405.8 MB, free: 3.793 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01095/0.2695, allocations: 10.78 MB / 416.6 MB, free: 8.961 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005486/0.2701, allocations: 27.75 kB / 416.6 MB, free: 8.934 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001511/0.2716, allocations: 0.6955 MB / 417.3 MB, free: 8.238 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002646/0.2743, allocations: 1.01 MB / 418.3 MB, free: 7.219 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001417/0.2757, allocations: 0.6037 MB / 418.9 MB, free: 6.613 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00199/0.2777, allocations: 1.377 MB / 420.3 MB, free: 5.234 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002718/0.278, allocations: 173.2 kB / 420.5 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003181/0.2783, allocations: 286.5 kB / 420.7 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003281/0.2787, allocations: 321.9 kB / 421 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.539e-05/0.2787, allocations: 32 kB / 421.1 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001448/0.2802, allocations: 0.7376 MB / 421.8 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.63e-05/0.2803, allocations: 119.2 kB / 421.9 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003435/0.2806, allocations: 401.4 kB / 422.3 MB, free: 3.172 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001411/0.2821, allocations: 1.261 MB / 423.6 MB, free: 1.906 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.2821, allocations: 3.984 kB / 423.6 MB, free: 1.902 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2821, allocations: 0 / 423.6 MB, free: 1.902 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.2821, allocations: 0 / 423.6 MB, free: 1.902 MB / 334.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.00184/0.284, allocations: 1.315 MB / 424.9 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.284, allocations: 8.031 kB / 424.9 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001279/0.2841, allocations: 115.5 kB / 425 MB, free: 420 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001039/0.2852, allocations: 0.7471 MB / 425.8 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.577e-05/0.2852, allocations: 24.5 kB / 425.8 MB, free: 15.58 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.112e-05/0.2853, allocations: 27.98 kB / 425.8 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006588/0.2859, allocations: 325.3 kB / 426.1 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.286, allocations: 0 / 426.1 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.474e-05/0.286, allocations: 8 kB / 426.2 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.514e-05/0.286, allocations: 11.98 kB / 426.2 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007045/0.2867, allocations: 274.2 kB / 426.4 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001932/0.2887, allocations: 1.372 MB / 427.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000712/0.2894, allocations: 298.5 kB / 428.1 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004305/0.2898, allocations: 244.6 kB / 428.3 MB, free: 12.94 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004094/0.294, allocations: 3.596 MB / 431.9 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000423/0.2944, allocations: 197 kB / 432.1 MB, free: 8.594 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.953e-06/0.2944, allocations: 0 / 432.1 MB, free: 8.594 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001602/0.296, allocations: 0.7265 MB / 432.8 MB, free: 7.816 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/0.2961, allocations: 59.39 kB / 432.9 MB, free: 7.746 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001098/0.2972, allocations: 0.8154 MB / 433.7 MB, free: 6.914 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.1e-05/0.2972, allocations: 29.7 kB / 433.8 MB, free: 6.879 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003851/0.2976, allocations: 448.4 kB / 434.2 MB, free: 6.438 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.44e-05/0.2977, allocations: 102.5 kB / 434.3 MB, free: 6.336 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000112/0.2978, allocations: 77.94 kB / 434.4 MB, free: 6.254 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.2979, allocations: 321.9 kB / 434.7 MB, free: 5.934 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002963/0.2982, allocations: 116.7 kB / 434.8 MB, free: 5.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000349/0.2986, allocations: 236 kB / 435 MB, free: 5.547 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006321/0.2992, allocations: 361.6 kB / 435.4 MB, free: 5.148 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.2993, allocations: 0 / 435.4 MB, free: 5.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009292/0.3002, allocations: 0.5175 MB / 435.9 MB, free: 4.617 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.3002, allocations: 8 kB / 435.9 MB, free: 4.609 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.483e-05/0.3003, allocations: 39.98 kB / 435.9 MB, free: 4.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000235/0.3005, allocations: 49.69 kB / 436 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003141/0.3008, allocations: 75.89 kB / 436.1 MB, free: 4.441 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002077/0.3029, allocations: 2.848 MB / 438.9 MB, free: 1.309 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003118/0.3033, allocations: 43.66 kB / 439 MB, free: 1.266 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.888e-05/0.3033, allocations: 20 kB / 439 MB, free: 1.246 MB / 350.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.0002764/0.3036, allocations: 205.7 kB / 439.2 MB, free: 1.035 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.3037, allocations: 110.6 kB / 439.3 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001079/0.3048, allocations: 493.1 kB / 439.8 MB, free: 440 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.3048, allocations: 4 kB / 439.8 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.3048, allocations: 0 / 439.8 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.3048, allocations: 3.984 kB / 439.8 MB, free: 432 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005806/0.3054, allocations: 0.5544 MB / 440.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.193e-05/0.3055, allocations: 35.98 kB / 440.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000253/0.3057, allocations: 47.91 kB / 440.4 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001426/0.3059, allocations: 45.69 kB / 440.5 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.642e-05/0.3059, allocations: 11.98 kB / 440.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002036/0.308, allocations: 2.844 MB / 443.3 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.308, allocations: 0 / 443.3 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001212/0.3092, allocations: 0.6004 MB / 443.9 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001946/0.3094, allocations: 183.8 kB / 444.1 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.392e-05/0.3095, allocations: 8 kB / 444.1 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002427/0.3097, allocations: 20.05 kB / 444.1 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.275e-05/0.3098, allocations: 27.97 kB / 444.1 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.547e-05/0.3099, allocations: 15.92 kB / 444.2 MB, free: 11.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007781/0.3107, allocations: 0.5467 MB / 444.7 MB, free: 11.1 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3107, allocations: 0 / 444.7 MB, free: 11.1 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000627/0.3113, allocations: 243.7 kB / 444.9 MB, free: 10.86 MB / 366.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.0006069/0.3119, allocations: 352.2 kB / 445.3 MB, free: 10.51 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001153/0.3131, allocations: 0.5933 MB / 445.9 MB, free: 9.883 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.3131, allocations: 4.062 kB / 445.9 MB, free: 9.879 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006158/0.3137, allocations: 437.2 kB / 446.3 MB, free: 9.422 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005567/0.3143, allocations: 104.4 kB / 446.4 MB, free: 9.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002441/0.3167, allocations: 1.52 MB / 447.9 MB, free: 7.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004922/0.3173, allocations: 0.9522 MB / 448.9 MB, free: 6.789 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002235/0.3175, allocations: 89.2 kB / 449 MB, free: 6.699 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.322e-05/0.3176, allocations: 39.44 kB / 449 MB, free: 6.66 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3176, allocations: 0 / 449 MB, free: 6.66 MB / 366.1 MB Notification: Performance of Templates: time 0.01531/0.3329, allocations: 8.389 MB / 457.4 MB, free: 14.3 MB / 382.1 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","/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) Reference file matches