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.000715/0.000715, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003176/0.003176, allocations: 158.7 kB / 24.7 MB, free: 9.441 MB / 18.57 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.845/0.845, allocations: 177 MB / 204.9 MB, free: 5.746 MB / 186.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=999,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=999,variableFilter="time|Q1.vbc|Q1.vbe",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.955e-05/2.089e-05, allocations: 3.266 kB / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.003723/0.003744, allocations: 4.492 MB / 330.3 MB, free: 10.86 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006919/0.01066, allocations: 9.329 MB / 339.6 MB, free: 1.488 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003909/0.01105, allocations: 39.56 kB / 339.6 MB, free: 1.449 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000986/0.01204, allocations: 0.6182 MB / 340.3 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001501/0.01354, allocations: 1.055 MB / 341.3 MB, free: 15.76 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008018/0.01434, allocations: 0.6133 MB / 341.9 MB, free: 15.14 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001216/0.01556, allocations: 1.432 MB / 343.4 MB, free: 13.71 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001685/0.01573, allocations: 117.7 kB / 343.5 MB, free: 13.58 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005757/0.0163, allocations: 418.8 kB / 343.9 MB, free: 13.17 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000197/0.0165, allocations: 219.2 kB / 344.1 MB, free: 12.96 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.717e-05/0.01654, allocations: 35.94 kB / 344.1 MB, free: 12.92 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007324/0.01727, allocations: 0.6634 MB / 344.8 MB, free: 12.26 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.451e-05/0.01733, allocations: 119.2 kB / 344.9 MB, free: 12.14 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001551/0.01749, allocations: 223.3 kB / 345.1 MB, free: 11.92 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009951/0.01848, allocations: 1.332 MB / 346.5 MB, free: 10.59 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.01849, allocations: 0 / 346.5 MB, free: 10.59 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.01849, allocations: 0 / 346.5 MB, free: 10.59 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.386e-06/0.0185, allocations: 0 / 346.5 MB, free: 10.59 MB / 314.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.001133/0.01963, allocations: 1.27 MB / 347.7 MB, free: 9.281 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.01967, allocations: 11.98 kB / 347.7 MB, free: 9.27 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001133/0.01978, allocations: 124.2 kB / 347.9 MB, free: 9.148 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006568/0.02044, allocations: 0.6754 MB / 348.5 MB, free: 8.422 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.02045, allocations: 21.03 kB / 348.6 MB, free: 8.402 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.129e-05/0.02049, allocations: 32.36 kB / 348.6 MB, free: 8.371 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003776/0.02087, allocations: 322 kB / 348.9 MB, free: 8.047 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.02088, allocations: 0 / 348.9 MB, free: 8.047 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.352e-05/0.02091, allocations: 19.97 kB / 348.9 MB, free: 8.027 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.02091, allocations: 8 kB / 348.9 MB, free: 8.02 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003479/0.02126, allocations: 278.4 kB / 349.2 MB, free: 7.75 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.02239, allocations: 1.207 MB / 350.4 MB, free: 6.473 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000392/0.02278, allocations: 270.6 kB / 350.7 MB, free: 6.199 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002283/0.02301, allocations: 216.7 kB / 350.9 MB, free: 5.984 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001805/0.02481, allocations: 1.314 MB / 352.2 MB, free: 4.648 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002438/0.02506, allocations: 203.2 kB / 352.4 MB, free: 4.438 MB / 314.7 MB Notification: Performance of pre-optimization done (n=32): time 1.222e-06/0.02506, allocations: 0 / 352.4 MB, free: 4.438 MB / 314.7 MB Notification: Performance of matching and sorting (n=32): time 0.0008094/0.02587, allocations: 0.5616 MB / 353 MB, free: 3.867 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/0.0259, allocations: 55.41 kB / 353 MB, free: 3.801 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005488/0.02645, allocations: 0.8025 MB / 353.8 MB, free: 2.98 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.02647, allocations: 37.69 kB / 353.9 MB, free: 2.938 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002273/0.02669, allocations: 436.8 kB / 354.3 MB, free: 2.508 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.891e-05/0.02675, allocations: 111 kB / 354.4 MB, free: 2.398 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.981e-05/0.02682, allocations: 73.98 kB / 354.5 MB, free: 2.32 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.53e-05/0.0269, allocations: 321.9 kB / 354.8 MB, free: 2 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001577/0.02706, allocations: 124.8 kB / 354.9 MB, free: 1.875 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002008/0.02726, allocations: 219 kB / 355.1 MB, free: 1.625 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008652/0.02812, allocations: 0.7128 MB / 355.8 MB, free: 0.875 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.02812, allocations: 0 / 355.8 MB, free: 0.875 MB / 314.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.000531/0.02866, allocations: 0.5217 MB / 356.3 MB, free: 352 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.02867, allocations: 8 kB / 356.4 MB, free: 344 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.11e-05/0.0287, allocations: 32 kB / 356.4 MB, free: 312 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.761e-05/0.02879, allocations: 32.84 kB / 356.4 MB, free: 276 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000172/0.02896, allocations: 84.22 kB / 356.5 MB, free: 192 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007043/0.02967, allocations: 1.315 MB / 357.8 MB, free: 14.76 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001578/0.02982, allocations: 51.66 kB / 357.9 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.64e-05/0.02985, allocations: 19.98 kB / 357.9 MB, free: 14.69 MB / 330.7 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.000468/0.03032, allocations: 197.8 kB / 358.1 MB, free: 14.49 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.274e-05/0.03038, allocations: 111.3 kB / 358.2 MB, free: 14.38 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005857/0.03097, allocations: 0.492 MB / 358.7 MB, free: 13.88 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.03097, allocations: 4 kB / 358.7 MB, free: 13.88 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.758e-06/0.03097, allocations: 4 kB / 358.7 MB, free: 13.87 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.03098, allocations: 0 / 358.7 MB, free: 13.87 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003409/0.03132, allocations: 462.5 kB / 359.1 MB, free: 13.39 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.589e-05/0.03134, allocations: 35.98 kB / 359.2 MB, free: 13.36 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001561/0.0315, allocations: 63.84 kB / 359.2 MB, free: 13.29 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.659e-05/0.03156, allocations: 32.77 kB / 359.3 MB, free: 13.26 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.372e-05/0.03158, allocations: 15.98 kB / 359.3 MB, free: 13.24 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000587/0.03217, allocations: 1.3 MB / 360.6 MB, free: 11.84 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.03217, allocations: 0 / 360.6 MB, free: 11.84 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006285/0.0328, allocations: 0.611 MB / 361.2 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.0329, allocations: 111.3 kB / 361.3 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.802e-05/0.03294, allocations: 7.984 kB / 361.3 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.03305, allocations: 15.98 kB / 361.3 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.339e-05/0.03311, allocations: 31.89 kB / 361.4 MB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.646e-05/0.03313, allocations: 8 kB / 361.4 MB, free: 11.04 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003795/0.03351, allocations: 0.5383 MB / 361.9 MB, free: 10.49 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03351, allocations: 0 / 361.9 MB, free: 10.49 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003674/0.03387, allocations: 251.2 kB / 362.1 MB, free: 10.24 MB / 330.7 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.0004225/0.0343, allocations: 380.9 kB / 362.5 MB, free: 9.863 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005659/0.03486, allocations: 481.6 kB / 363 MB, free: 9.375 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.03486, allocations: 0 / 363 MB, free: 9.375 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002563/0.03512, allocations: 320.1 kB / 363.3 MB, free: 9.043 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/0.03545, allocations: 113 kB / 363.4 MB, free: 8.93 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001638/0.03709, allocations: 1.624 MB / 365 MB, free: 7.266 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005248/0.03762, allocations: 361.9 kB / 365.4 MB, free: 6.879 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.731e-05/0.03768, allocations: 48.5 kB / 365.4 MB, free: 6.832 MB / 330.7 MB Notification: Performance of SimCode: time 3.91e-07/0.03768, allocations: 0 / 365.4 MB, free: 6.832 MB / 330.7 MB Notification: Performance of Templates: time 0.01132/0.049, allocations: 14.5 MB / 379.9 MB, free: 8.324 MB / 346.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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.669359378516674] Failed to read output from testmodel.py, exit status != 0: ['time', 'Q1.vbc', 'Q1.vbe'] 0.05752188991755247 0.066400872 0.04594767 Calling exit ...