Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_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 trunk/package.mo): time 0.001281/0.001281, allocations: 196.1 kB / 8.535 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.233/1.233, allocations: 225.5 MB / 234.4 MB, free: 3.395 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000883/0.0008829, allocations: 90.25 kB / 286.3 MB, free: 5.277 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 9.088e-06/9.207e-06, allocations: 4 kB / 343.1 MB, free: 8.715 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09698/0.09701, allocations: 51.48 MB / 394.6 MB, free: 5.191 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2519/0.349, allocations: 92.54 MB / 487.2 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002089/0.3492, allocations: 76.77 kB / 487.2 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.09464/0.4439, allocations: 43.93 MB / 0.5187 GB, free: 10.27 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.524e-05/0.444, allocations: 13.88 kB / 0.5187 GB, free: 10.26 MB / 394.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.002084/0.4461, allocations: 1.122 MB / 0.5198 GB, free: 9.094 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.4461, allocations: 12.03 kB / 0.5198 GB, free: 9.082 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001888/0.4463, allocations: 110.7 kB / 0.5199 GB, free: 8.973 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001163/0.4475, allocations: 0.7236 MB / 0.5206 GB, free: 8.195 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.4475, allocations: 8 kB / 0.5207 GB, free: 8.188 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.441e-05/0.4476, allocations: 19.91 kB / 0.5207 GB, free: 8.168 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004018/0.448, allocations: 213.2 kB / 0.5209 GB, free: 7.961 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004326/0.4484, allocations: 252.8 kB / 0.5211 GB, free: 7.703 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.4484, allocations: 0 / 0.5211 GB, free: 7.703 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.868e-05/0.4485, allocations: 0 / 0.5211 GB, free: 7.703 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.273e-05/0.4485, allocations: 8 kB / 0.5211 GB, free: 7.695 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002033/0.4505, allocations: 1.332 MB / 0.5224 GB, free: 6.293 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004117/0.451, allocations: 217.8 kB / 0.5226 GB, free: 6.074 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002796/0.4513, allocations: 204.8 kB / 0.5228 GB, free: 5.871 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005512/0.4568, allocations: 4.231 MB / 0.527 GB, free: 0.9844 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002404/0.457, allocations: 152.4 kB / 0.5271 GB, free: 0.8242 MB / 394.7 MB Notification: Performance of pre-optimization done (n=29): time 3.056e-06/0.4571, allocations: 0 / 0.5271 GB, free: 0.8242 MB / 394.7 MB Notification: Performance of matching and sorting (n=29): time 0.0009195/0.458, allocations: 405.5 kB / 0.5275 GB, free: 428 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.458, allocations: 59.59 kB / 0.5275 GB, free: 356 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009189/0.459, allocations: 0.6455 MB / 0.5282 GB, free: 15.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.166e-05/0.459, allocations: 25.7 kB / 0.5282 GB, free: 15.65 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002065/0.4592, allocations: 252.3 kB / 0.5284 GB, free: 15.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.4593, allocations: 102.5 kB / 0.5285 GB, free: 15.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.657e-05/0.4594, allocations: 0 / 0.5285 GB, free: 15.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.4595, allocations: 318 kB / 0.5288 GB, free: 14.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001672/0.4597, allocations: 86.92 kB / 0.5289 GB, free: 14.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002408/0.4599, allocations: 191.7 kB / 0.5291 GB, free: 14.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003996/0.4603, allocations: 159.8 kB / 0.5293 GB, free: 14.51 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.4604, allocations: 4 kB / 0.5293 GB, free: 14.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001005/0.4614, allocations: 493.4 kB / 0.5297 GB, free: 14.01 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.4614, allocations: 4.438 kB / 0.5297 GB, free: 14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.786e-05/0.4615, allocations: 39.94 kB / 0.5298 GB, free: 13.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002646/0.4618, allocations: 57.67 kB / 0.5298 GB, free: 13.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003613/0.4621, allocations: 79.89 kB / 0.5299 GB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001931/0.4641, allocations: 2.544 MB / 0.5324 GB, free: 11.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005067/0.4646, allocations: 39.69 kB / 0.5324 GB, free: 11.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.449e-05/0.4647, allocations: 20 kB / 0.5325 GB, free: 11 MB / 410.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.0001573/0.4648, allocations: 117.9 kB / 0.5326 GB, free: 10.88 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001686/0.465, allocations: 102.8 kB / 0.5327 GB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001293/0.4663, allocations: 0.511 MB / 0.5332 GB, free: 10.25 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.4663, allocations: 0 / 0.5332 GB, free: 10.25 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.4663, allocations: 4 kB / 0.5332 GB, free: 10.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.4663, allocations: 3.984 kB / 0.5332 GB, free: 10.25 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006634/0.467, allocations: 0.511 MB / 0.5337 GB, free: 9.699 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.514e-05/0.4671, allocations: 35.98 kB / 0.5337 GB, free: 9.664 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002871/0.4674, allocations: 51.92 kB / 0.5338 GB, free: 9.613 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001547/0.4675, allocations: 49.62 kB / 0.5338 GB, free: 9.559 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.303e-05/0.4676, allocations: 11.98 kB / 0.5338 GB, free: 9.547 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00181/0.4694, allocations: 2.534 MB / 0.5363 GB, free: 6.781 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.4694, allocations: 4 kB / 0.5363 GB, free: 6.777 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009399/0.4704, allocations: 0.5496 MB / 0.5368 GB, free: 6.203 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002581/0.4706, allocations: 195.7 kB / 0.537 GB, free: 5.992 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/0.4708, allocations: 7.891 kB / 0.537 GB, free: 5.984 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002797/0.471, allocations: 20.05 kB / 0.537 GB, free: 5.965 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.679e-05/0.4711, allocations: 23.97 kB / 0.5371 GB, free: 5.941 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.718e-05/0.4712, allocations: 8 kB / 0.5371 GB, free: 5.934 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0006618/0.4718, allocations: 0.4996 MB / 0.5376 GB, free: 5.426 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008171/0.4727, allocations: 259.6 kB / 0.5378 GB, free: 5.172 MB / 410.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.0008687/0.4735, allocations: 0.508 MB / 0.5383 GB, free: 4.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007783/0.4743, allocations: 0.4941 MB / 0.5388 GB, free: 4.141 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4744, allocations: 0 / 0.5388 GB, free: 4.141 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004425/0.4748, allocations: 382.3 kB / 0.5391 GB, free: 3.742 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004978/0.4753, allocations: 114.4 kB / 0.5393 GB, free: 3.629 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00216/0.4775, allocations: 1.045 MB / 0.5403 GB, free: 2.555 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006145/0.4781, allocations: 1.028 MB / 0.5413 GB, free: 1.5 MB / 410.7 MB Notification: Performance of SimCode: time 3.31e-07/0.4781, allocations: 0 / 0.5413 GB, free: 1.5 MB / 410.7 MB Notification: Performance of Templates: time 0.01694/0.4951, allocations: 7.956 MB / 0.5491 GB, free: 9.645 MB / 426.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches