Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001613/0.001613, allocations: 107.1 kB / 18.4 MB, free: 4.652 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.001929/0.001929, allocations: 188.5 kB / 19.34 MB, free: 3.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.305/1.305, allocations: 205.1 MB / 225.2 MB, free: 12.22 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 47.92 kB / 329.2 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08261/0.08395, allocations: 46.62 MB / 375.8 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.1662/0.2502, allocations: 5.004 MB / 380.8 MB, free: 9.672 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009873/0.2601, allocations: 10.44 MB / 391.3 MB, free: 4.141 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005862/0.2608, allocations: 30.94 kB / 391.3 MB, free: 4.125 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001579/0.2624, allocations: 0.6841 MB / 392 MB, free: 3.75 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002293/0.2647, allocations: 1.001 MB / 393 MB, free: 3.141 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001292/0.266, allocations: 0.5956 MB / 393.6 MB, free: 2.875 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001909/0.2679, allocations: 1.338 MB / 394.9 MB, free: 2.359 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002555/0.2682, allocations: 173 kB / 395.1 MB, free: 2.277 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002848/0.2685, allocations: 277.5 kB / 395.4 MB, free: 2.152 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002938/0.2688, allocations: 318.7 kB / 395.7 MB, free: 1.984 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.267e-05/0.2688, allocations: 32.81 kB / 395.7 MB, free: 1.984 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001349/0.2702, allocations: 0.6776 MB / 396.4 MB, free: 1.828 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.763e-05/0.2703, allocations: 106.7 kB / 396.5 MB, free: 1.754 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002846/0.2706, allocations: 397.1 kB / 396.9 MB, free: 1.5 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001475/0.2721, allocations: 1.279 MB / 398.2 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.2721, allocations: 2.469 kB / 398.2 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2721, allocations: 0.8438 kB / 398.2 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.17e-05/0.2721, allocations: 0 / 398.2 MB, free: 0.9531 MB / 318.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.001653/0.2738, allocations: 1.362 MB / 399.5 MB, free: 15.96 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.2738, allocations: 9.594 kB / 399.5 MB, free: 15.96 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001544/0.274, allocations: 121.5 kB / 399.6 MB, free: 15.9 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001062/0.275, allocations: 0.7571 MB / 400.4 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.301e-05/0.2751, allocations: 23.77 kB / 400.4 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.872e-05/0.2751, allocations: 25.86 kB / 400.5 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006331/0.2758, allocations: 315.2 kB / 400.8 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.2758, allocations: 3.938 kB / 400.8 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.353e-05/0.2759, allocations: 11.08 kB / 400.8 MB, free: 15.24 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.366e-05/0.2759, allocations: 16.38 kB / 400.8 MB, free: 15.23 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006491/0.2765, allocations: 282.2 kB / 401.1 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001996/0.2785, allocations: 1.362 MB / 402.4 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006677/0.2792, allocations: 299.6 kB / 402.7 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004262/0.2797, allocations: 249.3 kB / 403 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004129/0.2838, allocations: 3.596 MB / 406.6 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004239/0.2842, allocations: 198 kB / 406.8 MB, free: 10.67 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 2.024e-06/0.2842, allocations: 0 / 406.8 MB, free: 10.67 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.001633/0.2859, allocations: 0.7306 MB / 407.5 MB, free: 10.25 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/0.2859, allocations: 57.16 kB / 407.5 MB, free: 10.18 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009296/0.2869, allocations: 0.8149 MB / 408.4 MB, free: 9.809 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.762e-05/0.2869, allocations: 36.02 kB / 408.4 MB, free: 9.77 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003356/0.2873, allocations: 447.6 kB / 408.8 MB, free: 9.379 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.645e-05/0.2873, allocations: 107.1 kB / 408.9 MB, free: 9.285 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.2875, allocations: 68.72 kB / 409 MB, free: 9.242 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.2876, allocations: 325.4 kB / 409.3 MB, free: 8.922 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002858/0.2879, allocations: 117.4 kB / 409.4 MB, free: 8.867 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003528/0.2882, allocations: 224.6 kB / 409.7 MB, free: 8.672 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00063/0.2889, allocations: 360 kB / 410 MB, free: 8.406 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.2889, allocations: 6.188 kB / 410 MB, free: 8.402 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009757/0.2899, allocations: 0.5234 MB / 410.5 MB, free: 8.113 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.2899, allocations: 7.156 kB / 410.5 MB, free: 8.113 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-05/0.29, allocations: 40.28 kB / 410.6 MB, free: 8.105 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002099/0.2902, allocations: 59.28 kB / 410.6 MB, free: 8.066 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003101/0.2905, allocations: 67.14 kB / 410.7 MB, free: 8.051 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002073/0.2926, allocations: 2.854 MB / 413.6 MB, free: 5.113 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003272/0.2929, allocations: 43.09 kB / 413.6 MB, free: 5.086 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.052e-05/0.293, allocations: 19.56 kB / 413.6 MB, free: 5.082 MB / 334.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.0002613/0.2932, allocations: 203.3 kB / 413.8 MB, free: 4.91 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.2934, allocations: 107.5 kB / 413.9 MB, free: 4.855 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001099/0.2945, allocations: 497 kB / 414.4 MB, free: 4.562 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.2945, allocations: 1.156 kB / 414.4 MB, free: 4.562 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-05/0.2945, allocations: 35.09 kB / 414.4 MB, free: 4.559 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00021/0.2947, allocations: 185.5 kB / 414.6 MB, free: 4.387 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.919e-05/0.2948, allocations: 10.83 kB / 414.6 MB, free: 4.379 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002433/0.2951, allocations: 14.83 kB / 414.6 MB, free: 4.371 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.297e-05/0.2952, allocations: 37.59 kB / 414.7 MB, free: 4.348 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0011/0.2963, allocations: 457.8 kB / 415.1 MB, free: 4.07 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001125/0.2974, allocations: 0.7009 MB / 415.8 MB, free: 3.609 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002905/0.2977, allocations: 132.4 kB / 416 MB, free: 3.539 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000677/0.2984, allocations: 0.5503 MB / 416.5 MB, free: 3.215 MB / 334.1 MB Notification: Performance of Backend: time 7.52e-07/0.2984, allocations: 0 / 416.5 MB, free: 3.215 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0021/0.3005, allocations: 0.9348 MB / 417.4 MB, free: 2.609 MB / 334.1 MB Notification: Performance of SimCode: time 0.002182/0.3027, allocations: 1.966 MB / 419.4 MB, free: 1.184 MB / 334.1 MB Notification: Performance of Templates: time 0.01748/0.3202, allocations: 10.15 MB / 429.6 MB, free: 8.352 MB / 350.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkRtlInverter/Spice3BenchmarkRtlInverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches