Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 84 kB / 21.43 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006093/0.006093, allocations: 146.6 kB / 24.68 MB, free: 9.426 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.834/0.834, allocations: 173.4 MB / 201.2 MB, free: 9.074 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 319.7 MB, free: 5.848 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.457e-05/1.611e-05, allocations: 2.281 kB / 319.7 MB, free: 5.844 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.003276/0.003292, allocations: 4.455 MB / 324.2 MB, free: 1.359 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006381/0.009673, allocations: 9.302 MB / 333.5 MB, free: 8.016 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002703/0.009943, allocations: 43.56 kB / 333.5 MB, free: 7.973 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009394/0.01088, allocations: 0.622 MB / 334.1 MB, free: 7.348 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001361/0.01224, allocations: 1.051 MB / 335.2 MB, free: 6.285 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007682/0.01301, allocations: 0.6133 MB / 335.8 MB, free: 5.672 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001111/0.01412, allocations: 1.413 MB / 337.2 MB, free: 4.254 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001564/0.01428, allocations: 109.7 kB / 337.3 MB, free: 4.133 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002825/0.01456, allocations: 426.8 kB / 337.7 MB, free: 3.715 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001948/0.01476, allocations: 219.2 kB / 337.9 MB, free: 3.496 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.742e-05/0.01479, allocations: 32 kB / 338 MB, free: 3.465 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007064/0.0155, allocations: 0.6595 MB / 338.6 MB, free: 2.805 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.534e-05/0.01556, allocations: 111.2 kB / 338.7 MB, free: 2.695 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001381/0.0157, allocations: 223.3 kB / 339 MB, free: 2.477 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009693/0.01667, allocations: 1.335 MB / 340.3 MB, free: 1.137 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.01668, allocations: 0 / 340.3 MB, free: 1.137 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.01668, allocations: 0 / 340.3 MB, free: 1.137 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.01668, allocations: 0 / 340.3 MB, free: 1.137 MB / 298.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.001122/0.01781, allocations: 1.274 MB / 341.6 MB, free: 15.82 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.081e-05/0.01784, allocations: 12.92 kB / 341.6 MB, free: 15.81 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.931e-05/0.01793, allocations: 124.1 kB / 341.7 MB, free: 15.69 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006409/0.01857, allocations: 0.6677 MB / 342.4 MB, free: 14.98 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.01859, allocations: 20.97 kB / 342.4 MB, free: 14.96 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.196e-05/0.01863, allocations: 32.38 kB / 342.4 MB, free: 14.93 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000379/0.01901, allocations: 325.9 kB / 342.7 MB, free: 14.6 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.01902, allocations: 0 / 342.7 MB, free: 14.6 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.117e-05/0.01904, allocations: 11.94 kB / 342.7 MB, free: 14.59 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.01905, allocations: 8 kB / 342.8 MB, free: 14.58 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003519/0.0194, allocations: 278.5 kB / 343 MB, free: 14.31 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001122/0.02052, allocations: 1.2 MB / 344.2 MB, free: 13.04 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004088/0.02093, allocations: 277.7 kB / 344.5 MB, free: 12.76 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002421/0.02117, allocations: 225.3 kB / 344.7 MB, free: 12.54 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001852/0.02302, allocations: 1.431 MB / 346.1 MB, free: 11.08 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002628/0.02329, allocations: 203.2 kB / 346.3 MB, free: 10.87 MB / 314.7 MB Notification: Performance of pre-optimization done (n=29): time 2.094e-06/0.02329, allocations: 7.984 kB / 346.4 MB, free: 10.86 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.0009171/0.02421, allocations: 0.5726 MB / 346.9 MB, free: 10.28 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/0.02424, allocations: 59.39 kB / 347 MB, free: 10.21 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005668/0.02481, allocations: 0.8068 MB / 347.8 MB, free: 9.383 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.02483, allocations: 33.7 kB / 347.8 MB, free: 9.344 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002483/0.02508, allocations: 452.7 kB / 348.3 MB, free: 8.898 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.448e-05/0.02513, allocations: 99.17 kB / 348.4 MB, free: 8.801 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.325e-05/0.0252, allocations: 69.98 kB / 348.4 MB, free: 8.727 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.311e-05/0.0253, allocations: 322 kB / 348.7 MB, free: 8.406 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001602/0.02546, allocations: 116.7 kB / 348.9 MB, free: 8.293 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002135/0.02567, allocations: 224.5 kB / 349.1 MB, free: 8.027 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003784/0.02605, allocations: 360.9 kB / 349.4 MB, free: 7.629 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.02605, allocations: 0 / 349.4 MB, free: 7.629 MB / 314.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005625/0.02661, allocations: 0.5255 MB / 350 MB, free: 7.09 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.02663, allocations: 4 kB / 350 MB, free: 7.086 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.323e-05/0.02666, allocations: 35.94 kB / 350 MB, free: 7.051 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001741/0.02684, allocations: 57.62 kB / 350.1 MB, free: 6.988 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/0.027, allocations: 76.3 kB / 350.1 MB, free: 6.914 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001343/0.02834, allocations: 2.599 MB / 352.7 MB, free: 4.105 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001505/0.02849, allocations: 43.72 kB / 352.8 MB, free: 4.062 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.815e-05/0.02852, allocations: 20 kB / 352.8 MB, free: 4.043 MB / 314.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.0001806/0.0287, allocations: 205.8 kB / 353 MB, free: 3.832 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.677e-05/0.02877, allocations: 111.3 kB / 353.1 MB, free: 3.723 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006279/0.0294, allocations: 484.9 kB / 353.6 MB, free: 3.234 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.0294, allocations: 7.984 kB / 353.6 MB, free: 3.227 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.0294, allocations: 0 / 353.6 MB, free: 3.227 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.02941, allocations: 0 / 353.6 MB, free: 3.227 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003299/0.02974, allocations: 462.5 kB / 354 MB, free: 2.746 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.951e-05/0.02977, allocations: 35.98 kB / 354.1 MB, free: 2.711 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001282/0.02989, allocations: 39.97 kB / 354.1 MB, free: 2.672 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.601e-05/0.02999, allocations: 49.69 kB / 354.2 MB, free: 2.617 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/0.03001, allocations: 11.92 kB / 354.2 MB, free: 2.605 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001174/0.03118, allocations: 2.591 MB / 356.8 MB, free: 15.81 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.03118, allocations: 4.062 kB / 356.8 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006698/0.03185, allocations: 0.6085 MB / 357.4 MB, free: 15.17 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.03197, allocations: 111.2 kB / 357.5 MB, free: 15.06 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.647e-05/0.032, allocations: 0 / 357.5 MB, free: 15.06 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.03211, allocations: 20.05 kB / 357.5 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.811e-05/0.03218, allocations: 27.95 kB / 357.5 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.0322, allocations: 15.98 kB / 357.5 MB, free: 15 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003968/0.0326, allocations: 0.5385 MB / 358.1 MB, free: 14.45 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0326, allocations: 3.938 kB / 358.1 MB, free: 14.45 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004025/0.033, allocations: 247.3 kB / 358.3 MB, free: 14.21 MB / 330.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.0004509/0.03345, allocations: 376.7 kB / 358.7 MB, free: 13.83 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006428/0.03409, allocations: 0.5621 MB / 359.3 MB, free: 13.24 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.03409, allocations: 0 / 359.3 MB, free: 13.24 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003219/0.03442, allocations: 430.9 kB / 359.7 MB, free: 12.79 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/0.03477, allocations: 110.9 kB / 359.8 MB, free: 12.68 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001512/0.03628, allocations: 1.503 MB / 361.3 MB, free: 11.13 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002114/0.0365, allocations: 365.2 kB / 361.6 MB, free: 10.74 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.416e-05/0.03656, allocations: 52.5 kB / 361.7 MB, free: 10.69 MB / 330.7 MB Notification: Performance of SimCode: time 4.2e-07/0.03656, allocations: 0 / 361.7 MB, free: 10.69 MB / 330.7 MB Notification: Performance of Templates: time 0.01187/0.04843, allocations: 18.01 MB / 379.7 MB, free: 8.668 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.90658927988261] Failed to read output from testmodel.py, exit status != 0: ['time', 'Q1.vbc', 'Q1.vbe'] 0.05450067762285471 0.061755168000000006 0.043630114000000005 Calling exit ...