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.001323/0.001323, allocations: 180.4 kB / 16.38 MB, free: 5.762 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.267/1.267, allocations: 223.2 MB / 240.3 MB, free: 11.83 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008704/0.0008704, allocations: 109.4 kB / 291.5 MB, free: 10.87 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000227/0.0002269, allocations: 15.94 kB / 351.1 MB, free: 15.26 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1895/0.1898, allocations: 50.39 MB / 401.5 MB, free: 32.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1019/0.2917, allocations: 92.54 MB / 494 MB, free: 3.895 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002162/0.2919, allocations: 71.97 kB / 494.1 MB, free: 3.824 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2685/0.5605, allocations: 46.45 MB / 0.5279 GB, free: 84.35 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.5605, allocations: 0 / 0.5279 GB, free: 84.35 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.775e-05/0.5606, allocations: 16 kB / 0.5279 GB, free: 84.33 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.001971/0.5625, allocations: 1.295 MB / 0.5292 GB, free: 83.08 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.5626, allocations: 8.031 kB / 0.5292 GB, free: 83.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001761/0.5628, allocations: 110.7 kB / 0.5293 GB, free: 82.96 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009811/0.5638, allocations: 0.7233 MB / 0.53 GB, free: 82.33 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.5638, allocations: 32.52 kB / 0.53 GB, free: 82.3 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.203e-05/0.5638, allocations: 24 kB / 0.53 GB, free: 82.28 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000549/0.5644, allocations: 328.5 kB / 0.5304 GB, free: 82.01 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.5644, allocations: 3.938 kB / 0.5304 GB, free: 82.01 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.03e-05/0.5645, allocations: 15.19 kB / 0.5304 GB, free: 82 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.5645, allocations: 12 kB / 0.5304 GB, free: 81.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005654/0.565, allocations: 295.8 kB / 0.5307 GB, free: 81.74 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001586/0.5666, allocations: 1.395 MB / 0.532 GB, free: 80.47 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005665/0.5672, allocations: 314.3 kB / 0.5323 GB, free: 80.19 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003449/0.5707, allocations: 4.195 MB / 0.5364 GB, free: 75.56 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003574/0.5711, allocations: 208.3 kB / 0.5366 GB, free: 75.34 MB / 378.7 MB Notification: Performance of pre-optimization done (n=29): time 2.424e-06/0.5711, allocations: 4 kB / 0.5366 GB, free: 75.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=29): time 0.001326/0.5724, allocations: 0.8358 MB / 0.5374 GB, free: 74.44 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.293e-05/0.5724, allocations: 55.59 kB / 0.5375 GB, free: 74.37 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006342/0.5731, allocations: 0.72 MB / 0.5382 GB, free: 73.64 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.5731, allocations: 33.7 kB / 0.5382 GB, free: 73.6 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002327/0.5733, allocations: 448.4 kB / 0.5387 GB, free: 73.16 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.202e-05/0.5734, allocations: 102.6 kB / 0.5388 GB, free: 73.05 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.542e-05/0.5734, allocations: 8 kB / 0.5388 GB, free: 73.05 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.094e-05/0.5735, allocations: 322 kB / 0.5391 GB, free: 72.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002458/0.5737, allocations: 120.7 kB / 0.5392 GB, free: 72.61 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002692/0.574, allocations: 236 kB / 0.5394 GB, free: 72.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002601/0.5743, allocations: 152.4 kB / 0.5396 GB, free: 72.19 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.5743, allocations: 7.938 kB / 0.5396 GB, free: 72.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007524/0.575, allocations: 0.5415 MB / 0.5401 GB, free: 71.62 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.5751, allocations: 7.125 kB / 0.5401 GB, free: 71.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-05/0.5751, allocations: 32 kB / 0.5401 GB, free: 71.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001788/0.5753, allocations: 62.09 kB / 0.5402 GB, free: 71.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002742/0.5756, allocations: 79.83 kB / 0.5403 GB, free: 71.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001195/0.5768, allocations: 2.658 MB / 0.5429 GB, free: 68.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000291/0.5771, allocations: 44.14 kB / 0.5429 GB, free: 68.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.159e-05/0.5771, allocations: 20 kB / 0.5429 GB, free: 68.45 MB / 378.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 () * 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 (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.0001946/0.5773, allocations: 206.8 kB / 0.5431 GB, free: 68.24 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.517e-05/0.5774, allocations: 110.8 kB / 0.5432 GB, free: 68.13 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009585/0.5784, allocations: 0.5172 MB / 0.5437 GB, free: 67.6 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.5784, allocations: 4 kB / 0.5437 GB, free: 67.6 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.5784, allocations: 3.938 kB / 0.5437 GB, free: 67.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.768e-06/0.5784, allocations: 3.984 kB / 0.5437 GB, free: 67.59 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000421/0.5788, allocations: 0.5739 MB / 0.5443 GB, free: 66.97 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.039e-05/0.5789, allocations: 28 kB / 0.5443 GB, free: 66.94 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002264/0.5791, allocations: 51.95 kB / 0.5444 GB, free: 66.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001153/0.5792, allocations: 45.69 kB / 0.5444 GB, free: 66.84 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.601e-05/0.5793, allocations: 15.98 kB / 0.5444 GB, free: 66.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001086/0.5804, allocations: 2.65 MB / 0.547 GB, free: 63.91 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.5804, allocations: 7.891 kB / 0.547 GB, free: 63.9 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009623/0.5813, allocations: 0.6275 MB / 0.5476 GB, free: 63.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001827/0.5815, allocations: 191.8 kB / 0.5478 GB, free: 63.04 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.926e-05/0.5816, allocations: 4 kB / 0.5478 GB, free: 63.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002269/0.5818, allocations: 23.98 kB / 0.5479 GB, free: 63.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.741e-05/0.5819, allocations: 39.88 kB / 0.5479 GB, free: 62.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.168e-05/0.5819, allocations: 8 kB / 0.5479 GB, free: 62.97 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004842/0.5824, allocations: 0.5702 MB / 0.5485 GB, free: 62.39 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5824, allocations: 0 / 0.5485 GB, free: 62.39 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006823/0.5831, allocations: 279.6 kB / 0.5487 GB, free: 62.12 MB / 378.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) * Number of clocked states: 0 () * 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.0005524/0.5837, allocations: 437.3 kB / 0.5491 GB, free: 61.68 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000795/0.5845, allocations: 0.6049 MB / 0.5497 GB, free: 61.05 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.5845, allocations: 0 / 0.5497 GB, free: 61.05 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004689/0.585, allocations: 447 kB / 0.5502 GB, free: 60.58 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003949/0.5854, allocations: 123.2 kB / 0.5503 GB, free: 60.46 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001825/0.5872, allocations: 1.731 MB / 0.552 GB, free: 58.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002676/0.5875, allocations: 0.9719 MB / 0.5529 GB, free: 57.7 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002646/0.5878, allocations: 93.72 kB / 0.553 GB, free: 57.61 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.256e-05/0.5879, allocations: 43.44 kB / 0.553 GB, free: 57.56 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5879, allocations: 4 kB / 0.5531 GB, free: 57.56 MB / 378.7 MB Notification: Performance of Templates: time 0.01384/0.6017, allocations: 9.486 MB / 0.5623 GB, free: 48.11 MB / 378.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