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.001145/0.001145, allocations: 79.75 kB / 22.45 MB, free: 2.09 MB / 18.57 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.001259/0.001259, allocations: 168 kB / 25.75 MB, free: 8.961 MB / 18.57 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.8851/0.8851, allocations: 158.6 MB / 187.6 MB, free: 1.938 MB / 170.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.763e-06/1.763e-06, allocations: 0 / 251.1 MB, free: 3.801 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.882e-05/3.059e-05, allocations: 6.312 kB / 251.1 MB, free: 3.793 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.00524/0.005271, allocations: 4.801 MB / 255.9 MB, free: 14.96 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.009077/0.01435, allocations: 9.814 MB / 265.7 MB, free: 5.109 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007275/0.01507, allocations: 39.56 kB / 265.8 MB, free: 5.07 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001273/0.01635, allocations: 0.6106 MB / 266.4 MB, free: 4.457 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002941/0.01929, allocations: 1.043 MB / 267.4 MB, free: 3.406 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001308/0.0206, allocations: 0.6094 MB / 268 MB, free: 2.793 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001705/0.0223, allocations: 1.386 MB / 269.4 MB, free: 1.402 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002643/0.02257, allocations: 121.7 kB / 269.5 MB, free: 1.27 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004651/0.02303, allocations: 398.9 kB / 269.9 MB, free: 0.8789 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000213/0.02324, allocations: 223.2 kB / 270.1 MB, free: 0.6602 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.047e-05/0.02328, allocations: 32 kB / 270.2 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000962/0.02425, allocations: 0.644 MB / 270.8 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.087e-05/0.02433, allocations: 107.2 kB / 270.9 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001995/0.02453, allocations: 223.3 kB / 271.1 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001228/0.02575, allocations: 1.047 MB / 272.2 MB, free: 14.61 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.02576, allocations: 4 kB / 272.2 MB, free: 14.61 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.02576, allocations: 0 / 272.2 MB, free: 14.61 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.24e-05/0.02578, allocations: 0 / 272.2 MB, free: 14.61 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.001351/0.02713, allocations: 1.405 MB / 273.6 MB, free: 13.16 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.02717, allocations: 15.98 kB / 273.6 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001471/0.02732, allocations: 144.2 kB / 273.7 MB, free: 13 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007458/0.02806, allocations: 0.7368 MB / 274.5 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.334e-05/0.02809, allocations: 28.77 kB / 274.5 MB, free: 12.19 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.036e-05/0.02814, allocations: 24 kB / 274.5 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004073/0.02854, allocations: 250.7 kB / 274.8 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.02855, allocations: 0 / 274.8 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.852e-05/0.02858, allocations: 8 kB / 274.8 MB, free: 11.9 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.687e-05/0.0286, allocations: 12 kB / 274.8 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000245/0.02885, allocations: 143.8 kB / 274.9 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001336/0.03018, allocations: 1.262 MB / 276.2 MB, free: 10.41 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002879/0.03047, allocations: 171.3 kB / 276.4 MB, free: 10.23 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001855/0.03065, allocations: 163.8 kB / 276.5 MB, free: 10.07 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002087/0.03274, allocations: 1.553 MB / 278.1 MB, free: 8.492 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002423/0.03298, allocations: 145 kB / 278.2 MB, free: 8.336 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 2.585e-06/0.03299, allocations: 0 / 278.2 MB, free: 8.336 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.0008996/0.03389, allocations: 444.1 kB / 278.7 MB, free: 7.887 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/0.03393, allocations: 63.34 kB / 278.7 MB, free: 7.812 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007511/0.03468, allocations: 0.8959 MB / 279.6 MB, free: 6.898 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.03471, allocations: 33.7 kB / 279.7 MB, free: 6.859 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000309/0.03502, allocations: 0.5154 MB / 280.2 MB, free: 6.34 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.672e-05/0.03508, allocations: 103.2 kB / 280.3 MB, free: 6.238 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.594e-05/0.03517, allocations: 83.56 kB / 280.3 MB, free: 6.148 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.03531, allocations: 0.4925 MB / 280.8 MB, free: 5.648 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.404e-05/0.0354, allocations: 60.8 kB / 280.9 MB, free: 5.59 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001879/0.03559, allocations: 214.8 kB / 281.1 MB, free: 5.316 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003018/0.03589, allocations: 295.4 kB / 281.4 MB, free: 4.965 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.0359, allocations: 3.938 kB / 281.4 MB, free: 4.961 MB / 266.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005311/0.03643, allocations: 443.7 kB / 281.8 MB, free: 4.512 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.072e-05/0.03646, allocations: 10.97 kB / 281.8 MB, free: 4.504 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.159e-05/0.0365, allocations: 36 kB / 281.9 MB, free: 4.469 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002823/0.03678, allocations: 55.78 kB / 281.9 MB, free: 4.406 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000171/0.03695, allocations: 75.84 kB / 282 MB, free: 4.332 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001778/0.03873, allocations: 3.519 MB / 285.5 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001835/0.03891, allocations: 39.72 kB / 285.6 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.712e-05/0.03894, allocations: 20 kB / 285.6 MB, free: 0.5039 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.0001607/0.0391, allocations: 176.5 kB / 285.8 MB, free: 328 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.409e-05/0.03918, allocations: 115.3 kB / 285.9 MB, free: 212 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005301/0.03972, allocations: 407.3 kB / 286.3 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.03972, allocations: 0 / 286.3 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.03972, allocations: 15.88 kB / 286.3 MB, free: 15.78 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.03973, allocations: 0 / 286.3 MB, free: 15.78 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004155/0.04014, allocations: 0.4989 MB / 286.8 MB, free: 15.25 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.844e-05/0.04017, allocations: 36 kB / 286.8 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/0.04029, allocations: 35.91 kB / 286.9 MB, free: 15.18 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001258/0.04041, allocations: 55.33 kB / 286.9 MB, free: 15.11 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/0.04043, allocations: 8 kB / 286.9 MB, free: 15.11 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001488/0.04192, allocations: 3.523 MB / 290.4 MB, free: 11.34 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.04192, allocations: 0 / 290.4 MB, free: 11.34 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005127/0.04243, allocations: 460 kB / 290.9 MB, free: 10.86 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001323/0.04256, allocations: 115.4 kB / 291 MB, free: 10.74 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.559e-05/0.04261, allocations: 4 kB / 291 MB, free: 10.74 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.04271, allocations: 11.98 kB / 291 MB, free: 10.73 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.085e-05/0.04279, allocations: 31.94 kB / 291 MB, free: 10.7 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.861e-05/0.04281, allocations: 12 kB / 291.1 MB, free: 10.68 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004431/0.04326, allocations: 0.5307 MB / 291.6 MB, free: 10.14 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04326, allocations: 0 / 291.6 MB, free: 10.14 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005892/0.04385, allocations: 251.4 kB / 291.8 MB, free: 9.898 MB / 282.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.0004842/0.04433, allocations: 395.6 kB / 292.2 MB, free: 9.504 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005874/0.04492, allocations: 0.5947 MB / 292.8 MB, free: 8.867 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.04492, allocations: 0 / 292.8 MB, free: 8.867 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003042/0.04522, allocations: 0.4936 MB / 293.3 MB, free: 8.328 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003359/0.04556, allocations: 100.7 kB / 293.4 MB, free: 8.23 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001627/0.04719, allocations: 1.427 MB / 294.8 MB, free: 6.762 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.812e-05/0.04728, allocations: 145.6 kB / 295 MB, free: 6.598 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001777/0.04746, allocations: 89.19 kB / 295.1 MB, free: 6.508 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.601e-05/0.04753, allocations: 48.44 kB / 295.1 MB, free: 6.457 MB / 282.7 MB Notification: Performance of SimCode: time 9.02e-07/0.04753, allocations: 0 / 295.1 MB, free: 6.457 MB / 282.7 MB Notification: Performance of Templates: time 0.1244/0.1719, allocations: 8.476 MB / 303.6 MB, free: 59.18 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 -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: 3.1390678079333156]