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.0009419/0.0009419, allocations: 80.36 kB / 20.67 MB, free: 3.891 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.0008409/0.0008409, allocations: 160.9 kB / 23.95 MB, free: 0.6133 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.8921/0.8921, allocations: 177 MB / 204.1 MB, free: 5.73 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: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.223e-06/1.223e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.296e-06/9.519e-06, allocations: 2.281 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.003809/0.003819, allocations: 4.48 MB / 329 MB, free: 11.38 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006732/0.01055, allocations: 9.329 MB / 338.3 MB, free: 2.008 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002611/0.01081, allocations: 43.56 kB / 338.4 MB, free: 1.965 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009396/0.01175, allocations: 0.6259 MB / 339 MB, free: 1.336 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001328/0.01308, allocations: 1.062 MB / 340.1 MB, free: 268 kB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000777/0.01386, allocations: 0.6094 MB / 340.7 MB, free: 15.65 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001164/0.01502, allocations: 1.425 MB / 342.1 MB, free: 14.22 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001653/0.01518, allocations: 117.7 kB / 342.2 MB, free: 14.09 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005535/0.01574, allocations: 418.8 kB / 342.6 MB, free: 13.68 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002005/0.01594, allocations: 231.1 kB / 342.8 MB, free: 13.46 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.754e-05/0.01598, allocations: 32 kB / 342.9 MB, free: 13.43 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006933/0.01667, allocations: 0.6634 MB / 343.5 MB, free: 12.76 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.19e-05/0.01673, allocations: 107.3 kB / 343.6 MB, free: 12.66 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001469/0.01688, allocations: 219.3 kB / 343.9 MB, free: 12.44 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009316/0.01781, allocations: 1.335 MB / 345.2 MB, free: 11.1 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.01781, allocations: 4 kB / 345.2 MB, free: 11.1 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.01781, allocations: 0 / 345.2 MB, free: 11.1 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.01782, allocations: 0 / 345.2 MB, free: 11.1 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.001153/0.01897, allocations: 1.278 MB / 346.5 MB, free: 9.785 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.01901, allocations: 15.98 kB / 346.5 MB, free: 9.77 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.104e-05/0.01906, allocations: 62.72 kB / 346.5 MB, free: 9.699 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.358e-05/0.01915, allocations: 124.2 kB / 346.7 MB, free: 9.578 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006758/0.01983, allocations: 0.6716 MB / 347.3 MB, free: 8.855 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.853e-05/0.01985, allocations: 21.03 kB / 347.4 MB, free: 8.836 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.986e-05/0.01989, allocations: 28.12 kB / 347.4 MB, free: 8.809 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003808/0.02027, allocations: 321.9 kB / 347.7 MB, free: 8.484 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.02028, allocations: 0 / 347.7 MB, free: 8.484 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.268e-05/0.0203, allocations: 16 kB / 347.7 MB, free: 8.469 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.02031, allocations: 4 kB / 347.7 MB, free: 8.465 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003619/0.02067, allocations: 282.4 kB / 348 MB, free: 8.191 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001166/0.02184, allocations: 1.273 MB / 349.3 MB, free: 6.836 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004001/0.02224, allocations: 270.6 kB / 349.5 MB, free: 6.562 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005032/0.02274, allocations: 208.8 kB / 349.7 MB, free: 6.355 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001593/0.02433, allocations: 1.319 MB / 351.1 MB, free: 5.016 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002618/0.0246, allocations: 207.1 kB / 351.3 MB, free: 4.801 MB / 314.7 MB Notification: Performance of pre-optimization done (n=32): time 1.432e-06/0.0246, allocations: 0 / 351.3 MB, free: 4.801 MB / 314.7 MB Notification: Performance of matching and sorting (n=32): time 0.0008277/0.02543, allocations: 0.5484 MB / 351.8 MB, free: 4.242 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/0.02546, allocations: 55.41 kB / 351.9 MB, free: 4.176 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005685/0.02603, allocations: 0.815 MB / 352.7 MB, free: 3.344 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.02604, allocations: 33.64 kB / 352.7 MB, free: 3.305 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002338/0.02628, allocations: 440.9 kB / 353.1 MB, free: 2.871 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.031e-05/0.02634, allocations: 115.1 kB / 353.3 MB, free: 2.758 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.61e-05/0.02642, allocations: 74.02 kB / 353.3 MB, free: 2.68 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.644e-05/0.02649, allocations: 322 kB / 353.6 MB, free: 2.359 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001623/0.02665, allocations: 120.7 kB / 353.8 MB, free: 2.238 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000208/0.02686, allocations: 215 kB / 354 MB, free: 1.992 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009027/0.02776, allocations: 0.7245 MB / 354.7 MB, free: 1.23 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.02777, allocations: 0 / 354.7 MB, free: 1.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0005277/0.02829, allocations: 0.5178 MB / 355.2 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.02831, allocations: 8.375 kB / 355.2 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.179e-05/0.02834, allocations: 40 kB / 355.3 MB, free: 0.6562 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.768e-05/0.02843, allocations: 32.83 kB / 355.3 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001767/0.0286, allocations: 79.89 kB / 355.4 MB, free: 0.543 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009673/0.02957, allocations: 1.342 MB / 356.7 MB, free: 15.08 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001557/0.02973, allocations: 43.78 kB / 356.8 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.73e-05/0.02975, allocations: 20 kB / 356.8 MB, free: 15.02 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.0002041/0.02996, allocations: 210.4 kB / 357 MB, free: 14.8 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.357e-05/0.03002, allocations: 111.3 kB / 357.1 MB, free: 14.69 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005972/0.03062, allocations: 0.4892 MB / 357.6 MB, free: 14.2 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.03062, allocations: 4 kB / 357.6 MB, free: 14.19 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.03062, allocations: 0 / 357.6 MB, free: 14.19 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.03063, allocations: 0 / 357.6 MB, free: 14.19 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003681/0.031, allocations: 0.5067 MB / 358.1 MB, free: 13.64 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.528e-05/0.03102, allocations: 36 kB / 358.1 MB, free: 13.61 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001636/0.03119, allocations: 59.83 kB / 358.2 MB, free: 13.55 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.471e-05/0.03124, allocations: 36.77 kB / 358.2 MB, free: 13.51 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.878e-05/0.03126, allocations: 12 kB / 358.2 MB, free: 13.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005917/0.03185, allocations: 1.326 MB / 359.6 MB, free: 12.06 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.03185, allocations: 4.062 kB / 359.6 MB, free: 12.05 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006624/0.03251, allocations: 0.6149 MB / 360.2 MB, free: 11.42 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001148/0.03263, allocations: 115.2 kB / 360.3 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.056e-05/0.03268, allocations: 4 kB / 360.3 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.03279, allocations: 15.98 kB / 360.3 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.251e-05/0.03286, allocations: 27.95 kB / 360.3 MB, free: 11.26 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-05/0.03287, allocations: 12 kB / 360.3 MB, free: 11.25 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003959/0.03327, allocations: 0.5504 MB / 360.9 MB, free: 10.69 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.03327, allocations: 0 / 360.9 MB, free: 10.69 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003525/0.03362, allocations: 231.4 kB / 361.1 MB, free: 10.46 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.001207/0.03483, allocations: 1.441 MB / 362.6 MB, free: 8.988 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005594/0.03539, allocations: 474 kB / 363 MB, free: 8.508 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.03539, allocations: 0 / 363 MB, free: 8.508 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000265/0.03566, allocations: 308.2 kB / 363.3 MB, free: 8.188 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003456/0.036, allocations: 120.4 kB / 363.4 MB, free: 8.066 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005466/0.04147, allocations: 5.867 MB / 369.3 MB, free: 1.988 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001978/0.04167, allocations: 365.7 kB / 369.7 MB, free: 1.598 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001519/0.04182, allocations: 81.2 kB / 369.7 MB, free: 1.516 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002249/0.04204, allocations: 316.4 kB / 370.1 MB, free: 1.207 MB / 330.7 MB Notification: Performance of SimCode: time 5.61e-07/0.04204, allocations: 0 / 370.1 MB, free: 1.207 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03195/0.07399, allocations: 18.53 MB / 388.6 MB, free: 14.82 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.539/7.613, allocations: 3.266 kB / 388.6 MB, free: 14.82 MB / 362.7 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter_fmu --startTime=0 --stopTime=1e-07 --stepSize=1.001e-10 --timeout=50 --tolerance=1e-08 Modelica_trunk_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter.fmu > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.248803505674005] Failed to read output from testmodel.py, exit status != 0: ['time', 'Q1.vbc', 'Q1.vbe'] 7.707229889929295 7.716566747 7.69682312 Calling exit ...