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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001605/0.001605, allocations: 175.5 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 221.3 MB / 235.5 MB, free: 2.945 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008766/0.0008767, allocations: 98.14 kB / 286.5 MB, free: 216 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.321e-05/2.342e-05, allocations: 4 kB / 343.8 MB, free: 4.305 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1067, allocations: 50.42 MB / 394.2 MB, free: 1.848 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3226/0.4293, allocations: 92.46 MB / 486.7 MB, free: 11.03 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002474/0.4296, allocations: 79.78 kB / 486.8 MB, free: 10.96 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09013/0.5198, allocations: 46.32 MB / 0.5206 GB, free: 12.52 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.5198, allocations: 0 / 0.5206 GB, free: 12.52 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.752e-05/0.5198, allocations: 16.88 kB / 0.5206 GB, free: 12.5 MB / 410.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.001938/0.5218, allocations: 1.101 MB / 0.5217 GB, free: 11.36 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.5218, allocations: 16.03 kB / 0.5217 GB, free: 11.34 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001399/0.522, allocations: 114.6 kB / 0.5218 GB, free: 11.23 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001031/0.523, allocations: 0.7248 MB / 0.5225 GB, free: 10.45 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/0.5231, allocations: 20.52 kB / 0.5226 GB, free: 10.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.705e-05/0.5231, allocations: 28 kB / 0.5226 GB, free: 10.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000489/0.5236, allocations: 286.2 kB / 0.5229 GB, free: 10.11 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.5236, allocations: 0 / 0.5229 GB, free: 10.11 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.374e-05/0.5237, allocations: 8 kB / 0.5229 GB, free: 10.11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.797e-05/0.5237, allocations: 15.97 kB / 0.5229 GB, free: 10.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003761/0.5241, allocations: 234.4 kB / 0.5231 GB, free: 9.863 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002002/0.5261, allocations: 1.396 MB / 0.5245 GB, free: 8.375 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004027/0.5265, allocations: 250.9 kB / 0.5247 GB, free: 8.121 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002759/0.5268, allocations: 216.8 kB / 0.5249 GB, free: 7.906 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004617/0.5314, allocations: 4.224 MB / 0.529 GB, free: 3.023 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002759/0.5317, allocations: 180.9 kB / 0.5292 GB, free: 2.836 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 2.304e-06/0.5317, allocations: 0 / 0.5292 GB, free: 2.836 MB / 410.7 MB Notification: Performance of matching and sorting (n=29): time 0.0006881/0.5324, allocations: 385.9 kB / 0.5296 GB, free: 2.449 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.5325, allocations: 59.53 kB / 0.5296 GB, free: 2.379 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008069/0.5333, allocations: 0.7093 MB / 0.5303 GB, free: 1.652 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.802e-05/0.5333, allocations: 33.7 kB / 0.5304 GB, free: 1.613 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000325/0.5337, allocations: 448.4 kB / 0.5308 GB, free: 1.172 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.191e-05/0.5337, allocations: 94.64 kB / 0.5309 GB, free: 1.078 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.789e-05/0.5338, allocations: 8 kB / 0.5309 GB, free: 1.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.5339, allocations: 329.9 kB / 0.5312 GB, free: 0.7422 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001615/0.534, allocations: 88.77 kB / 0.5313 GB, free: 0.6562 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002114/0.5343, allocations: 200 kB / 0.5315 GB, free: 428 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001802/0.5345, allocations: 112 kB / 0.5316 GB, free: 316 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.5345, allocations: 0 / 0.5316 GB, free: 316 kB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006947/0.5352, allocations: 481.4 kB / 0.532 GB, free: 15.82 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.5352, allocations: 9.25 kB / 0.532 GB, free: 15.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.914e-05/0.5352, allocations: 28 kB / 0.5321 GB, free: 15.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002005/0.5355, allocations: 66.02 kB / 0.5321 GB, free: 15.72 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003144/0.5358, allocations: 79.88 kB / 0.5322 GB, free: 15.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001844/0.5376, allocations: 2.643 MB / 0.5348 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003298/0.538, allocations: 47.66 kB / 0.5348 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.891e-05/0.538, allocations: 20 kB / 0.5349 GB, free: 12.66 MB / 426.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.000107/0.5381, allocations: 124.8 kB / 0.535 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001485/0.5383, allocations: 114.6 kB / 0.5351 GB, free: 12.42 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008938/0.5392, allocations: 454.2 kB / 0.5355 GB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.5392, allocations: 4 kB / 0.5355 GB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.5392, allocations: 0 / 0.5355 GB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.5392, allocations: 0 / 0.5355 GB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005671/0.5398, allocations: 0.57 MB / 0.5361 GB, free: 11.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.846e-05/0.5399, allocations: 31.98 kB / 0.5361 GB, free: 11.31 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002534/0.5401, allocations: 47.97 kB / 0.5362 GB, free: 11.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001392/0.5403, allocations: 49.69 kB / 0.5362 GB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.09e-05/0.5403, allocations: 11.98 kB / 0.5362 GB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001698/0.542, allocations: 2.639 MB / 0.5388 GB, free: 8.293 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.5421, allocations: 3.953 kB / 0.5388 GB, free: 8.289 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007623/0.5428, allocations: 0.5294 MB / 0.5393 GB, free: 7.734 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002235/0.5431, allocations: 191.8 kB / 0.5395 GB, free: 7.527 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.229e-05/0.5431, allocations: 8 kB / 0.5395 GB, free: 7.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002405/0.5434, allocations: 20.11 kB / 0.5395 GB, free: 7.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.137e-05/0.5435, allocations: 27.95 kB / 0.5395 GB, free: 7.473 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-05/0.5435, allocations: 8 kB / 0.5396 GB, free: 7.465 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006227/0.5441, allocations: 0.5594 MB / 0.5401 GB, free: 6.895 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5441, allocations: 0 / 0.5401 GB, free: 6.895 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007588/0.5449, allocations: 283.6 kB / 0.5404 GB, free: 6.617 MB / 426.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.0007235/0.5456, allocations: 442.2 kB / 0.5408 GB, free: 6.176 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008305/0.5465, allocations: 0.5345 MB / 0.5413 GB, free: 5.609 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.5465, allocations: 0 / 0.5413 GB, free: 5.609 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005174/0.547, allocations: 414.8 kB / 0.5417 GB, free: 5.172 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005271/0.5476, allocations: 114.9 kB / 0.5418 GB, free: 5.062 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002015/0.5496, allocations: 1.131 MB / 0.5429 GB, free: 3.906 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004638/0.5501, allocations: 0.9719 MB / 0.5439 GB, free: 2.906 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002907/0.5504, allocations: 89.72 kB / 0.544 GB, free: 2.816 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.077e-05/0.5505, allocations: 47.44 kB / 0.544 GB, free: 2.77 MB / 426.7 MB Notification: Performance of SimCode: time 4.11e-07/0.5505, allocations: 4 kB / 0.544 GB, free: 2.766 MB / 426.7 MB Notification: Performance of Templates: time 0.2087/0.7592, allocations: 10.24 MB / 0.554 GB, free: 112 MB / 426.7 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","../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches