Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 85.91 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00145/0.00145, allocations: 164.8 kB / 23.96 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.42/1.42, allocations: 177.1 MB / 204.3 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_4.1.0_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_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 325.1 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.388e-05/2.6e-05, allocations: 9.734 kB / 325.1 MB, free: 0.543 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.00571/0.005736, allocations: 4.492 MB / 329.6 MB, free: 13.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01281/0.01855, allocations: 9.33 MB / 338.9 MB, free: 6.504 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009513/0.0195, allocations: 46.12 kB / 338.9 MB, free: 6.473 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002017/0.02152, allocations: 0.6231 MB / 339.6 MB, free: 6.047 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003561/0.02508, allocations: 1.055 MB / 340.6 MB, free: 5.219 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001783/0.02686, allocations: 0.6105 MB / 341.2 MB, free: 4.781 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002888/0.02975, allocations: 1.426 MB / 342.6 MB, free: 3.527 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003001/0.03005, allocations: 121.7 kB / 342.8 MB, free: 3.398 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006117/0.03066, allocations: 422.8 kB / 343.2 MB, free: 2.984 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003843/0.03104, allocations: 223.2 kB / 343.4 MB, free: 2.766 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.94e-05/0.03111, allocations: 31.94 kB / 343.4 MB, free: 2.734 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001658/0.03277, allocations: 0.6634 MB / 344.1 MB, free: 2.07 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001247/0.0329, allocations: 119.2 kB / 344.2 MB, free: 1.953 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003287/0.03323, allocations: 219.3 kB / 344.4 MB, free: 1.738 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001875/0.0351, allocations: 1.335 MB / 345.8 MB, free: 408 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.0351, allocations: 0 / 345.8 MB, free: 408 kB / 302.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.03511, allocations: 0 / 345.8 MB, free: 408 kB / 302.1 MB Notification: Performance of Transformations before backend: time 1.705e-05/0.03512, allocations: 0 / 345.8 MB, free: 408 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.002231/0.03735, allocations: 1.266 MB / 347 MB, free: 15.1 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.03739, allocations: 12.03 kB / 347 MB, free: 15.09 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001684/0.03756, allocations: 124.2 kB / 347.2 MB, free: 14.96 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001131/0.03869, allocations: 0.6793 MB / 347.8 MB, free: 14.23 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.223e-05/0.03872, allocations: 21.03 kB / 347.9 MB, free: 14.21 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.191e-05/0.03881, allocations: 28.38 kB / 347.9 MB, free: 14.19 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008017/0.03961, allocations: 325.9 kB / 348.2 MB, free: 13.86 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.03962, allocations: 0 / 348.2 MB, free: 13.86 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.995e-05/0.03966, allocations: 12 kB / 348.2 MB, free: 13.85 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.812e-05/0.03968, allocations: 12 kB / 348.2 MB, free: 13.84 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007271/0.04041, allocations: 274.5 kB / 348.5 MB, free: 13.57 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00217/0.04258, allocations: 1.199 MB / 349.7 MB, free: 12.3 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007918/0.04337, allocations: 281.8 kB / 350 MB, free: 12.02 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004575/0.04383, allocations: 213.4 kB / 350.2 MB, free: 11.81 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003192/0.04702, allocations: 1.318 MB / 351.5 MB, free: 10.47 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005152/0.04753, allocations: 199.2 kB / 351.7 MB, free: 10.26 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 3.627e-06/0.04754, allocations: 0 / 351.7 MB, free: 10.26 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.001715/0.04925, allocations: 0.5643 MB / 352.3 MB, free: 9.691 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.101e-05/0.04931, allocations: 59.39 kB / 352.3 MB, free: 9.621 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001219/0.05053, allocations: 0.7986 MB / 353.1 MB, free: 8.805 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.127e-05/0.05059, allocations: 37.7 kB / 353.1 MB, free: 8.762 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004828/0.05108, allocations: 436.8 kB / 353.6 MB, free: 8.332 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001366/0.05121, allocations: 115 kB / 353.7 MB, free: 8.219 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001562/0.05137, allocations: 69.97 kB / 353.8 MB, free: 8.145 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001977/0.05157, allocations: 325.9 kB / 354.1 MB, free: 7.82 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003314/0.0519, allocations: 120.8 kB / 354.2 MB, free: 7.699 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004313/0.05233, allocations: 215 kB / 354.4 MB, free: 7.453 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001841/0.05417, allocations: 0.7206 MB / 355.1 MB, free: 6.695 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.217e-06/0.05417, allocations: 0 / 355.1 MB, free: 6.695 MB / 318.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001103/0.05528, allocations: 0.5178 MB / 355.6 MB, free: 6.168 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.0553, allocations: 8 kB / 355.6 MB, free: 6.16 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.784e-05/0.05536, allocations: 36 kB / 355.7 MB, free: 6.125 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001375/0.05549, allocations: 32.84 kB / 355.7 MB, free: 6.09 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003962/0.05589, allocations: 88.22 kB / 355.8 MB, free: 6.004 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001348/0.05724, allocations: 1.315 MB / 357.1 MB, free: 4.578 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003928/0.05763, allocations: 51.62 kB / 357.2 MB, free: 4.527 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-05/0.05768, allocations: 20 kB / 357.2 MB, free: 4.508 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.0003844/0.05806, allocations: 197.8 kB / 357.4 MB, free: 4.305 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/0.05819, allocations: 111.3 kB / 357.5 MB, free: 4.195 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001239/0.05943, allocations: 0.492 MB / 358 MB, free: 3.695 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.05944, allocations: 4 kB / 358 MB, free: 3.691 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.05944, allocations: 0 / 358 MB, free: 3.691 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.952e-06/0.05944, allocations: 3.984 kB / 358 MB, free: 3.688 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005955/0.06004, allocations: 462.5 kB / 358.4 MB, free: 3.207 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-05/0.06009, allocations: 32 kB / 358.5 MB, free: 3.176 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003473/0.06044, allocations: 55.91 kB / 358.5 MB, free: 3.121 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001036/0.06054, allocations: 36.77 kB / 358.6 MB, free: 3.082 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.195e-05/0.06057, allocations: 12 kB / 358.6 MB, free: 3.07 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001127/0.0617, allocations: 1.3 MB / 359.9 MB, free: 1.668 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.0617, allocations: 0 / 359.9 MB, free: 1.668 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001333/0.06303, allocations: 0.6188 MB / 360.5 MB, free: 1.027 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002165/0.06325, allocations: 111.3 kB / 360.6 MB, free: 0.918 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.128e-05/0.06333, allocations: 240 / 360.6 MB, free: 0.918 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002532/0.06358, allocations: 15.98 kB / 360.6 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.06368, allocations: 31.89 kB / 360.6 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-05/0.06372, allocations: 15.98 kB / 360.7 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007026/0.06442, allocations: 0.5422 MB / 361.2 MB, free: 312 kB / 318.1 MB Notification: Performance of sort global known variables: time 6e-08/0.06442, allocations: 0 / 361.2 MB, free: 312 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006933/0.06511, allocations: 243.3 kB / 361.4 MB, free: 68 kB / 318.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.0007092/0.06582, allocations: 388.9 kB / 361.8 MB, free: 15.68 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001084/0.06691, allocations: 477 kB / 362.3 MB, free: 15.19 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.06691, allocations: 4.062 kB / 362.3 MB, free: 15.19 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005666/0.06748, allocations: 320.1 kB / 362.6 MB, free: 14.86 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005887/0.06806, allocations: 108.3 kB / 362.7 MB, free: 14.75 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002992/0.07106, allocations: 1.587 MB / 364.3 MB, free: 13.12 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003793/0.07144, allocations: 369.9 kB / 364.7 MB, free: 12.73 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002394/0.07168, allocations: 81.22 kB / 364.7 MB, free: 12.65 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.07178, allocations: 48.5 kB / 364.8 MB, free: 12.61 MB / 334.1 MB Notification: Performance of SimCode: time 6.31e-07/0.07178, allocations: 0 / 364.8 MB, free: 12.61 MB / 334.1 MB Notification: Performance of Templates: time 0.01755/0.08933, allocations: 8.2 MB / 373 MB, free: 4.473 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & ./Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.529518540948629]