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.001039/0.001039, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001201/0.00224, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0006973/0.0006973, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008764/0.001574, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 0.959/0.959, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0782/1.037, allocations: 53.87 MB / 243.7 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] 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=1000,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=1000,variableFilter="time|Q1.vbc|Q1.vbe",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.028e-05/1.209e-05, allocations: 2.312 kB / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.003645/0.003657, allocations: 4.87 MB / 249.9 MB, free: 8.762 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007589/0.01125, allocations: 10.23 MB / 260.1 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002467/0.01149, allocations: 43.5 kB / 260.1 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008587/0.01235, allocations: 0.6459 MB / 260.8 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001196/0.01355, allocations: 1.038 MB / 261.8 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006494/0.0142, allocations: 0.5168 MB / 262.3 MB, free: 12.23 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001151/0.01535, allocations: 1.436 MB / 263.8 MB, free: 10.79 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001615/0.01551, allocations: 126.3 kB / 263.9 MB, free: 10.65 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008065/0.01632, allocations: 0.7058 MB / 264.6 MB, free: 9.922 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002121/0.01653, allocations: 247.1 kB / 264.9 MB, free: 9.68 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.672e-05/0.01656, allocations: 28 kB / 264.9 MB, free: 9.652 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008367/0.0174, allocations: 0.7677 MB / 265.6 MB, free: 8.883 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.519e-05/0.01747, allocations: 87.38 kB / 265.7 MB, free: 8.797 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001514/0.01762, allocations: 199.4 kB / 265.9 MB, free: 8.602 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008362/0.01845, allocations: 0.9809 MB / 266.9 MB, free: 7.617 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.33e-05/0.01847, allocations: 0 / 266.9 MB, free: 7.617 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.01847, allocations: 0 / 266.9 MB, free: 7.617 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.779e-05/0.01849, allocations: 4 kB / 266.9 MB, free: 7.613 MB / 266.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.00127/0.01976, allocations: 1.523 MB / 268.4 MB, free: 6.043 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.582e-05/0.01978, allocations: 8.625 kB / 268.4 MB, free: 6.035 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.375e-05/0.01987, allocations: 92.83 kB / 268.5 MB, free: 5.945 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005235/0.02039, allocations: 0.6015 MB / 269.1 MB, free: 5.289 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.0204, allocations: 21.03 kB / 269.2 MB, free: 5.27 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.368e-05/0.02044, allocations: 24.38 kB / 269.2 MB, free: 5.246 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002394/0.02068, allocations: 233.4 kB / 269.4 MB, free: 5.008 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.02069, allocations: 4 kB / 269.4 MB, free: 5.004 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.0207, allocations: 8 kB / 269.4 MB, free: 4.996 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.02071, allocations: 11.98 kB / 269.4 MB, free: 4.984 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001207/0.02083, allocations: 83.19 kB / 269.5 MB, free: 4.902 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009173/0.02175, allocations: 0.8642 MB / 270.4 MB, free: 3.98 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002363/0.02199, allocations: 190.4 kB / 270.6 MB, free: 3.785 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001256/0.02211, allocations: 117.8 kB / 270.7 MB, free: 3.668 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002034/0.02415, allocations: 1.525 MB / 272.2 MB, free: 2.125 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001402/0.02429, allocations: 127.2 kB / 272.3 MB, free: 1.988 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 1.412e-06/0.02429, allocations: 4 kB / 272.3 MB, free: 1.984 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.0004686/0.02476, allocations: 303.8 kB / 272.6 MB, free: 1.676 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/0.02479, allocations: 63.34 kB / 272.7 MB, free: 1.602 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003865/0.02518, allocations: 0.7264 MB / 273.4 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.02519, allocations: 29.7 kB / 273.4 MB, free: 0.8242 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.02531, allocations: 290.8 kB / 273.7 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.875e-05/0.02536, allocations: 103.1 kB / 273.8 MB, free: 440 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.211e-05/0.02542, allocations: 69.94 kB / 273.9 MB, free: 364 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.317e-05/0.02549, allocations: 329.9 kB / 274.2 MB, free: 28 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1002/0.1257, allocations: 39.42 kB / 274.3 MB, free: 14.54 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001421/0.1259, allocations: 145.9 kB / 274.4 MB, free: 14.42 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002064/0.1261, allocations: 219.2 kB / 274.6 MB, free: 14.29 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.1261, allocations: 1.062 kB / 274.6 MB, free: 14.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000491/0.1266, allocations: 308.9 kB / 274.9 MB, free: 14.24 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.1266, allocations: 13.61 kB / 274.9 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.841e-05/0.1266, allocations: 7.672 kB / 274.9 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001668/0.1268, allocations: 45.47 kB / 275 MB, free: 14.22 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002636/0.127, allocations: 88.97 kB / 275.1 MB, free: 14.22 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009397/0.128, allocations: 2.364 MB / 277.4 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002227/0.1282, allocations: 44.59 kB / 277.5 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.929e-05/0.1282, allocations: 9.328 kB / 277.5 MB, free: 11.99 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.0001312/0.1284, allocations: 134.2 kB / 277.6 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.367e-05/0.1285, allocations: 75.92 kB / 277.7 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004562/0.1289, allocations: 311.9 kB / 278 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.1289, allocations: 6.188 kB / 278 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.1289, allocations: 1.156 kB / 278 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.1289, allocations: 2.406 kB / 278 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003276/0.1292, allocations: 309.3 kB / 278.3 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.537e-05/0.1293, allocations: 3.797 kB / 278.3 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001728/0.1294, allocations: 54.19 kB / 278.4 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001241/0.1296, allocations: 93.92 kB / 278.5 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001031/0.1297, allocations: 45.09 kB / 278.5 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.1297, allocations: 5.516 kB / 278.5 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007671/0.1305, allocations: 2.364 MB / 280.9 MB, free: 9.469 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.1305, allocations: 1.125 kB / 280.9 MB, free: 9.469 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003942/0.1309, allocations: 320.3 kB / 281.2 MB, free: 9.375 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.356e-05/0.1309, allocations: 6.516 kB / 281.2 MB, free: 9.375 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/0.1311, allocations: 11.86 kB / 281.2 MB, free: 9.375 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.546e-05/0.1311, allocations: 26.48 kB / 281.2 MB, free: 9.375 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.1311, allocations: 4.391 kB / 281.2 MB, free: 9.375 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000329/0.1315, allocations: 372 kB / 281.6 MB, free: 9.332 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1315, allocations: 1.969 kB / 281.6 MB, free: 9.332 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005334/0.132, allocations: 251.1 kB / 281.8 MB, free: 9.332 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.0004753/0.1325, allocations: 393.6 kB / 282.2 MB, free: 9.262 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004047/0.1329, allocations: 433.4 kB / 282.7 MB, free: 8.992 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.03e-05/0.1329, allocations: 13.14 kB / 282.7 MB, free: 8.992 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002145/0.1331, allocations: 342 kB / 283 MB, free: 8.734 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000397/0.1335, allocations: 174.7 kB / 283.2 MB, free: 8.723 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002988/0.1365, allocations: 1.33 MB / 284.5 MB, free: 8.074 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001093/0.1366, allocations: 158.7 kB / 284.7 MB, free: 7.992 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002064/0.1368, allocations: 79.25 kB / 284.7 MB, free: 7.977 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002164/0.137, allocations: 150.6 kB / 284.9 MB, free: 7.934 MB / 266.7 MB Notification: Performance of SimCode: time 5.11e-07/0.137, allocations: 0 / 284.9 MB, free: 7.934 MB / 266.7 MB Notification: Performance of Templates: time 0.01195/0.149, allocations: 9.922 MB / 294.8 MB, free: 5.309 MB / 266.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1) [Timeout 240] 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","",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.8009310010820627]