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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009698/0.0009697, allocations: 189.8 kB / 8.138 MB, free: 2.215 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.183/1.183, allocations: 221.4 MB / 229.9 MB, free: 3.012 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.0008422/0.0008422, allocations: 102 kB / 280.8 MB, free: 1.23 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.466e-06/8.726e-06, allocations: 0 / 336.5 MB, free: 9.496 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2007/0.2008, allocations: 50.39 MB / 386.9 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09832/0.2991, allocations: 91.73 MB / 478.6 MB, free: 11.05 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001716/0.2993, allocations: 82.47 kB / 478.7 MB, free: 10.97 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.2132/0.5126, allocations: 43.84 MB / 0.5103 GB, free: 92.88 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.251e-05/0.5127, allocations: 13.86 kB / 0.5103 GB, free: 92.88 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.001448/0.5141, allocations: 1.12 MB / 0.5114 GB, free: 92.11 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.5142, allocations: 7.812 kB / 0.5114 GB, free: 92.11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001136/0.5143, allocations: 120.5 kB / 0.5115 GB, free: 92.05 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008438/0.5151, allocations: 0.7175 MB / 0.5122 GB, free: 91.61 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.5152, allocations: 7.75 kB / 0.5122 GB, free: 91.61 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.536e-05/0.5152, allocations: 19.11 kB / 0.5123 GB, free: 91.61 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003357/0.5156, allocations: 208 kB / 0.5125 GB, free: 91.54 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003409/0.5159, allocations: 253.8 kB / 0.5127 GB, free: 91.42 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.5159, allocations: 0.9375 kB / 0.5127 GB, free: 91.42 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.569e-05/0.516, allocations: 0 / 0.5127 GB, free: 91.42 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.516, allocations: 11.78 kB / 0.5127 GB, free: 91.42 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001532/0.5175, allocations: 1.349 MB / 0.514 GB, free: 90.58 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003123/0.5178, allocations: 221.7 kB / 0.5142 GB, free: 90.47 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002072/0.5181, allocations: 203.9 kB / 0.5144 GB, free: 90.38 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005227/0.5233, allocations: 4.203 MB / 0.5185 GB, free: 86.57 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00022/0.5236, allocations: 153.1 kB / 0.5187 GB, free: 86.48 MB / 378.7 MB Notification: Performance of pre-optimization done (n=29): time 2.184e-06/0.5236, allocations: 0 / 0.5187 GB, free: 86.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=29): time 0.0008433/0.5244, allocations: 414 kB / 0.5191 GB, free: 86.31 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.657e-05/0.5245, allocations: 53.69 kB / 0.5191 GB, free: 86.25 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000764/0.5252, allocations: 0.6468 MB / 0.5198 GB, free: 85.95 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.5253, allocations: 31.64 kB / 0.5198 GB, free: 85.91 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.5254, allocations: 258.8 kB / 0.52 GB, free: 85.73 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.749e-05/0.5255, allocations: 97.5 kB / 0.5201 GB, free: 85.65 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.595e-05/0.5255, allocations: 0 / 0.5201 GB, free: 85.65 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.853e-05/0.5256, allocations: 333.2 kB / 0.5205 GB, free: 85.33 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.5257, allocations: 80.02 kB / 0.5205 GB, free: 85.3 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001692/0.5259, allocations: 188.2 kB / 0.5207 GB, free: 85.13 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003186/0.5262, allocations: 154.6 kB / 0.5209 GB, free: 85.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.5262, allocations: 0 / 0.5209 GB, free: 85.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007185/0.5269, allocations: 494.7 kB / 0.5213 GB, free: 84.73 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.5269, allocations: 4 kB / 0.5213 GB, free: 84.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.078e-05/0.527, allocations: 35.56 kB / 0.5214 GB, free: 84.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002066/0.5272, allocations: 49.88 kB / 0.5214 GB, free: 84.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003228/0.5275, allocations: 86.73 kB / 0.5215 GB, free: 84.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001283/0.5288, allocations: 2.543 MB / 0.524 GB, free: 81.87 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003661/0.5292, allocations: 43.31 kB / 0.524 GB, free: 81.83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.675e-05/0.5293, allocations: 16 kB / 0.524 GB, free: 81.81 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 9.197e-05/0.5294, allocations: 122.2 kB / 0.5242 GB, free: 81.69 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.859e-05/0.5294, allocations: 102.8 kB / 0.5242 GB, free: 81.59 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001112/0.5306, allocations: 0.5087 MB / 0.5247 GB, free: 81.14 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-05/0.5306, allocations: 4 kB / 0.5247 GB, free: 81.13 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.5306, allocations: 0 / 0.5247 GB, free: 81.13 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.5306, allocations: 0 / 0.5247 GB, free: 81.13 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005009/0.5311, allocations: 0.5206 MB / 0.5253 GB, free: 80.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.616e-05/0.5312, allocations: 31.75 kB / 0.5253 GB, free: 80.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002694/0.5314, allocations: 58.81 kB / 0.5253 GB, free: 80.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001447/0.5316, allocations: 43.81 kB / 0.5254 GB, free: 80.57 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.683e-05/0.5316, allocations: 9.016 kB / 0.5254 GB, free: 80.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001212/0.5329, allocations: 2.535 MB / 0.5279 GB, free: 77.86 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.5329, allocations: 3.906 kB / 0.5279 GB, free: 77.86 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000817/0.5337, allocations: 0.5556 MB / 0.5284 GB, free: 77.31 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002174/0.5339, allocations: 183.4 kB / 0.5286 GB, free: 77.12 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.933e-05/0.534, allocations: 8 kB / 0.5286 GB, free: 77.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002593/0.5343, allocations: 31.52 kB / 0.5286 GB, free: 77.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.815e-05/0.5344, allocations: 15.55 kB / 0.5286 GB, free: 77.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.606e-05/0.5344, allocations: 16 kB / 0.5287 GB, free: 77.07 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0005523/0.535, allocations: 0.4917 MB / 0.5291 GB, free: 76.61 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007389/0.5357, allocations: 263.1 kB / 0.5294 GB, free: 76.36 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) * 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.0006014/0.5363, allocations: 0.5028 MB / 0.5299 GB, free: 75.95 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006325/0.537, allocations: 0.4884 MB / 0.5304 GB, free: 75.45 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.537, allocations: 4.812 kB / 0.5304 GB, free: 75.44 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000361/0.5374, allocations: 383.5 kB / 0.5307 GB, free: 75.05 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004434/0.5378, allocations: 105.7 kB / 0.5308 GB, free: 74.96 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001782/0.5396, allocations: 1.055 MB / 0.5319 GB, free: 73.97 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004388/0.5401, allocations: 1.029 MB / 0.5329 GB, free: 73.04 MB / 378.7 MB Notification: Performance of SimCode: time 3.01e-07/0.5401, allocations: 4 kB / 0.5329 GB, free: 73.04 MB / 378.7 MB Notification: Performance of Templates: time 0.01415/0.5542, allocations: 7.934 MB / 0.5406 GB, free: 65.45 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