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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001839/0.00184, allocations: 172.5 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.577/1.577, allocations: 205.2 MB / 219.8 MB, free: 14.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009355/0.0009356, allocations: 97.89 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.415e-05/2.428e-05, allocations: 4 kB / 322.4 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08503/0.08507, allocations: 47.57 MB / 370 MB, free: 1.727 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4011/0.4863, allocations: 90.3 MB / 460.3 MB, free: 3.238 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002113/0.4865, allocations: 68.94 kB / 460.4 MB, free: 3.207 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0846/0.5711, allocations: 43.59 MB / 0.4922 GB, free: 8.848 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.5712, allocations: 0 / 0.4922 GB, free: 8.848 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.111e-05/0.5712, allocations: 16 kB / 0.4922 GB, free: 8.832 MB / 378.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.0021/0.5733, allocations: 1.104 MB / 0.4933 GB, free: 7.684 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.5734, allocations: 12.03 kB / 0.4933 GB, free: 7.672 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001607/0.5736, allocations: 110.7 kB / 0.4934 GB, free: 7.562 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00111/0.5747, allocations: 0.7273 MB / 0.4941 GB, free: 6.781 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.804e-05/0.5747, allocations: 21.44 kB / 0.4941 GB, free: 6.762 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.003e-05/0.5748, allocations: 27.98 kB / 0.4941 GB, free: 6.734 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005053/0.5753, allocations: 290.2 kB / 0.4944 GB, free: 6.434 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.5753, allocations: 0 / 0.4944 GB, free: 6.434 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.016e-05/0.5754, allocations: 8 kB / 0.4944 GB, free: 6.426 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.512e-05/0.5754, allocations: 12 kB / 0.4944 GB, free: 6.414 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003835/0.5758, allocations: 222.4 kB / 0.4946 GB, free: 6.199 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001998/0.5778, allocations: 1.404 MB / 0.496 GB, free: 4.707 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004321/0.5782, allocations: 250.9 kB / 0.4962 GB, free: 4.453 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003008/0.5785, allocations: 218.1 kB / 0.4965 GB, free: 4.238 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005092/0.5836, allocations: 4.239 MB / 0.5006 GB, free: 15.34 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00032/0.584, allocations: 176.3 kB / 0.5008 GB, free: 15.15 MB / 394.7 MB Notification: Performance of pre-optimization done (n=29): time 2.675e-06/0.584, allocations: 4 kB / 0.5008 GB, free: 15.15 MB / 394.7 MB Notification: Performance of matching and sorting (n=29): time 0.0007407/0.5848, allocations: 371.4 kB / 0.5011 GB, free: 14.77 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.092e-05/0.5848, allocations: 63.53 kB / 0.5012 GB, free: 14.7 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008866/0.5857, allocations: 0.7093 MB / 0.5019 GB, free: 13.97 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/0.5858, allocations: 29.7 kB / 0.5019 GB, free: 13.94 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003461/0.5861, allocations: 452.4 kB / 0.5023 GB, free: 13.49 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.26e-05/0.5862, allocations: 98.64 kB / 0.5024 GB, free: 13.39 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.556e-05/0.5862, allocations: 4 kB / 0.5024 GB, free: 13.39 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.5864, allocations: 322 kB / 0.5027 GB, free: 13.07 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/0.5865, allocations: 92.7 kB / 0.5028 GB, free: 12.98 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000223/0.5868, allocations: 201.2 kB / 0.503 GB, free: 12.74 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001919/0.587, allocations: 119.9 kB / 0.5031 GB, free: 12.62 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.587, allocations: 0 / 0.5031 GB, free: 12.62 MB / 394.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007284/0.5877, allocations: 477.4 kB / 0.5036 GB, free: 12.14 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/0.5877, allocations: 11.98 kB / 0.5036 GB, free: 12.13 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.707e-05/0.5878, allocations: 32 kB / 0.5036 GB, free: 12.1 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002232/0.588, allocations: 54.09 kB / 0.5037 GB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003188/0.5883, allocations: 79.89 kB / 0.5038 GB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001924/0.5903, allocations: 2.643 MB / 0.5063 GB, free: 9.051 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003761/0.5907, allocations: 47.8 kB / 0.5064 GB, free: 9.004 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.469e-05/0.5907, allocations: 16 kB / 0.5064 GB, free: 8.988 MB / 394.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001197/0.5908, allocations: 129 kB / 0.5065 GB, free: 8.855 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.591, allocations: 114.7 kB / 0.5066 GB, free: 8.742 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009422/0.5919, allocations: 458 kB / 0.5071 GB, free: 8.277 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.5919, allocations: 11.89 kB / 0.5071 GB, free: 8.266 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.5919, allocations: 0 / 0.5071 GB, free: 8.266 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.5919, allocations: 3.984 kB / 0.5071 GB, free: 8.262 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006179/0.5926, allocations: 0.5661 MB / 0.5076 GB, free: 7.648 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.835e-05/0.5926, allocations: 28 kB / 0.5077 GB, free: 7.621 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002525/0.5929, allocations: 47.95 kB / 0.5077 GB, free: 7.574 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001394/0.593, allocations: 49.69 kB / 0.5078 GB, free: 7.52 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.477e-05/0.5931, allocations: 11.95 kB / 0.5078 GB, free: 7.508 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001814/0.5949, allocations: 2.643 MB / 0.5103 GB, free: 4.598 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.5949, allocations: 0 / 0.5103 GB, free: 4.598 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007989/0.5957, allocations: 0.5217 MB / 0.5109 GB, free: 4.051 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002629/0.596, allocations: 188.1 kB / 0.511 GB, free: 3.848 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.396e-05/0.5961, allocations: 7.984 kB / 0.511 GB, free: 3.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002499/0.5963, allocations: 24.03 kB / 0.5111 GB, free: 3.816 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.807e-05/0.5964, allocations: 27.97 kB / 0.5111 GB, free: 3.789 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.903e-05/0.5964, allocations: 15.98 kB / 0.5111 GB, free: 3.773 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006909/0.5971, allocations: 0.5477 MB / 0.5116 GB, free: 3.215 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5971, allocations: 4 kB / 0.5116 GB, free: 3.211 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008289/0.598, allocations: 291.4 kB / 0.5119 GB, free: 2.926 MB / 394.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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007044/0.5987, allocations: 435.5 kB / 0.5123 GB, free: 2.492 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007384/0.5994, allocations: 0.5347 MB / 0.5129 GB, free: 1.926 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.5995, allocations: 4.062 kB / 0.5129 GB, free: 1.922 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004491/0.5999, allocations: 414.8 kB / 0.5133 GB, free: 1.484 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003845/0.6003, allocations: 107.8 kB / 0.5134 GB, free: 1.383 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001888/0.6022, allocations: 1.115 MB / 0.5145 GB, free: 252 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004663/0.6027, allocations: 0.9758 MB / 0.5154 GB, free: 15.24 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002998/0.603, allocations: 89.73 kB / 0.5155 GB, free: 15.15 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.223e-05/0.6031, allocations: 51.38 kB / 0.5155 GB, free: 15.1 MB / 410.7 MB Notification: Performance of SimCode: time 8.42e-07/0.6031, allocations: 4 kB / 0.5155 GB, free: 15.1 MB / 410.7 MB Notification: Performance of Templates: time 0.01719/0.6203, allocations: 10.24 MB / 0.5255 GB, free: 4.855 MB / 410.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