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.001669/0.001669, allocations: 116.7 kB / 20.44 MB, free: 1.324 MB / 14.72 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.001447/0.001447, allocations: 205 kB / 23.74 MB, free: 4.551 MB / 14.72 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 1.441/1.441, allocations: 230.5 MB / 257.4 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] 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 0.00188/0.00188, allocations: 63.84 kB / 377.8 MB, free: 3.023 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.287/0.2888, allocations: 53.4 MB / 431.2 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.006957/0.2958, allocations: 5.132 MB / 436.3 MB, free: 1.566 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0134/0.3092, allocations: 10.86 MB / 447.2 MB, free: 6.664 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007535/0.31, allocations: 47.5 kB / 447.2 MB, free: 6.617 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001992/0.3119, allocations: 0.6939 MB / 447.9 MB, free: 5.922 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003105/0.315, allocations: 1.036 MB / 448.9 MB, free: 4.875 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001627/0.3167, allocations: 0.6098 MB / 449.5 MB, free: 4.266 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002363/0.319, allocations: 1.382 MB / 450.9 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002842/0.3193, allocations: 117.8 kB / 451 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005011/0.3198, allocations: 298.6 kB / 451.3 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004246/0.3202, allocations: 325.8 kB / 451.7 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.096e-05/0.3203, allocations: 32 kB / 451.7 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001645/0.322, allocations: 0.7531 MB / 452.4 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.804e-05/0.3221, allocations: 103.3 kB / 452.5 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000377/0.3224, allocations: 405.4 kB / 452.9 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001695/0.3241, allocations: 1.276 MB / 454.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3241, allocations: 0 / 454.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3241, allocations: 0 / 454.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.137e-05/0.3241, allocations: 0 / 454.2 MB, free: 15.57 MB / 366.1 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.001991/0.3261, allocations: 1.286 MB / 455.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.3262, allocations: 8.031 kB / 455.5 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.795e-05/0.3263, allocations: 62.72 kB / 455.6 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001417/0.3264, allocations: 132.1 kB / 455.7 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001113/0.3275, allocations: 0.676 MB / 456.4 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.945e-05/0.3275, allocations: 24.59 kB / 456.4 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.429e-05/0.3276, allocations: 24 kB / 456.4 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006208/0.3282, allocations: 322 kB / 456.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.3282, allocations: 0 / 456.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.215e-05/0.3283, allocations: 12 kB / 456.7 MB, free: 12.94 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.593e-05/0.3283, allocations: 11.98 kB / 456.8 MB, free: 12.93 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006372/0.3289, allocations: 278.4 kB / 457 MB, free: 12.66 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002002/0.3309, allocations: 1.323 MB / 458.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006616/0.3316, allocations: 282.5 kB / 458.6 MB, free: 10.97 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003987/0.332, allocations: 213.4 kB / 458.8 MB, free: 10.76 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002813/0.3348, allocations: 1.346 MB / 460.2 MB, free: 9.387 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004469/0.3352, allocations: 214.3 kB / 460.4 MB, free: 9.168 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 1.824e-06/0.3352, allocations: 0 / 460.4 MB, free: 9.168 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.001348/0.3366, allocations: 0.557 MB / 460.9 MB, free: 8.602 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.956e-05/0.3366, allocations: 59.39 kB / 461 MB, free: 8.531 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009139/0.3376, allocations: 0.8033 MB / 461.8 MB, free: 7.711 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.442e-05/0.3376, allocations: 33.7 kB / 461.8 MB, free: 7.672 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003816/0.338, allocations: 445 kB / 462.3 MB, free: 7.234 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/0.3381, allocations: 119 kB / 462.4 MB, free: 7.117 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.3382, allocations: 69.98 kB / 462.5 MB, free: 7.043 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.3383, allocations: 325.9 kB / 462.8 MB, free: 6.719 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002852/0.3386, allocations: 124.7 kB / 462.9 MB, free: 6.598 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003615/0.339, allocations: 214.5 kB / 463.1 MB, free: 6.352 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001575/0.3406, allocations: 0.7082 MB / 463.8 MB, free: 5.602 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3406, allocations: 0 / 463.8 MB, free: 5.602 MB / 366.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009377/0.3415, allocations: 0.5178 MB / 464.3 MB, free: 5.074 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.3415, allocations: 4 kB / 464.3 MB, free: 5.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.237e-05/0.3416, allocations: 43.98 kB / 464.4 MB, free: 5.027 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001293/0.3417, allocations: 33.22 kB / 464.4 MB, free: 4.992 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003504/0.3421, allocations: 91.75 kB / 464.5 MB, free: 4.902 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001173/0.3432, allocations: 1.334 MB / 465.8 MB, free: 3.445 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002864/0.3435, allocations: 47.69 kB / 465.9 MB, free: 3.398 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.994e-05/0.3436, allocations: 20 kB / 465.9 MB, free: 3.379 MB / 366.1 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.0003111/0.3439, allocations: 209.3 kB / 466.1 MB, free: 3.168 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/0.344, allocations: 115.3 kB / 466.2 MB, free: 3.055 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001057/0.345, allocations: 492.3 kB / 466.7 MB, free: 2.562 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.345, allocations: 4 kB / 466.7 MB, free: 2.559 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.345, allocations: 0 / 466.7 MB, free: 2.559 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.3451, allocations: 3.938 kB / 466.7 MB, free: 2.555 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006623/0.3457, allocations: 0.5492 MB / 467.3 MB, free: 1.965 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.306e-05/0.3458, allocations: 36 kB / 467.3 MB, free: 1.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003049/0.3461, allocations: 55.94 kB / 467.4 MB, free: 1.875 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.938e-05/0.3462, allocations: 32.78 kB / 467.4 MB, free: 1.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.831e-05/0.3462, allocations: 12 kB / 467.4 MB, free: 1.828 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001107/0.3473, allocations: 1.334 MB / 468.7 MB, free: 388 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3473, allocations: 3.938 kB / 468.7 MB, free: 384 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001193/0.3485, allocations: 0.6189 MB / 469.4 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002151/0.3487, allocations: 103.3 kB / 469.5 MB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.993e-05/0.3488, allocations: 8 kB / 469.5 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002214/0.349, allocations: 19.98 kB / 469.5 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.481e-05/0.3491, allocations: 27.95 kB / 469.5 MB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.357e-05/0.3491, allocations: 8 kB / 469.5 MB, free: 15.57 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006914/0.3498, allocations: 0.5504 MB / 470.1 MB, free: 15.01 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3498, allocations: 7.938 kB / 470.1 MB, free: 15 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006376/0.3504, allocations: 247.3 kB / 470.3 MB, free: 14.76 MB / 382.1 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.002111/0.3526, allocations: 1.414 MB / 471.7 MB, free: 13.31 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009649/0.3535, allocations: 465.9 kB / 472.2 MB, free: 12.84 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3535, allocations: 0 / 472.2 MB, free: 12.84 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005093/0.354, allocations: 312.2 kB / 472.5 MB, free: 12.52 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005557/0.3546, allocations: 116.3 kB / 472.6 MB, free: 12.4 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008725/0.3633, allocations: 5.938 MB / 478.5 MB, free: 6.27 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000606/0.3639, allocations: 0.9525 MB / 479.5 MB, free: 5.289 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002566/0.3642, allocations: 85.2 kB / 479.6 MB, free: 5.207 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003865/0.3646, allocations: 315.3 kB / 479.9 MB, free: 4.898 MB / 382.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3646, allocations: 0 / 479.9 MB, free: 4.898 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06032/0.4249, allocations: 17.79 MB / 497.7 MB, free: 3.227 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.36/13.78, allocations: 20.06 kB / 497.7 MB, free: 3.211 MB / 398.1 MB " [Timeout remaining time 646] (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: 16.156772663118318] Failed to read output from testmodel.py, exit status != 0: ['time', 'Q1.vbc', 'Q1.vbe'] 13.898749830201268 13.915518193 13.588008783 Calling exit ...