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.001615/0.001615, allocations: 176.4 kB / 8.347 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.518/1.518, allocations: 221.5 MB / 230.3 MB, free: 7.535 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.0008618/0.0008619, allocations: 95.59 kB / 281.2 MB, free: 5.281 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.633e-05/1.636e-05, allocations: 0 / 337 MB, free: 10.04 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09671/0.09674, allocations: 50.42 MB / 387.5 MB, free: 7.578 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3188/0.4156, allocations: 91.81 MB / 479.3 MB, free: 3.039 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002291/0.4159, allocations: 73.75 kB / 479.3 MB, free: 2.969 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08924/0.5052, allocations: 43.76 MB / 0.5108 GB, free: 7.152 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.5052, allocations: 0 / 0.5108 GB, free: 7.152 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.6e-05/0.5052, allocations: 12.88 kB / 0.5108 GB, free: 7.141 MB / 394.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.001807/0.5071, allocations: 1.108 MB / 0.5119 GB, free: 5.984 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.5071, allocations: 8.031 kB / 0.5119 GB, free: 5.977 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001337/0.5073, allocations: 118.6 kB / 0.512 GB, free: 5.859 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009477/0.5082, allocations: 0.7209 MB / 0.5128 GB, free: 5.086 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.222e-05/0.5082, allocations: 15.95 kB / 0.5128 GB, free: 5.07 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.906e-05/0.5083, allocations: 19.98 kB / 0.5128 GB, free: 5.051 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004114/0.5087, allocations: 209.3 kB / 0.513 GB, free: 4.848 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004314/0.5092, allocations: 257 kB / 0.5132 GB, free: 4.59 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.5092, allocations: 0 / 0.5132 GB, free: 4.59 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.616e-05/0.5092, allocations: 0 / 0.5132 GB, free: 4.59 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/0.5092, allocations: 12 kB / 0.5132 GB, free: 4.578 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001931/0.5112, allocations: 1.325 MB / 0.5145 GB, free: 3.176 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004484/0.5116, allocations: 234.9 kB / 0.5148 GB, free: 2.938 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003016/0.512, allocations: 220.7 kB / 0.515 GB, free: 2.719 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005776/0.5177, allocations: 4.235 MB / 0.5191 GB, free: 13.82 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002931/0.5181, allocations: 160.8 kB / 0.5193 GB, free: 13.66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 2.565e-06/0.5181, allocations: 0 / 0.5193 GB, free: 13.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=29): time 0.001034/0.5191, allocations: 423.4 kB / 0.5197 GB, free: 13.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/0.5192, allocations: 59.59 kB / 0.5197 GB, free: 13.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000883/0.5201, allocations: 0.6531 MB / 0.5204 GB, free: 12.49 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.915e-05/0.5201, allocations: 25.7 kB / 0.5204 GB, free: 12.46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003942/0.5205, allocations: 444.7 kB / 0.5208 GB, free: 12.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.424e-05/0.5206, allocations: 98.55 kB / 0.5209 GB, free: 11.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.864e-05/0.5207, allocations: 0 / 0.5209 GB, free: 11.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.5208, allocations: 325.9 kB / 0.5212 GB, free: 11.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000146/0.521, allocations: 80.77 kB / 0.5213 GB, free: 11.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002253/0.5212, allocations: 187.8 kB / 0.5215 GB, free: 11.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003716/0.5216, allocations: 175.8 kB / 0.5216 GB, free: 11.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.5216, allocations: 0 / 0.5216 GB, free: 11.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000924/0.5225, allocations: 0.4898 MB / 0.5221 GB, free: 10.62 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.447e-05/0.5226, allocations: 9.25 kB / 0.5221 GB, free: 10.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-05/0.5226, allocations: 32.44 kB / 0.5222 GB, free: 10.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002977/0.5229, allocations: 61.62 kB / 0.5222 GB, free: 10.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003529/0.5233, allocations: 79.69 kB / 0.5223 GB, free: 10.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002296/0.5256, allocations: 2.564 MB / 0.5248 GB, free: 7.641 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000472/0.5261, allocations: 39.67 kB / 0.5248 GB, free: 7.602 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.814e-05/0.5262, allocations: 16 kB / 0.5248 GB, free: 7.586 MB / 410.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.0001464/0.5263, allocations: 113.2 kB / 0.525 GB, free: 7.469 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.5264, allocations: 106.8 kB / 0.5251 GB, free: 7.363 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001179/0.5276, allocations: 0.4903 MB / 0.5255 GB, free: 6.859 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.5276, allocations: 4 kB / 0.5255 GB, free: 6.855 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.5276, allocations: 0 / 0.5255 GB, free: 6.855 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.5277, allocations: 3.984 kB / 0.5255 GB, free: 6.852 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006001/0.5283, allocations: 0.5188 MB / 0.526 GB, free: 6.297 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-05/0.5283, allocations: 28 kB / 0.5261 GB, free: 6.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002526/0.5286, allocations: 51.95 kB / 0.5261 GB, free: 6.219 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001412/0.5287, allocations: 45.69 kB / 0.5262 GB, free: 6.168 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.368e-05/0.5288, allocations: 7.984 kB / 0.5262 GB, free: 6.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001656/0.5304, allocations: 2.552 MB / 0.5287 GB, free: 3.379 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.5304, allocations: 0 / 0.5287 GB, free: 3.379 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009026/0.5313, allocations: 0.5761 MB / 0.5292 GB, free: 2.777 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002126/0.5316, allocations: 183.8 kB / 0.5294 GB, free: 2.578 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.978e-05/0.5317, allocations: 11.94 kB / 0.5294 GB, free: 2.566 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002419/0.5319, allocations: 24.09 kB / 0.5294 GB, free: 2.543 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.14e-05/0.532, allocations: 27.92 kB / 0.5295 GB, free: 2.516 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.316e-05/0.532, allocations: 11.94 kB / 0.5295 GB, free: 2.504 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006189/0.5327, allocations: 0.4996 MB / 0.53 GB, free: 1.996 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5327, allocations: 0 / 0.53 GB, free: 1.996 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007476/0.5334, allocations: 263.5 kB / 0.5302 GB, free: 1.738 MB / 410.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.0007139/0.5341, allocations: 0.4897 MB / 0.5307 GB, free: 1.238 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007107/0.5349, allocations: 0.5018 MB / 0.5312 GB, free: 0.7109 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.5349, allocations: 0 / 0.5312 GB, free: 0.7109 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000406/0.5353, allocations: 397.1 kB / 0.5316 GB, free: 304 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004849/0.5358, allocations: 108.4 kB / 0.5317 GB, free: 192 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002104/0.5379, allocations: 1.101 MB / 0.5327 GB, free: 15.05 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000513/0.5384, allocations: 0.9758 MB / 0.5337 GB, free: 14.05 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003471/0.5388, allocations: 89.64 kB / 0.5338 GB, free: 13.96 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.622e-05/0.5389, allocations: 47.44 kB / 0.5338 GB, free: 13.91 MB / 426.7 MB Notification: Performance of SimCode: time 5.21e-07/0.5389, allocations: 4 kB / 0.5338 GB, free: 13.91 MB / 426.7 MB Notification: Performance of Templates: time 0.01489/0.5538, allocations: 7.341 MB / 0.541 GB, free: 6.609 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