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.001018/0.001019, allocations: 181.2 kB / 17.01 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.463/1.463, allocations: 205.4 MB / 223.1 MB, free: 9.129 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009205/0.0009206, allocations: 96.08 kB / 271.5 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003592/0.0003593, allocations: 8 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3758/0.3762, allocations: 47.57 MB / 375.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1176/0.4938, allocations: 90.38 MB / 466.2 MB, free: 6.277 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000278/0.4942, allocations: 79.95 kB / 466.3 MB, free: 6.199 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3222/0.8164, allocations: 43.72 MB / 0.498 GB, free: 95.62 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.8164, allocations: 0 / 0.498 GB, free: 95.62 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.704e-05/0.8165, allocations: 13.44 kB / 0.498 GB, free: 95.62 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.002293/0.8188, allocations: 1.301 MB / 0.4993 GB, free: 94.85 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.8188, allocations: 8.531 kB / 0.4993 GB, free: 94.85 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001458/0.819, allocations: 112.7 kB / 0.4994 GB, free: 94.8 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009518/0.8199, allocations: 0.7185 MB / 0.5001 GB, free: 94.48 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.87e-05/0.82, allocations: 21.03 kB / 0.5002 GB, free: 94.48 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.946e-05/0.82, allocations: 28.08 kB / 0.5002 GB, free: 94.48 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006234/0.8207, allocations: 327.9 kB / 0.5005 GB, free: 94.45 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.8207, allocations: 0 / 0.5005 GB, free: 94.45 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.316e-05/0.8207, allocations: 9.531 kB / 0.5005 GB, free: 94.45 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.029e-05/0.8208, allocations: 10.5 kB / 0.5005 GB, free: 94.45 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007378/0.8215, allocations: 300.6 kB / 0.5008 GB, free: 94.44 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002434/0.8239, allocations: 1.409 MB / 0.5022 GB, free: 93.9 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000698/0.8247, allocations: 321 kB / 0.5025 GB, free: 93.88 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004218/0.8289, allocations: 4.198 MB / 0.5066 GB, free: 90.35 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004276/0.8293, allocations: 207.1 kB / 0.5068 GB, free: 90.3 MB / 378.7 MB Notification: Performance of pre-optimization done (n=29): time 2.746e-06/0.8294, allocations: 2.188 kB / 0.5068 GB, free: 90.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=29): time 0.001484/0.8308, allocations: 0.8402 MB / 0.5076 GB, free: 89.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.201e-05/0.8309, allocations: 55.53 kB / 0.5077 GB, free: 89.84 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006782/0.8316, allocations: 0.7184 MB / 0.5084 GB, free: 89.71 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.8316, allocations: 29.33 kB / 0.5084 GB, free: 89.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002625/0.8319, allocations: 449.4 kB / 0.5088 GB, free: 89.54 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.955e-05/0.8319, allocations: 99.77 kB / 0.5089 GB, free: 89.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.683e-05/0.832, allocations: 7.594 kB / 0.5089 GB, free: 89.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.716e-05/0.832, allocations: 330.8 kB / 0.5092 GB, free: 89.17 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002458/0.8323, allocations: 124.4 kB / 0.5094 GB, free: 89.17 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002962/0.8326, allocations: 227.6 kB / 0.5096 GB, free: 89.05 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002777/0.8329, allocations: 154.6 kB / 0.5097 GB, free: 89.04 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.8329, allocations: 0 / 0.5097 GB, free: 89.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008524/0.8337, allocations: 0.5366 MB / 0.5102 GB, free: 88.94 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.8338, allocations: 3.844 kB / 0.5102 GB, free: 88.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.521e-05/0.8338, allocations: 47.22 kB / 0.5103 GB, free: 88.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002053/0.834, allocations: 52.75 kB / 0.5103 GB, free: 88.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002896/0.8343, allocations: 78.11 kB / 0.5104 GB, free: 88.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001346/0.8357, allocations: 2.668 MB / 0.513 GB, free: 86.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003672/0.8361, allocations: 43 kB / 0.5131 GB, free: 86.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.916e-05/0.8361, allocations: 17.81 kB / 0.5131 GB, free: 86.38 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.0003102/0.8364, allocations: 207.1 kB / 0.5133 GB, free: 86.26 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.8365, allocations: 112.9 kB / 0.5134 GB, free: 86.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001065/0.8376, allocations: 0.5076 MB / 0.5139 GB, free: 86.1 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.8376, allocations: 3.906 kB / 0.5139 GB, free: 86.1 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.8376, allocations: 0 / 0.5139 GB, free: 86.1 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.8377, allocations: 2.484 kB / 0.5139 GB, free: 86.1 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005169/0.8382, allocations: 0.5774 MB / 0.5144 GB, free: 85.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-05/0.8382, allocations: 27.41 kB / 0.5145 GB, free: 85.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002442/0.8385, allocations: 49.52 kB / 0.5145 GB, free: 85.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000126/0.8386, allocations: 56.02 kB / 0.5146 GB, free: 85.88 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.345e-05/0.8386, allocations: 3.875 kB / 0.5146 GB, free: 85.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001217/0.8399, allocations: 2.666 MB / 0.5172 GB, free: 83.35 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.8399, allocations: 0 / 0.5172 GB, free: 83.35 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.8409, allocations: 0.6356 MB / 0.5178 GB, free: 83.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002322/0.8411, allocations: 191 kB / 0.518 GB, free: 83.04 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.683e-05/0.8412, allocations: 7.203 kB / 0.518 GB, free: 83.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002343/0.8415, allocations: 18.16 kB / 0.518 GB, free: 83.04 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.914e-05/0.8416, allocations: 31.75 kB / 0.518 GB, free: 83.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.292e-05/0.8416, allocations: 11.84 kB / 0.5181 GB, free: 83.04 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000533/0.8421, allocations: 0.569 MB / 0.5186 GB, free: 82.93 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.8421, allocations: 0 / 0.5186 GB, free: 82.93 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008174/0.843, allocations: 277.6 kB / 0.5189 GB, free: 82.88 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.0006261/0.8436, allocations: 443.6 kB / 0.5193 GB, free: 82.73 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000866/0.8445, allocations: 0.6007 MB / 0.5199 GB, free: 82.47 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.8445, allocations: 1.594 kB / 0.5199 GB, free: 82.47 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004676/0.845, allocations: 458.1 kB / 0.5203 GB, free: 82.21 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003502/0.8453, allocations: 93.06 kB / 0.5204 GB, free: 82.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002099/0.8474, allocations: 1.735 MB / 0.5221 GB, free: 81.31 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000365/0.8478, allocations: 0.9756 MB / 0.5231 GB, free: 80.6 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002848/0.8481, allocations: 90.33 kB / 0.5231 GB, free: 80.58 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.778e-05/0.8482, allocations: 45.03 kB / 0.5232 GB, free: 80.57 MB / 378.7 MB Notification: Performance of SimCode: time 5.71e-07/0.8482, allocations: 4 kB / 0.5232 GB, free: 80.57 MB / 378.7 MB Notification: Performance of Templates: time 0.01529/0.8635, allocations: 9.468 MB / 0.5324 GB, free: 79 MB / 378.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