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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001724/0.001724, allocations: 104.5 kB / 21.18 MB, free: 0.5586 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001585/0.001585, allocations: 189.2 kB / 24.47 MB, free: 3.93 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.448/1.448, allocations: 207.6 MB / 235.2 MB, free: 10.02 MB / 190.1 MB
"
[Timeout remaining time 178]
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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") [Timeout 660]
"Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Performance of FrontEnd - loaded program: time 0.001801/0.001801, allocations: 55.92 kB / 347.7 MB, free: 9.559 MB / 286.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2704/0.2722, allocations: 49.15 MB / 396.8 MB, free: 9.508 MB / 318.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.004913/0.2771, allocations: 5.048 MB / 401.8 MB, free: 5.855 MB / 318.1 MB
Notification: Performance of NFInst.instExpressions: time 0.01058/0.2877, allocations: 10.5 MB / 412.3 MB, free: 14.07 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0009327/0.2886, allocations: 41.56 kB / 412.4 MB, free: 14.05 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.002092/0.2907, allocations: 0.6798 MB / 413.1 MB, free: 13.68 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.004085/0.2948, allocations: 1.008 MB / 414.1 MB, free: 13.07 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.002174/0.297, allocations: 0.6064 MB / 414.7 MB, free: 12.79 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.002547/0.2995, allocations: 1.351 MB / 416 MB, free: 12.14 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002367/0.2997, allocations: 117.1 kB / 416.1 MB, free: 12.06 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003915/0.3001, allocations: 287.5 kB / 416.4 MB, free: 11.91 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0004176/0.3005, allocations: 317.7 kB / 416.7 MB, free: 11.71 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 7.345e-05/0.3006, allocations: 36.19 kB / 416.8 MB, free: 11.71 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001924/0.3025, allocations: 0.673 MB / 417.4 MB, free: 11.43 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.00013/0.3027, allocations: 115.7 kB / 417.6 MB, free: 11.34 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0004144/0.3031, allocations: 403.2 kB / 418 MB, free: 11.07 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.002093/0.3052, allocations: 1.273 MB / 419.2 MB, free: 10.2 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.3052, allocations: 1.344 kB / 419.2 MB, free: 10.2 MB / 334.1 MB
Notification: Performance of FrontEnd: time 2.194e-06/0.3052, allocations: 0 / 419.2 MB, free: 10.2 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 1.167e-05/0.3052, allocations: 0 / 419.2 MB, free: 10.2 MB / 334.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.002183/0.3074, allocations: 1.28 MB / 420.5 MB, free: 9.199 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.3074, allocations: 13.58 kB / 420.5 MB, free: 9.195 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000159/0.3076, allocations: 122 kB / 420.6 MB, free: 9.133 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001215/0.3088, allocations: 0.6882 MB / 421.3 MB, free: 8.562 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.978e-05/0.3088, allocations: 19.41 kB / 421.3 MB, free: 8.555 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.819e-05/0.3089, allocations: 29.5 kB / 421.4 MB, free: 8.543 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007448/0.3096, allocations: 324.8 kB / 421.7 MB, free: 8.352 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.3097, allocations: 1.094 kB / 421.7 MB, free: 8.352 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.481e-05/0.3097, allocations: 10.34 kB / 421.7 MB, free: 8.344 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.473e-05/0.3097, allocations: 6.812 kB / 421.7 MB, free: 8.344 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007052/0.3104, allocations: 276.9 kB / 422 MB, free: 8.215 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002071/0.3125, allocations: 1.324 MB / 423.3 MB, free: 7.164 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.000687/0.3132, allocations: 273.8 kB / 423.6 MB, free: 7.012 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0004379/0.3136, allocations: 221.5 kB / 423.8 MB, free: 6.895 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.003808/0.3174, allocations: 1.472 MB / 425.3 MB, free: 6.016 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004983/0.3179, allocations: 193.5 kB / 425.5 MB, free: 5.883 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=29): time 2.024e-06/0.3179, allocations: 0 / 425.5 MB, free: 5.883 MB / 334.1 MB
Notification: Performance of matching and sorting (n=29): time 0.001633/0.3196, allocations: 0.5795 MB / 426 MB, free: 5.574 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.306e-05/0.3196, allocations: 59.72 kB / 426.1 MB, free: 5.508 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009856/0.3206, allocations: 0.8208 MB / 426.9 MB, free: 4.984 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.369e-05/0.3206, allocations: 29.7 kB / 426.9 MB, free: 4.949 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0004305/0.3211, allocations: 448.8 kB / 427.4 MB, free: 4.508 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.000101/0.3212, allocations: 103.2 kB / 427.5 MB, free: 4.406 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/0.3213, allocations: 73.97 kB / 427.6 MB, free: 4.328 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001452/0.3214, allocations: 322 kB / 427.9 MB, free: 4.008 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002939/0.3217, allocations: 116.7 kB / 428 MB, free: 3.895 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000409/0.3221, allocations: 224 kB / 428.2 MB, free: 3.629 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0006772/0.3228, allocations: 360.9 kB / 428.6 MB, free: 3.23 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.3228, allocations: 4 kB / 428.6 MB, free: 3.227 MB / 334.1 MB
Notification: Performance of matching and sorting (n=47) (initialization): time 0.001021/0.3238, allocations: 0.5252 MB / 429.1 MB, free: 2.688 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.3238, allocations: 8 kB / 429.1 MB, free: 2.68 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.874e-05/0.3239, allocations: 35.94 kB / 429.1 MB, free: 2.645 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0002277/0.3241, allocations: 54.09 kB / 429.2 MB, free: 2.586 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003163/0.3245, allocations: 75.84 kB / 429.2 MB, free: 2.512 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002397/0.3269, allocations: 2.645 MB / 431.9 MB, free: 15.64 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004423/0.3273, allocations: 43.72 kB / 431.9 MB, free: 15.59 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.004e-05/0.3273, allocations: 16 kB / 432 MB, free: 15.58 MB / 350.1 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 (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 (36):
 * Single equations (assignments): 33
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 1
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 2
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 2 systems
   {(1,2,100.0%), (1,2,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.000329/0.3277, allocations: 209.6 kB / 432.2 MB, free: 15.36 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00014/0.3278, allocations: 111.3 kB / 432.3 MB, free: 15.25 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00119/0.329, allocations: 0.498 MB / 432.8 MB, free: 14.74 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.281e-06/0.329, allocations: 4 kB / 432.8 MB, free: 14.73 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.329, allocations: 0 / 432.8 MB, free: 14.73 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.329, allocations: 0 / 432.8 MB, free: 14.73 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007619/0.3298, allocations: 0.5262 MB / 433.3 MB, free: 14.17 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.874e-05/0.3298, allocations: 28 kB / 433.3 MB, free: 14.14 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002477/0.3301, allocations: 43.95 kB / 433.4 MB, free: 14.1 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0001563/0.3302, allocations: 53.67 kB / 433.4 MB, free: 14.04 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.751e-05/0.3302, allocations: 12 kB / 433.4 MB, free: 14.03 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002274/0.3325, allocations: 2.633 MB / 436.1 MB, free: 11.17 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.3325, allocations: 4.031 kB / 436.1 MB, free: 11.16 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001362/0.3339, allocations: 0.6118 MB / 436.7 MB, free: 10.53 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0002716/0.3342, allocations: 107.2 kB / 436.8 MB, free: 10.42 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.086e-05/0.3342, allocations: 12 kB / 436.8 MB, free: 10.41 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002315/0.3345, allocations: 15.98 kB / 436.8 MB, free: 10.39 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 9.613e-05/0.3346, allocations: 27.95 kB / 436.8 MB, free: 10.37 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.771e-05/0.3346, allocations: 8 kB / 436.8 MB, free: 10.36 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0007177/0.3353, allocations: 0.5506 MB / 437.4 MB, free: 9.801 MB / 350.1 MB
Notification: Performance of sort global known variables: time 1.3e-07/0.3353, allocations: 64 / 437.4 MB, free: 9.801 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0007028/0.336, allocations: 251.3 kB / 437.6 MB, free: 9.555 MB / 350.1 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 (not torn): 0
 * Torn equation systems: 2
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 2 systems
   {(1,2,100.0%), (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.0005988/0.3366, allocations: 347.9 kB / 438 MB, free: 9.203 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.001103/0.3377, allocations: 0.5695 MB / 438.6 MB, free: 8.602 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3377, allocations: 0 / 438.6 MB, free: 8.602 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.000623/0.3383, allocations: 419.3 kB / 439 MB, free: 8.16 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004865/0.3388, allocations: 104.3 kB / 439.1 MB, free: 8.059 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002601/0.3414, allocations: 1.55 MB / 440.6 MB, free: 6.473 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000629/0.3421, allocations: 0.9522 MB / 441.6 MB, free: 5.492 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 0.0002404/0.3423, allocations: 89.19 kB / 441.7 MB, free: 5.402 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 8.482e-05/0.3424, allocations: 43.44 kB / 441.7 MB, free: 5.359 MB / 350.1 MB
Notification: Performance of SimCode: time 5.01e-07/0.3424, allocations: 0 / 441.7 MB, free: 5.359 MB / 350.1 MB
Notification: Performance of Templates: time 0.01795/0.3603, allocations: 8.635 MB / 450.3 MB, free: 12.71 MB / 366.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile [Timeout 660]
(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) [Timeout 480]
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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.818057163618505]