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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001688/0.001688, allocations: 196.8 kB / 18.11 MB, free: 3.613 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.262/1.262, allocations: 226.5 MB / 245.4 MB, free: 6.461 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007673/0.0007673, allocations: 99.09 kB / 297.5 MB, free: 6.672 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002043/0.0002044, allocations: 4 kB / 358.1 MB, free: 10.06 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1889/0.1892, allocations: 51.29 MB / 409.4 MB, free: 27.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1407/0.3299, allocations: 93.32 MB / 0.4909 GB, free: 14.16 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003199/0.3303, allocations: 79.95 kB / 0.491 GB, free: 14.08 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3427/0.673, allocations: 46.17 MB / 0.5361 GB, free: 75.78 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.6731, allocations: 7.938 kB / 0.5361 GB, free: 75.77 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.461e-05/0.6731, allocations: 12 kB / 0.5361 GB, free: 75.76 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.002412/0.6756, allocations: 1.286 MB / 0.5373 GB, free: 74.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.6756, allocations: 8.031 kB / 0.5374 GB, free: 74.51 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002133/0.6758, allocations: 111.6 kB / 0.5375 GB, free: 74.4 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001299/0.6771, allocations: 0.7731 MB / 0.5382 GB, free: 73.71 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.863e-05/0.6772, allocations: 16.94 kB / 0.5382 GB, free: 73.7 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.024e-05/0.6773, allocations: 28.75 kB / 0.5383 GB, free: 73.67 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008133/0.6781, allocations: 327.1 kB / 0.5386 GB, free: 73.41 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.6781, allocations: 0 / 0.5386 GB, free: 73.41 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.323e-05/0.6782, allocations: 23.73 kB / 0.5386 GB, free: 73.39 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/0.6782, allocations: 8 kB / 0.5386 GB, free: 73.38 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008792/0.6791, allocations: 294.2 kB / 0.5389 GB, free: 73.09 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002493/0.6816, allocations: 1.392 MB / 0.5402 GB, free: 71.61 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008546/0.6825, allocations: 322.5 kB / 0.5405 GB, free: 71.29 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005299/0.683, allocations: 260.6 kB / 0.5408 GB, free: 71.03 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005207/0.6882, allocations: 4.192 MB / 0.5449 GB, free: 66.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004955/0.6887, allocations: 206.3 kB / 0.5451 GB, free: 65.96 MB / 378.7 MB Notification: Performance of pre-optimization done (n=29): time 2.224e-06/0.6888, allocations: 4 kB / 0.5451 GB, free: 65.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=29): time 0.001987/0.6908, allocations: 0.7548 MB / 0.5458 GB, free: 65.16 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/0.6908, allocations: 55.41 kB / 0.5459 GB, free: 65.09 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001167/0.692, allocations: 0.8426 MB / 0.5467 GB, free: 64.23 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.776e-05/0.692, allocations: 29.7 kB / 0.5467 GB, free: 64.2 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003686/0.6924, allocations: 448.5 kB / 0.5472 GB, free: 63.75 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.309e-05/0.6925, allocations: 106.6 kB / 0.5473 GB, free: 63.65 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.232e-05/0.6925, allocations: 4 kB / 0.5473 GB, free: 63.64 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.32e-05/0.6926, allocations: 322 kB / 0.5476 GB, free: 63.32 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003818/0.693, allocations: 124.7 kB / 0.5477 GB, free: 63.2 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004193/0.6934, allocations: 236 kB / 0.5479 GB, free: 62.93 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007871/0.6942, allocations: 381.5 kB / 0.5483 GB, free: 62.51 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.6942, allocations: 0 / 0.5483 GB, free: 62.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001201/0.6954, allocations: 0.5408 MB / 0.5488 GB, free: 61.95 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.6955, allocations: 12.06 kB / 0.5488 GB, free: 61.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-05/0.6956, allocations: 35.94 kB / 0.5489 GB, free: 61.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002438/0.6958, allocations: 53.69 kB / 0.5489 GB, free: 61.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003985/0.6962, allocations: 75.88 kB / 0.549 GB, free: 61.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001707/0.6979, allocations: 2.647 MB / 0.5516 GB, free: 58.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004739/0.6984, allocations: 51.58 kB / 0.5516 GB, free: 58.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.004e-05/0.6985, allocations: 16 kB / 0.5516 GB, free: 58.79 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.000313/0.6988, allocations: 205.7 kB / 0.5518 GB, free: 58.58 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001283/0.699, allocations: 106.8 kB / 0.5519 GB, free: 58.47 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001459/0.7004, allocations: 0.5174 MB / 0.5524 GB, free: 57.95 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.7004, allocations: 4 kB / 0.5524 GB, free: 57.94 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.7005, allocations: 0 / 0.5524 GB, free: 57.94 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.7005, allocations: 0 / 0.5524 GB, free: 57.94 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006894/0.7012, allocations: 0.5739 MB / 0.553 GB, free: 57.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.765e-05/0.7012, allocations: 31.94 kB / 0.553 GB, free: 57.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003285/0.7016, allocations: 51.84 kB / 0.5531 GB, free: 57.24 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001721/0.7018, allocations: 53.69 kB / 0.5531 GB, free: 57.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.694e-05/0.7018, allocations: 15.98 kB / 0.5531 GB, free: 57.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001697/0.7035, allocations: 2.639 MB / 0.5557 GB, free: 54.26 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.7035, allocations: 4.125 kB / 0.5557 GB, free: 54.25 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001522/0.7051, allocations: 0.6387 MB / 0.5563 GB, free: 53.59 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000249/0.7053, allocations: 183.8 kB / 0.5565 GB, free: 53.39 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001252/0.7055, allocations: 8 kB / 0.5565 GB, free: 53.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003802/0.7059, allocations: 19.92 kB / 0.5565 GB, free: 53.36 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.706, allocations: 27.95 kB / 0.5566 GB, free: 53.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.586e-05/0.706, allocations: 12 kB / 0.5566 GB, free: 53.32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000918/0.707, allocations: 0.5623 MB / 0.5571 GB, free: 52.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.707, allocations: 4.062 kB / 0.5571 GB, free: 52.75 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001012/0.708, allocations: 291.5 kB / 0.5574 GB, free: 52.46 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.0008755/0.7089, allocations: 440.6 kB / 0.5578 GB, free: 52.03 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001248/0.7101, allocations: 0.6011 MB / 0.5584 GB, free: 51.4 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.7102, allocations: 0 / 0.5584 GB, free: 51.4 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007223/0.7109, allocations: 470.9 kB / 0.5589 GB, free: 50.91 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008553/0.7118, allocations: 117.2 kB / 0.559 GB, free: 50.79 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003165/0.715, allocations: 1.723 MB / 0.5607 GB, free: 49.04 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004174/0.7154, allocations: 0.9525 MB / 0.5616 GB, free: 48.06 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004986/0.7159, allocations: 93.7 kB / 0.5617 GB, free: 47.96 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001193/0.716, allocations: 47.44 kB / 0.5617 GB, free: 47.92 MB / 378.7 MB Notification: Performance of SimCode: time 3.41e-07/0.716, allocations: 0 / 0.5617 GB, free: 47.92 MB / 378.7 MB Notification: Performance of Templates: time 0.02378/0.7398, allocations: 9.819 MB / 0.5713 GB, free: 38.12 MB / 378.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/jenkins1/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