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.001359/0.001359, allocations: 176.5 kB / 17.4 MB, free: 4.418 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.366/1.366, allocations: 223.3 MB / 241.4 MB, free: 9.988 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.0007411/0.0007412, allocations: 96.58 kB / 292.6 MB, free: 10.56 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003061/0.0003061, allocations: 8 kB / 352.3 MB, free: 14.81 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1957/0.196, allocations: 50.41 MB / 402.7 MB, free: 32.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1014/0.2975, allocations: 92.61 MB / 495.4 MB, free: 3.676 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002076/0.2977, allocations: 75.95 kB / 495.4 MB, free: 3.602 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3092/0.6069, allocations: 46.11 MB / 0.5289 GB, free: 84.42 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.055e-06/0.607, allocations: 0 / 0.5289 GB, free: 84.42 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.418e-05/0.607, allocations: 12.44 kB / 0.5289 GB, free: 84.41 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.002512/0.6095, allocations: 1.283 MB / 0.5301 GB, free: 83.17 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.6096, allocations: 8.031 kB / 0.5301 GB, free: 83.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001674/0.6098, allocations: 115.6 kB / 0.5302 GB, free: 83.05 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001352/0.6111, allocations: 0.7592 MB / 0.531 GB, free: 82.38 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.093e-05/0.6112, allocations: 20.94 kB / 0.531 GB, free: 82.36 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.95e-05/0.6113, allocations: 32.27 kB / 0.531 GB, free: 82.33 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009043/0.6122, allocations: 328.5 kB / 0.5313 GB, free: 82.06 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.6122, allocations: 4 kB / 0.5313 GB, free: 82.06 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.569e-05/0.6123, allocations: 12 kB / 0.5314 GB, free: 82.05 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.364e-05/0.6123, allocations: 4 kB / 0.5314 GB, free: 82.04 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009611/0.6133, allocations: 300.5 kB / 0.5316 GB, free: 81.79 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00246/0.6158, allocations: 1.39 MB / 0.533 GB, free: 80.53 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009484/0.6167, allocations: 326.5 kB / 0.5333 GB, free: 80.23 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006037/0.6174, allocations: 257.7 kB / 0.5336 GB, free: 80.01 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005916/0.6233, allocations: 4.189 MB / 0.5377 GB, free: 75.37 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006067/0.6239, allocations: 211.2 kB / 0.5379 GB, free: 75.15 MB / 378.7 MB Notification: Performance of pre-optimization done (n=29): time 3.487e-06/0.624, allocations: 0 / 0.5379 GB, free: 75.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=29): time 0.002227/0.6262, allocations: 0.7505 MB / 0.5386 GB, free: 74.35 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.6262, allocations: 59.34 kB / 0.5386 GB, free: 74.28 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001407/0.6277, allocations: 0.8426 MB / 0.5395 GB, free: 73.42 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.05e-05/0.6277, allocations: 29.7 kB / 0.5395 GB, free: 73.39 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000402/0.6281, allocations: 456.5 kB / 0.5399 GB, free: 72.94 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.419e-05/0.6282, allocations: 90.66 kB / 0.54 GB, free: 72.85 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.309e-05/0.6283, allocations: 4 kB / 0.54 GB, free: 72.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.89e-05/0.6283, allocations: 326 kB / 0.5403 GB, free: 72.52 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004272/0.6288, allocations: 120.7 kB / 0.5404 GB, free: 72.4 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004969/0.6293, allocations: 240 kB / 0.5407 GB, free: 72.12 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009288/0.6302, allocations: 389.4 kB / 0.541 GB, free: 71.7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.6302, allocations: 0 / 0.541 GB, free: 71.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001408/0.6317, allocations: 0.5369 MB / 0.5416 GB, free: 71.15 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.6317, allocations: 12.03 kB / 0.5416 GB, free: 71.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.362e-05/0.6318, allocations: 35.94 kB / 0.5416 GB, free: 71.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002921/0.6321, allocations: 53.69 kB / 0.5417 GB, free: 71.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000496/0.6326, allocations: 83.81 kB / 0.5417 GB, free: 70.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001941/0.6346, allocations: 2.647 MB / 0.5443 GB, free: 68.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005778/0.6352, allocations: 47.58 kB / 0.5444 GB, free: 68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.198e-05/0.6352, allocations: 20 kB / 0.5444 GB, free: 67.98 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.0004444/0.6357, allocations: 209.7 kB / 0.5446 GB, free: 67.76 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001357/0.6358, allocations: 102.8 kB / 0.5447 GB, free: 67.66 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001654/0.6375, allocations: 0.4985 MB / 0.5452 GB, free: 67.15 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.6375, allocations: 4 kB / 0.5452 GB, free: 67.15 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.6375, allocations: 0 / 0.5452 GB, free: 67.15 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.6376, allocations: 3.984 kB / 0.5452 GB, free: 67.14 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008059/0.6384, allocations: 0.5815 MB / 0.5458 GB, free: 66.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-05/0.6385, allocations: 32 kB / 0.5458 GB, free: 66.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003861/0.6389, allocations: 51.95 kB / 0.5458 GB, free: 66.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002115/0.6391, allocations: 49.62 kB / 0.5459 GB, free: 66.38 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.783e-05/0.6391, allocations: 8 kB / 0.5459 GB, free: 66.37 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001748/0.6409, allocations: 2.639 MB / 0.5485 GB, free: 63.47 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.6409, allocations: 4.031 kB / 0.5485 GB, free: 63.46 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00121/0.6421, allocations: 0.6347 MB / 0.5491 GB, free: 62.8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002125/0.6424, allocations: 183.8 kB / 0.5493 GB, free: 62.61 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.441e-05/0.6425, allocations: 7.984 kB / 0.5493 GB, free: 62.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002697/0.6427, allocations: 27.86 kB / 0.5493 GB, free: 62.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.067e-05/0.6428, allocations: 31.91 kB / 0.5493 GB, free: 62.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.792e-05/0.6429, allocations: 11.98 kB / 0.5493 GB, free: 62.53 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00065/0.6435, allocations: 0.5702 MB / 0.5499 GB, free: 61.95 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.6435, allocations: 0 / 0.5499 GB, free: 61.95 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000891/0.6444, allocations: 279.5 kB / 0.5502 GB, free: 61.68 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.0006001/0.645, allocations: 444.2 kB / 0.5506 GB, free: 61.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009877/0.646, allocations: 0.6012 MB / 0.5512 GB, free: 60.6 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.6461, allocations: 0 / 0.5512 GB, free: 60.6 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005455/0.6466, allocations: 454.9 kB / 0.5516 GB, free: 60.12 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006243/0.6473, allocations: 116.2 kB / 0.5517 GB, free: 60 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002302/0.6496, allocations: 1.731 MB / 0.5534 GB, free: 58.24 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/0.6499, allocations: 0.9563 MB / 0.5543 GB, free: 57.26 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003587/0.6503, allocations: 85.73 kB / 0.5544 GB, free: 57.17 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.841e-05/0.6504, allocations: 47.44 kB / 0.5545 GB, free: 57.12 MB / 378.7 MB Notification: Performance of SimCode: time 2.9e-07/0.6504, allocations: 0 / 0.5545 GB, free: 57.12 MB / 378.7 MB Notification: Performance of Templates: time 0.01542/0.6658, allocations: 9.822 MB / 0.5641 GB, free: 47.34 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/jenkins1/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