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.001749/0.001749, allocations: 85.5 kB / 20.68 MB, free: 1.035 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.001773/0.001773, allocations: 158.3 kB / 23.95 MB, free: 4.168 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.435/1.435, allocations: 177 MB / 204.1 MB, free: 9.172 MB / 190.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 1.443e-06/1.443e-06, allocations: 0 / 325 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.185e-05/2.329e-05, allocations: 2.281 kB / 325 MB, free: 500 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.005956/0.00598, allocations: 4.487 MB / 329.5 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01348/0.01946, allocations: 9.33 MB / 338.8 MB, free: 6.441 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009325/0.02039, allocations: 45.81 kB / 338.9 MB, free: 6.41 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002078/0.02247, allocations: 0.627 MB / 339.5 MB, free: 5.98 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004103/0.02657, allocations: 1.058 MB / 340.5 MB, free: 5.145 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002029/0.0286, allocations: 0.6078 MB / 341.2 MB, free: 4.711 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002919/0.03152, allocations: 1.438 MB / 342.6 MB, free: 3.434 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002964/0.03181, allocations: 109.8 kB / 342.7 MB, free: 3.316 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006979/0.03251, allocations: 422.9 kB / 343.1 MB, free: 2.902 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003928/0.03291, allocations: 223.2 kB / 343.3 MB, free: 2.684 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.268e-05/0.03298, allocations: 28 kB / 343.4 MB, free: 2.656 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001823/0.0348, allocations: 0.6673 MB / 344 MB, free: 1.988 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001285/0.03493, allocations: 115.3 kB / 344.1 MB, free: 1.875 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000328/0.03526, allocations: 223.3 kB / 344.4 MB, free: 1.656 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002062/0.03732, allocations: 1.332 MB / 345.7 MB, free: 328 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.227e-06/0.03733, allocations: 7.938 kB / 345.7 MB, free: 320 kB / 302.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.03733, allocations: 4 kB / 345.7 MB, free: 316 kB / 302.1 MB Notification: Performance of Transformations before backend: time 1.56e-05/0.03735, allocations: 0 / 345.7 MB, free: 316 kB / 302.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.002393/0.03974, allocations: 1.265 MB / 347 MB, free: 15.01 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.03978, allocations: 15.98 kB / 347 MB, free: 14.99 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00019/0.03997, allocations: 120.2 kB / 347.1 MB, free: 14.88 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001235/0.04121, allocations: 0.6754 MB / 347.8 MB, free: 14.15 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.377e-05/0.04124, allocations: 21.03 kB / 347.8 MB, free: 14.13 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.781e-05/0.04131, allocations: 28.38 kB / 347.8 MB, free: 14.1 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007314/0.04204, allocations: 321.9 kB / 348.1 MB, free: 13.78 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.04205, allocations: 4 kB / 348.1 MB, free: 13.77 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.815e-05/0.04209, allocations: 12 kB / 348.2 MB, free: 13.76 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.02e-05/0.04212, allocations: 11.98 kB / 348.2 MB, free: 13.75 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007218/0.04284, allocations: 270.5 kB / 348.4 MB, free: 13.49 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002137/0.04498, allocations: 1.211 MB / 349.6 MB, free: 12.21 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007745/0.04576, allocations: 285.2 kB / 349.9 MB, free: 11.92 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004641/0.04622, allocations: 212.8 kB / 350.1 MB, free: 11.71 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003047/0.04927, allocations: 1.322 MB / 351.4 MB, free: 10.37 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000487/0.04975, allocations: 195.2 kB / 351.6 MB, free: 10.17 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 2.234e-06/0.04976, allocations: 0 / 351.6 MB, free: 10.17 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.001634/0.05139, allocations: 0.5608 MB / 352.2 MB, free: 9.598 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.991e-05/0.05145, allocations: 59.41 kB / 352.3 MB, free: 9.527 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00104/0.05249, allocations: 0.7947 MB / 353.1 MB, free: 8.715 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.914e-05/0.05254, allocations: 33.7 kB / 353.1 MB, free: 8.676 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004235/0.05296, allocations: 436.8 kB / 353.5 MB, free: 8.246 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000113/0.05308, allocations: 119 kB / 353.6 MB, free: 8.129 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000139/0.05321, allocations: 81.91 kB / 353.7 MB, free: 8.043 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.05338, allocations: 322 kB / 354 MB, free: 7.723 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003354/0.05372, allocations: 120.8 kB / 354.1 MB, free: 7.602 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004232/0.05414, allocations: 214.9 kB / 354.3 MB, free: 7.355 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001882/0.05602, allocations: 0.7245 MB / 355.1 MB, free: 6.594 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.05603, allocations: 0 / 355.1 MB, free: 6.594 MB / 318.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001142/0.05717, allocations: 0.5141 MB / 355.6 MB, free: 6.07 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.05719, allocations: 8 kB / 355.6 MB, free: 6.062 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.618e-05/0.05726, allocations: 35.98 kB / 355.6 MB, free: 6.027 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001486/0.05741, allocations: 36.78 kB / 355.7 MB, free: 5.988 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000416/0.05782, allocations: 83.88 kB / 355.7 MB, free: 5.906 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001361/0.05918, allocations: 1.311 MB / 357.1 MB, free: 4.484 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003734/0.05956, allocations: 47.75 kB / 357.1 MB, free: 4.438 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.394e-05/0.0596, allocations: 16 kB / 357.1 MB, free: 4.422 MB / 318.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.0003718/0.05997, allocations: 205.8 kB / 357.3 MB, free: 4.211 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001284/0.0601, allocations: 107.3 kB / 357.4 MB, free: 4.105 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001209/0.06131, allocations: 499.8 kB / 357.9 MB, free: 3.609 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.06132, allocations: 4 kB / 357.9 MB, free: 3.605 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.06132, allocations: 0 / 357.9 MB, free: 3.605 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.06132, allocations: 4 kB / 357.9 MB, free: 3.602 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006142/0.06194, allocations: 462.4 kB / 358.4 MB, free: 3.121 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.449e-05/0.06199, allocations: 36 kB / 358.4 MB, free: 3.086 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003577/0.06235, allocations: 59.89 kB / 358.5 MB, free: 3.027 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001031/0.06245, allocations: 32.72 kB / 358.5 MB, free: 2.992 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.197e-05/0.06249, allocations: 12 kB / 358.5 MB, free: 2.98 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001201/0.06369, allocations: 1.311 MB / 359.8 MB, free: 1.566 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.06369, allocations: 0 / 359.8 MB, free: 1.566 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001358/0.06505, allocations: 0.6032 MB / 360.4 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000232/0.06528, allocations: 111.3 kB / 360.5 MB, free: 0.832 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.977e-05/0.06537, allocations: 8.062 kB / 360.5 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002762/0.06564, allocations: 19.97 kB / 360.6 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.06576, allocations: 31.84 kB / 360.6 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.508e-05/0.06579, allocations: 11.98 kB / 360.6 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007879/0.06658, allocations: 0.5383 MB / 361.1 MB, free: 220 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.06658, allocations: 0 / 361.1 MB, free: 220 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007494/0.06733, allocations: 243.4 kB / 361.4 MB, free: 15.97 MB / 334.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.0007213/0.06805, allocations: 380.9 kB / 361.8 MB, free: 15.6 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001104/0.06915, allocations: 476.4 kB / 362.2 MB, free: 15.11 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.06916, allocations: 0 / 362.2 MB, free: 15.11 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005721/0.06973, allocations: 320.9 kB / 362.5 MB, free: 14.78 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006229/0.07035, allocations: 116.3 kB / 362.6 MB, free: 14.66 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003021/0.07337, allocations: 1.595 MB / 364.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003682/0.07374, allocations: 365.9 kB / 364.6 MB, free: 12.64 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000262/0.074, allocations: 85.19 kB / 364.7 MB, free: 12.56 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.997e-05/0.0741, allocations: 48.5 kB / 364.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of SimCode: time 6.31e-07/0.0741, allocations: 4 kB / 364.7 MB, free: 12.51 MB / 334.1 MB Notification: Performance of Templates: time 0.01817/0.09227, allocations: 8.183 MB / 372.9 MB, free: 4.383 MB / 334.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.59359372779727]