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.001146/0.001146, allocations: 110.3 kB / 17.75 MB, free: 5.359 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.001195/0.001195, allocations: 181.4 kB / 18.67 MB, free: 4.441 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.335/1.335, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001046/0.001046, allocations: 51.92 kB / 352 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2333, allocations: 49.43 MB / 401.4 MB, free: 8.77 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.005328/0.2386, allocations: 5.087 MB / 406.5 MB, free: 3.766 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01063/0.2493, allocations: 10.76 MB / 417.3 MB, free: 8.953 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006633/0.25, allocations: 35.75 kB / 417.3 MB, free: 8.918 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001697/0.2517, allocations: 0.6864 MB / 418 MB, free: 8.23 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003083/0.2548, allocations: 1.015 MB / 419 MB, free: 7.207 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001289/0.2561, allocations: 0.6076 MB / 419.6 MB, free: 6.598 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001783/0.2579, allocations: 1.365 MB / 421 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002645/0.2582, allocations: 173.2 kB / 421.1 MB, free: 5.047 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003095/0.2585, allocations: 294.6 kB / 421.4 MB, free: 4.758 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003257/0.2588, allocations: 317.9 kB / 421.7 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.237e-05/0.2589, allocations: 32 kB / 421.8 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001378/0.2603, allocations: 0.7453 MB / 422.5 MB, free: 3.668 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.301e-05/0.2604, allocations: 115.2 kB / 422.6 MB, free: 3.555 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003084/0.2607, allocations: 397.4 kB / 423 MB, free: 3.164 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001345/0.2621, allocations: 1.269 MB / 424.3 MB, free: 1.891 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.2621, allocations: 0 / 424.3 MB, free: 1.891 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.2621, allocations: 0 / 424.3 MB, free: 1.891 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.769e-06/0.2621, allocations: 0 / 424.3 MB, free: 1.891 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.001844/0.264, allocations: 1.319 MB / 425.6 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.264, allocations: 8.031 kB / 425.6 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001261/0.2641, allocations: 119.5 kB / 425.7 MB, free: 400 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009795/0.2651, allocations: 0.7432 MB / 426.5 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.2652, allocations: 24.5 kB / 426.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.681e-05/0.2652, allocations: 28 kB / 426.5 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006215/0.2659, allocations: 317.3 kB / 426.8 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.2659, allocations: 0 / 426.8 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.377e-05/0.2659, allocations: 12 kB / 426.8 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/0.2659, allocations: 11.98 kB / 426.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006398/0.2666, allocations: 278.2 kB / 427.1 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001872/0.2685, allocations: 1.372 MB / 428.5 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006715/0.2691, allocations: 290.6 kB / 428.8 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004174/0.2696, allocations: 244.6 kB / 429 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004156/0.2737, allocations: 3.596 MB / 432.6 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004267/0.2742, allocations: 199.2 kB / 432.8 MB, free: 8.582 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 2.695e-06/0.2742, allocations: 0 / 432.8 MB, free: 8.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001631/0.2758, allocations: 0.7304 MB / 433.5 MB, free: 7.801 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.122e-05/0.2759, allocations: 51.41 kB / 433.6 MB, free: 7.738 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009401/0.2768, allocations: 0.8154 MB / 434.4 MB, free: 6.906 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.935e-05/0.2769, allocations: 29.7 kB / 434.4 MB, free: 6.871 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000326/0.2772, allocations: 448.4 kB / 434.9 MB, free: 6.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.279e-05/0.2773, allocations: 98.58 kB / 435 MB, free: 6.332 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.2774, allocations: 77.92 kB / 435 MB, free: 6.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.634e-05/0.2775, allocations: 329.8 kB / 435.4 MB, free: 5.922 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002933/0.2778, allocations: 120.7 kB / 435.5 MB, free: 5.805 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003457/0.2782, allocations: 224 kB / 435.7 MB, free: 5.543 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006457/0.2788, allocations: 365.6 kB / 436.1 MB, free: 5.141 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.2788, allocations: 0 / 436.1 MB, free: 5.141 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009471/0.2798, allocations: 0.517 MB / 436.6 MB, free: 4.609 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.2798, allocations: 8 kB / 436.6 MB, free: 4.602 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.249e-05/0.2799, allocations: 28.44 kB / 436.6 MB, free: 4.574 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002247/0.2801, allocations: 61.69 kB / 436.7 MB, free: 4.508 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003208/0.2804, allocations: 71.88 kB / 436.7 MB, free: 4.438 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002026/0.2825, allocations: 2.851 MB / 439.6 MB, free: 1.301 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003198/0.2828, allocations: 39.67 kB / 439.6 MB, free: 1.262 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.904e-05/0.2829, allocations: 20 kB / 439.6 MB, free: 1.242 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.0002857/0.2832, allocations: 215.3 kB / 439.9 MB, free: 1.023 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/0.2833, allocations: 106.9 kB / 440 MB, free: 0.918 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001087/0.2844, allocations: 493 kB / 440.4 MB, free: 432 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.2844, allocations: 0 / 440.4 MB, free: 432 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.704e-05/0.2844, allocations: 39.92 kB / 440.5 MB, free: 392 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00022/0.2847, allocations: 175.8 kB / 440.7 MB, free: 196 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.028e-05/0.2848, allocations: 8 kB / 440.7 MB, free: 188 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002418/0.285, allocations: 15.98 kB / 440.7 MB, free: 172 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.001e-05/0.2851, allocations: 27.95 kB / 440.7 MB, free: 144 kB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001125/0.2862, allocations: 463.1 kB / 441.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001084/0.2873, allocations: 0.6942 MB / 441.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003019/0.2876, allocations: 131.9 kB / 442 MB, free: 14.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000618/0.2883, allocations: 0.5467 MB / 442.5 MB, free: 14.28 MB / 366.1 MB Notification: Performance of Backend: time 6.11e-07/0.2883, allocations: 0 / 442.5 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00189/0.2902, allocations: 0.9317 MB / 443.5 MB, free: 13.31 MB / 366.1 MB Notification: Performance of SimCode: time 0.002184/0.2924, allocations: 1.949 MB / 445.4 MB, free: 11.3 MB / 366.1 MB Notification: Performance of Templates: time 0.01668/0.3091, allocations: 10.14 MB / 455.6 MB, free: 1.184 MB / 366.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkRtlInverter/Spice3BenchmarkRtlInverter.csv","/var/lib/jenkins1/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