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/ModelicaServices trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001296/0.001296, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00146/0.00146, allocations: 213.3 kB / 24.54 MB, free: 4.016 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 230.3 MB / 258 MB, free: 8.23 MB / 206.1 MB
"
[Timeout remaining time 178]
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)
Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo)
Running command: translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="mat",numberOfIntervals=999,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=999,variableFilter="time|Q1.vbc|Q1.vbe",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 64.08 kB / 378.8 MB, free: 2.77 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2341, allocations: 53.36 MB / 432.1 MB, free: 7.066 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.006307/0.2404, allocations: 5.12 MB / 437.2 MB, free: 1.926 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.01355/0.2539, allocations: 10.87 MB / 448.1 MB, free: 7.016 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001101/0.255, allocations: 39.56 kB / 448.1 MB, free: 6.977 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.002052/0.2571, allocations: 0.7017 MB / 448.8 MB, free: 6.277 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.003236/0.2603, allocations: 1.032 MB / 449.9 MB, free: 5.234 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001577/0.2619, allocations: 0.6059 MB / 450.5 MB, free: 4.629 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.002197/0.2641, allocations: 1.386 MB / 451.9 MB, free: 3.238 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002401/0.2643, allocations: 117.8 kB / 452 MB, free: 3.109 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003648/0.2647, allocations: 302.5 kB / 452.3 MB, free: 2.812 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.000375/0.2651, allocations: 318 kB / 452.6 MB, free: 2.5 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 6.587e-05/0.2651, allocations: 32 kB / 452.6 MB, free: 2.469 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001667/0.2668, allocations: 0.757 MB / 453.4 MB, free: 1.711 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.000128/0.2669, allocations: 107.3 kB / 453.5 MB, free: 1.605 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0004096/0.2673, allocations: 401.4 kB / 453.9 MB, free: 1.211 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001892/0.2692, allocations: 1.284 MB / 455.2 MB, free: 15.92 MB / 366.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.2692, allocations: 0 / 455.2 MB, free: 15.92 MB / 366.1 MB
Notification: Performance of FrontEnd: time 2.705e-06/0.2692, allocations: 0 / 455.2 MB, free: 15.92 MB / 366.1 MB
Notification: Performance of Transformations before backend: time 1.573e-05/0.2692, allocations: 4 kB / 455.2 MB, free: 15.92 MB / 366.1 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.002201/0.2714, allocations: 1.274 MB / 456.4 MB, free: 14.61 MB / 366.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.2715, allocations: 16.02 kB / 456.4 MB, free: 14.59 MB / 366.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000157/0.2716, allocations: 120.2 kB / 456.6 MB, free: 14.48 MB / 366.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001113/0.2727, allocations: 0.6684 MB / 457.2 MB, free: 13.76 MB / 366.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/0.2728, allocations: 24.59 kB / 457.3 MB, free: 13.74 MB / 366.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.93e-05/0.2728, allocations: 27.94 kB / 457.3 MB, free: 13.71 MB / 366.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007153/0.2736, allocations: 326 kB / 457.6 MB, free: 13.39 MB / 366.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.2736, allocations: 0 / 457.6 MB, free: 13.39 MB / 366.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.667e-05/0.2736, allocations: 12 kB / 457.6 MB, free: 13.38 MB / 366.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.099e-05/0.2736, allocations: 11.98 kB / 457.6 MB, free: 13.36 MB / 366.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007286/0.2744, allocations: 270.5 kB / 457.9 MB, free: 13.1 MB / 366.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002174/0.2765, allocations: 1.334 MB / 459.2 MB, free: 11.68 MB / 366.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0007334/0.2773, allocations: 274.5 kB / 459.5 MB, free: 11.41 MB / 366.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0004468/0.2777, allocations: 225.4 kB / 459.7 MB, free: 11.18 MB / 366.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.002907/0.2806, allocations: 1.331 MB / 461 MB, free: 9.828 MB / 366.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004881/0.2811, allocations: 218.3 kB / 461.3 MB, free: 9.605 MB / 366.1 MB
Notification: Performance of pre-optimization done (n=32): time 1.933e-06/0.2811, allocations: 0 / 461.3 MB, free: 9.605 MB / 366.1 MB
Notification: Performance of matching and sorting (n=32): time 0.00157/0.2827, allocations: 0.5614 MB / 461.8 MB, free: 9.035 MB / 366.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/0.2827, allocations: 59.34 kB / 461.9 MB, free: 8.965 MB / 366.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009741/0.2837, allocations: 0.8034 MB / 462.7 MB, free: 8.145 MB / 366.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.311e-05/0.2837, allocations: 29.7 kB / 462.7 MB, free: 8.109 MB / 366.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0004017/0.2841, allocations: 444.9 kB / 463.1 MB, free: 7.672 MB / 366.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.000106/0.2842, allocations: 119.1 kB / 463.3 MB, free: 7.555 MB / 366.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001292/0.2844, allocations: 73.98 kB / 463.3 MB, free: 7.477 MB / 366.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001606/0.2845, allocations: 329.9 kB / 463.7 MB, free: 7.148 MB / 366.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003276/0.2849, allocations: 116.6 kB / 463.8 MB, free: 7.035 MB / 366.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004012/0.2853, allocations: 218.6 kB / 464 MB, free: 6.785 MB / 366.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001755/0.287, allocations: 0.712 MB / 464.7 MB, free: 6.031 MB / 366.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.287, allocations: 0 / 464.7 MB, free: 6.031 MB / 366.1 MB
Notification: Performance of matching and sorting (n=49) (initialization): time 0.001112/0.2881, allocations: 0.5139 MB / 465.2 MB, free: 5.508 MB / 366.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.2881, allocations: 8 kB / 465.2 MB, free: 5.5 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.807e-05/0.2882, allocations: 32 kB / 465.2 MB, free: 5.469 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0001321/0.2883, allocations: 33.22 kB / 465.3 MB, free: 5.434 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003959/0.2887, allocations: 87.88 kB / 465.4 MB, free: 5.348 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001223/0.29, allocations: 1.346 MB / 466.7 MB, free: 3.879 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003175/0.2903, allocations: 43.72 kB / 466.8 MB, free: 3.836 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.818e-05/0.2903, allocations: 19.98 kB / 466.8 MB, free: 3.816 MB / 366.1 MB
Warning: Assuming fixed start value for the following 1 variables:
         Q1.vbx:VARIABLE(unit = \"V\" fixed = true )  type: Real
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 13
 * Number of states: 0 ()
 * Number of discrete variables: 7 (VIN.counter,$PRE.VIN.counter,VIN.counter2,$PRE.VIN.counter2,VIN.T0,$PRE.VIN.T0,$whenCondition1)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (39):
 * Single equations (assignments): 37
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 1
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 1
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 1 system
   {(1,2,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.000321/0.2906, allocations: 213.8 kB / 467 MB, free: 3.598 MB / 366.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001229/0.2908, allocations: 111.3 kB / 467.1 MB, free: 3.488 MB / 366.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001167/0.2919, allocations: 492.2 kB / 467.6 MB, free: 2.996 MB / 366.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.2919, allocations: 4 kB / 467.6 MB, free: 2.992 MB / 366.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.2919, allocations: 0 / 467.6 MB, free: 2.992 MB / 366.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.2919, allocations: 0 / 467.6 MB, free: 2.992 MB / 366.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006475/0.2926, allocations: 0.5569 MB / 468.1 MB, free: 2.395 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.133e-05/0.2926, allocations: 39.92 kB / 468.2 MB, free: 2.355 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000353/0.293, allocations: 59.89 kB / 468.2 MB, free: 2.297 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 9.417e-05/0.2931, allocations: 28.84 kB / 468.3 MB, free: 2.266 MB / 366.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.106e-05/0.2931, allocations: 11.98 kB / 468.3 MB, free: 2.254 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001109/0.2942, allocations: 1.334 MB / 469.6 MB, free: 0.8047 MB / 366.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.209e-06/0.2942, allocations: 7.984 kB / 469.6 MB, free: 0.7969 MB / 366.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001332/0.2956, allocations: 0.6151 MB / 470.2 MB, free: 164 kB / 366.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0002201/0.2958, allocations: 111.4 kB / 470.3 MB, free: 52 kB / 366.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.512e-05/0.2959, allocations: 7.984 kB / 470.3 MB, free: 44 kB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002538/0.2961, allocations: 19.97 kB / 470.4 MB, free: 24 kB / 366.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.73e-05/0.2962, allocations: 23.97 kB / 470.4 MB, free: 0 / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.005e-05/0.2962, allocations: 11.98 kB / 470.4 MB, free: 15.99 MB / 382.1 MB
Notification: Performance of sorting global known variables: time 0.0006773/0.2969, allocations: 0.5465 MB / 470.9 MB, free: 15.43 MB / 382.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.2969, allocations: 4 kB / 470.9 MB, free: 15.43 MB / 382.1 MB
Notification: Performance of remove unused functions: time 0.0006135/0.2975, allocations: 243.3 kB / 471.2 MB, free: 15.19 MB / 382.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 3 (Q1.vbe,Q1.vbc,Q1.vbx)
 * 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 (22):
 * Single equations (assignments): 17
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 1
 * When equations: 3
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 1
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 1 system
   {(1,2,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0006046/0.2981, allocations: 352.9 kB / 471.5 MB, free: 14.84 MB / 382.1 MB
Notification: Performance of simCode: created initialization part: time 0.001015/0.2992, allocations: 477.3 kB / 472 MB, free: 14.35 MB / 382.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.2992, allocations: 0 / 472 MB, free: 14.35 MB / 382.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0005393/0.2997, allocations: 308.2 kB / 472.3 MB, free: 14.03 MB / 382.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005777/0.3003, allocations: 120.4 kB / 472.4 MB, free: 13.91 MB / 382.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003121/0.3034, allocations: 1.695 MB / 474.1 MB, free: 12.18 MB / 382.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006411/0.304, allocations: 0.9528 MB / 475.1 MB, free: 11.2 MB / 382.1 MB
Notification: Performance of simCode: alias equations: time 0.0002657/0.3043, allocations: 93.19 kB / 475.1 MB, free: 11.11 MB / 382.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 9.27e-05/0.3044, allocations: 47.44 kB / 475.2 MB, free: 11.07 MB / 382.1 MB
Notification: Performance of SimCode: time 4.91e-07/0.3044, allocations: 0 / 475.2 MB, free: 11.07 MB / 382.1 MB
Notification: Performance of Templates: time 0.01847/0.3229, allocations: 8.528 MB / 483.7 MB, free: 2.57 MB / 382.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile [Timeout 660]
(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) [Timeout 480]
diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkRtlInverter/Spice3BenchmarkRtlInverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660]
""
[Timeout remaining time 660]
Reference file matches
[Calling sys.exit(0), Time elapsed: 4.621171341277659]