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.001309/0.001309, allocations: 177.7 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.511/1.511, allocations: 205.3 MB / 214.4 MB, free: 1.727 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009141/0.0009141, allocations: 80.12 kB / 262.4 MB, free: 1.676 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.335e-05/1.336e-05, allocations: 4 kB / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09239/0.09242, allocations: 47.58 MB / 363.1 MB, free: 7.074 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.337/0.4294, allocations: 89.87 MB / 452.9 MB, free: 6.02 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002425/0.4297, allocations: 70.39 kB / 453 MB, free: 5.984 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08408/0.5138, allocations: 41.04 MB / 494.1 MB, free: 2.688 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5139, allocations: 0 / 494.1 MB, free: 2.688 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.205e-05/0.5139, allocations: 12 kB / 494.1 MB, free: 2.676 MB / 362.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.002167/0.5161, allocations: 1.104 MB / 495.2 MB, free: 1.523 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.5162, allocations: 8.031 kB / 495.2 MB, free: 1.516 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002147/0.5164, allocations: 118.6 kB / 495.3 MB, free: 1.398 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001144/0.5175, allocations: 0.7157 MB / 496 MB, free: 0.6289 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.547e-05/0.5176, allocations: 12.86 kB / 496 MB, free: 0.6172 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.65e-05/0.5176, allocations: 27.92 kB / 496 MB, free: 0.5898 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004305/0.5181, allocations: 205.3 kB / 496.2 MB, free: 400 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004218/0.5185, allocations: 257 kB / 496.5 MB, free: 136 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.5185, allocations: 0 / 496.5 MB, free: 136 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.715e-05/0.5186, allocations: 0 / 496.5 MB, free: 136 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.5186, allocations: 4 kB / 496.5 MB, free: 132 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002033/0.5206, allocations: 1.341 MB / 497.8 MB, free: 14.71 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003918/0.521, allocations: 231 kB / 498.1 MB, free: 14.48 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002901/0.5213, allocations: 204.8 kB / 498.3 MB, free: 14.27 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005223/0.5266, allocations: 4.254 MB / 0.4907 GB, free: 9.363 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002798/0.5269, allocations: 152.8 kB / 0.4909 GB, free: 9.203 MB / 378.7 MB Notification: Performance of pre-optimization done (n=29): time 3.065e-06/0.5269, allocations: 0 / 0.4909 GB, free: 9.203 MB / 378.7 MB Notification: Performance of matching and sorting (n=29): time 0.0009049/0.5278, allocations: 431.4 kB / 0.4913 GB, free: 8.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.838e-05/0.5279, allocations: 63.58 kB / 0.4914 GB, free: 8.695 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/0.5289, allocations: 0.6453 MB / 0.492 GB, free: 8.035 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.238e-05/0.5289, allocations: 25.7 kB / 0.492 GB, free: 8.004 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004076/0.5294, allocations: 444.6 kB / 0.4924 GB, free: 7.566 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.349e-05/0.5295, allocations: 98.64 kB / 0.4925 GB, free: 7.469 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.766e-05/0.5295, allocations: 0 / 0.4925 GB, free: 7.469 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.5296, allocations: 321.9 kB / 0.4928 GB, free: 7.148 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.5298, allocations: 88.77 kB / 0.4929 GB, free: 7.062 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002083/0.53, allocations: 187.7 kB / 0.4931 GB, free: 6.832 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003955/0.5304, allocations: 167.9 kB / 0.4933 GB, free: 6.664 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.5304, allocations: 4 kB / 0.4933 GB, free: 6.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00083/0.5313, allocations: 0.498 MB / 0.4938 GB, free: 6.148 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.5313, allocations: 8.031 kB / 0.4938 GB, free: 6.141 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-05/0.5314, allocations: 32 kB / 0.4938 GB, free: 6.109 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002155/0.5316, allocations: 49.69 kB / 0.4938 GB, free: 6.055 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003262/0.5319, allocations: 83.75 kB / 0.4939 GB, free: 5.973 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001954/0.5339, allocations: 2.557 MB / 0.4964 GB, free: 3.184 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003848/0.5343, allocations: 39.67 kB / 0.4965 GB, free: 3.145 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.02e-05/0.5343, allocations: 20 kB / 0.4965 GB, free: 3.125 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 () * 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.0001381/0.5345, allocations: 113 kB / 0.4966 GB, free: 3.008 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.5346, allocations: 106.7 kB / 0.4967 GB, free: 2.902 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001126/0.5357, allocations: 498.3 kB / 0.4972 GB, free: 2.402 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.5357, allocations: 3.938 kB / 0.4972 GB, free: 2.398 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.5358, allocations: 4 kB / 0.4972 GB, free: 2.395 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.5358, allocations: 3.984 kB / 0.4972 GB, free: 2.391 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006457/0.5364, allocations: 0.5188 MB / 0.4977 GB, free: 1.836 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.547e-05/0.5365, allocations: 35.98 kB / 0.4977 GB, free: 1.801 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002548/0.5367, allocations: 43.97 kB / 0.4978 GB, free: 1.758 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001355/0.5369, allocations: 53.62 kB / 0.4978 GB, free: 1.699 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.812e-05/0.5369, allocations: 11.98 kB / 0.4978 GB, free: 1.688 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001683/0.5386, allocations: 2.544 MB / 0.5003 GB, free: 14.91 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.5386, allocations: 0 / 0.5003 GB, free: 14.91 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008777/0.5395, allocations: 0.5644 MB / 0.5009 GB, free: 14.32 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00021/0.5397, allocations: 199.8 kB / 0.501 GB, free: 14.11 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.08e-05/0.5398, allocations: 0 / 0.501 GB, free: 14.11 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002584/0.5401, allocations: 19.97 kB / 0.5011 GB, free: 14.09 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.021e-05/0.5402, allocations: 27.97 kB / 0.5011 GB, free: 14.06 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.556e-05/0.5402, allocations: 8 kB / 0.5011 GB, free: 14.05 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005923/0.5408, allocations: 0.4957 MB / 0.5016 GB, free: 13.55 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.5408, allocations: 0 / 0.5016 GB, free: 13.55 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000749/0.5416, allocations: 271.5 kB / 0.5018 GB, free: 13.29 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.0007734/0.5424, allocations: 0.4935 MB / 0.5023 GB, free: 12.78 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000784/0.5432, allocations: 0.5049 MB / 0.5028 GB, free: 12.25 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.5432, allocations: 0 / 0.5028 GB, free: 12.25 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004734/0.5437, allocations: 397.1 kB / 0.5032 GB, free: 11.83 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004293/0.5441, allocations: 89.27 kB / 0.5033 GB, free: 11.74 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002156/0.5463, allocations: 1.101 MB / 0.5044 GB, free: 10.61 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005011/0.5468, allocations: 0.9797 MB / 0.5053 GB, free: 9.605 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003117/0.5471, allocations: 89.66 kB / 0.5054 GB, free: 9.516 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.941e-05/0.5472, allocations: 43.44 kB / 0.5054 GB, free: 9.473 MB / 394.7 MB Notification: Performance of SimCode: time 4.51e-07/0.5472, allocations: 0 / 0.5054 GB, free: 9.473 MB / 394.7 MB Notification: Performance of Templates: time 0.01563/0.5628, allocations: 7.333 MB / 0.5126 GB, free: 2.141 MB / 394.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