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.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.001069/0.001069, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001591/0.00266, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001072/0.001072, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001344/0.002415, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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 0.8395/0.8395, allocations: 158.6 MB / 171.1 MB, free: 2.578 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1384/0.9779, allocations: 49.48 MB / 220.5 MB, free: 1.445 MB / 218.7 MB " [Timeout remaining time 179] 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.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=1000,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=1000,variableFilter="time|Q1.vbc|Q1.vbe",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 221.8 MB, free: 176 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.946e-05/2.081e-05, allocations: 6.109 kB / 221.8 MB, free: 172 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.003994/0.004014, allocations: 4.787 MB / 226.6 MB, free: 11.35 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.007453/0.01147, allocations: 9.863 MB / 236.5 MB, free: 1.445 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003711/0.01184, allocations: 43.56 kB / 236.5 MB, free: 1.402 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009026/0.01274, allocations: 0.6225 MB / 237.2 MB, free: 0.7734 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001421/0.01416, allocations: 1.022 MB / 238.2 MB, free: 15.75 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007366/0.0149, allocations: 0.5323 MB / 238.7 MB, free: 15.21 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001311/0.01621, allocations: 1.382 MB / 240.1 MB, free: 13.82 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001773/0.01639, allocations: 130.3 kB / 240.2 MB, free: 13.68 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006145/0.017, allocations: 0.6784 MB / 240.9 MB, free: 12.98 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002357/0.01724, allocations: 235.2 kB / 241.1 MB, free: 12.75 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.346e-05/0.01728, allocations: 32 kB / 241.2 MB, free: 12.72 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008945/0.01818, allocations: 0.7366 MB / 241.9 MB, free: 11.98 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.047e-05/0.01825, allocations: 87.38 kB / 242 MB, free: 11.89 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001491/0.01839, allocations: 199.4 kB / 242.2 MB, free: 11.7 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000862/0.01926, allocations: 0.9809 MB / 243.2 MB, free: 10.71 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.564e-05/0.01927, allocations: 0 / 243.2 MB, free: 10.71 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.01927, allocations: 0 / 243.2 MB, free: 10.71 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.842e-05/0.01929, allocations: 0 / 243.2 MB, free: 10.71 MB / 250.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.00122/0.02051, allocations: 1.519 MB / 244.7 MB, free: 9.148 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.866e-05/0.02054, allocations: 8.031 kB / 244.7 MB, free: 9.141 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.076e-05/0.02063, allocations: 96.83 kB / 244.8 MB, free: 9.047 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005386/0.02117, allocations: 0.5976 MB / 245.4 MB, free: 8.395 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.02119, allocations: 28.78 kB / 245.4 MB, free: 8.367 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.346e-05/0.02122, allocations: 24 kB / 245.4 MB, free: 8.344 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002801/0.0215, allocations: 229.5 kB / 245.6 MB, free: 8.109 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.02151, allocations: 0 / 245.6 MB, free: 8.109 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.367e-05/0.02154, allocations: 12 kB / 245.7 MB, free: 8.098 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/0.02155, allocations: 7.984 kB / 245.7 MB, free: 8.09 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001262/0.02168, allocations: 91.19 kB / 245.8 MB, free: 8 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008541/0.02253, allocations: 0.8642 MB / 246.6 MB, free: 7.078 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000207/0.02274, allocations: 190.3 kB / 246.8 MB, free: 6.883 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.02284, allocations: 116.8 kB / 246.9 MB, free: 6.766 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001748/0.02459, allocations: 1.505 MB / 248.4 MB, free: 5.242 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001611/0.02475, allocations: 131.2 kB / 248.6 MB, free: 5.102 MB / 250.7 MB Notification: Performance of pre-optimization done (n=29): time 1.403e-06/0.02475, allocations: 0 / 248.6 MB, free: 5.102 MB / 250.7 MB Notification: Performance of matching and sorting (n=29): time 0.0004866/0.02524, allocations: 323 kB / 248.9 MB, free: 4.773 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/0.02527, allocations: 59.41 kB / 248.9 MB, free: 4.703 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003813/0.02565, allocations: 0.7302 MB / 249.7 MB, free: 3.957 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.02567, allocations: 29.7 kB / 249.7 MB, free: 3.922 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.0258, allocations: 294.8 kB / 250 MB, free: 3.629 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.159e-05/0.02585, allocations: 103.1 kB / 250.1 MB, free: 3.527 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.183e-05/0.02591, allocations: 65.95 kB / 250.1 MB, free: 3.457 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.004e-05/0.02598, allocations: 321.9 kB / 250.5 MB, free: 3.137 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.446e-05/0.02603, allocations: 40.81 kB / 250.5 MB, free: 3.098 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.496e-05/0.02613, allocations: 144.5 kB / 250.6 MB, free: 2.91 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001873/0.02632, allocations: 228.8 kB / 250.9 MB, free: 2.641 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.02632, allocations: 3.938 kB / 250.9 MB, free: 2.637 MB / 250.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0002862/0.02661, allocations: 299.1 kB / 251.2 MB, free: 2.332 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.02662, allocations: 16.02 kB / 251.2 MB, free: 2.316 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.495e-05/0.02665, allocations: 7.984 kB / 251.2 MB, free: 2.309 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001276/0.02677, allocations: 49.62 kB / 251.2 MB, free: 2.254 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001737/0.02695, allocations: 83.89 kB / 251.3 MB, free: 2.172 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001079/0.02803, allocations: 2.368 MB / 253.7 MB, free: 15.63 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001255/0.02815, allocations: 39.73 kB / 253.7 MB, free: 15.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.258e-05/0.02817, allocations: 12 kB / 253.7 MB, free: 15.58 MB / 266.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 (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.000121/0.0283, allocations: 145.7 kB / 253.9 MB, free: 15.43 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.536e-05/0.02835, allocations: 75.91 kB / 253.9 MB, free: 15.35 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003469/0.0287, allocations: 297.7 kB / 254.2 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.0287, allocations: 4 kB / 254.2 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.0287, allocations: 4 kB / 254.2 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.02871, allocations: 4 kB / 254.2 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002456/0.02895, allocations: 310.2 kB / 254.5 MB, free: 14.72 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.859e-05/0.02897, allocations: 8 kB / 254.6 MB, free: 14.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001273/0.0291, allocations: 43.95 kB / 254.6 MB, free: 14.67 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.103e-05/0.02919, allocations: 99.14 kB / 254.7 MB, free: 14.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.519e-05/0.02927, allocations: 45.69 kB / 254.7 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.02929, allocations: 4 kB / 254.7 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009253/0.03021, allocations: 2.364 MB / 257.1 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.03021, allocations: 3.938 kB / 257.1 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002916/0.0305, allocations: 311.3 kB / 257.4 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.175e-05/0.03055, allocations: 7.984 kB / 257.4 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.102e-05/0.03064, allocations: 16 kB / 257.4 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.112e-05/0.03069, allocations: 27.89 kB / 257.5 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.0307, allocations: 3.984 kB / 257.5 MB, free: 11.59 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002135/0.03091, allocations: 369.7 kB / 257.8 MB, free: 11.22 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03091, allocations: 0 / 257.8 MB, free: 11.22 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003423/0.03126, allocations: 259.2 kB / 258.1 MB, free: 10.97 MB / 266.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 (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.0003878/0.03164, allocations: 401.6 kB / 258.5 MB, free: 10.57 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004436/0.03209, allocations: 427.5 kB / 258.9 MB, free: 10.12 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.428e-05/0.0321, allocations: 12 kB / 258.9 MB, free: 10.11 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002476/0.03235, allocations: 336.2 kB / 259.2 MB, free: 9.746 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002956/0.03265, allocations: 161.2 kB / 259.4 MB, free: 9.586 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002249/0.03489, allocations: 1.347 MB / 260.7 MB, free: 8.199 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.654e-05/0.03497, allocations: 157.3 kB / 260.9 MB, free: 8.023 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001323/0.0351, allocations: 89.19 kB / 261 MB, free: 7.938 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001574/0.03526, allocations: 147.3 kB / 261.1 MB, free: 7.793 MB / 266.7 MB Notification: Performance of SimCode: time 5.21e-07/0.03526, allocations: 0 / 261.1 MB, free: 7.793 MB / 266.7 MB Notification: Performance of Templates: time 0.01173/0.04699, allocations: 9.857 MB / 271 MB, free: 13.96 MB / 282.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8858143109828234]