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.001881/0.001881, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002155/0.002155, allocations: 214.2 kB / 23.73 MB, free: 4.16 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.434/1.434, allocations: 230.5 MB / 257.4 MB, free: 7.801 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.001943/0.001943, allocations: 63.91 kB / 377.7 MB, free: 2.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2285/0.2304, allocations: 53.41 MB / 431.1 MB, free: 6.469 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.005996/0.2364, allocations: 4.483 MB / 435.6 MB, free: 1.965 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01188/0.2483, allocations: 9.322 MB / 444.9 MB, free: 8.605 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006203/0.2489, allocations: 47.5 kB / 445 MB, free: 8.559 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00169/0.2506, allocations: 0.6161 MB / 445.6 MB, free: 7.941 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002629/0.2532, allocations: 1.024 MB / 446.6 MB, free: 6.906 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001543/0.2548, allocations: 0.6056 MB / 447.2 MB, free: 6.301 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002276/0.257, allocations: 1.39 MB / 448.6 MB, free: 4.906 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002603/0.2573, allocations: 109.8 kB / 448.7 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003915/0.2577, allocations: 298.6 kB / 449 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003834/0.2581, allocations: 309.8 kB / 449.3 MB, free: 4.188 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.553e-05/0.2581, allocations: 32 kB / 449.4 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001352/0.2595, allocations: 0.6673 MB / 450 MB, free: 3.488 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.2596, allocations: 107.3 kB / 450.1 MB, free: 3.383 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002989/0.2599, allocations: 302.1 kB / 450.4 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001686/0.2616, allocations: 1.284 MB / 451.7 MB, free: 1.797 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/0.2616, allocations: 4 kB / 451.7 MB, free: 1.793 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2616, allocations: 4 kB / 451.7 MB, free: 1.789 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.146e-05/0.2616, allocations: 0 / 451.7 MB, free: 1.789 MB / 350.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.002042/0.2636, allocations: 1.278 MB / 453 MB, free: 488 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/0.2637, allocations: 15.98 kB / 453 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.945e-05/0.2638, allocations: 70.66 kB / 453.1 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001421/0.2639, allocations: 120.2 kB / 453.2 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001178/0.2651, allocations: 0.6839 MB / 453.9 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/0.2651, allocations: 20.66 kB / 453.9 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.099e-05/0.2652, allocations: 28 kB / 453.9 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006423/0.2658, allocations: 318 kB / 454.2 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.2658, allocations: 0 / 454.2 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.004e-05/0.2659, allocations: 8 kB / 454.2 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/0.2659, allocations: 12 kB / 454.3 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006616/0.2665, allocations: 278.5 kB / 454.5 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001979/0.2685, allocations: 1.268 MB / 455.8 MB, free: 13.53 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006867/0.2692, allocations: 258.7 kB / 456.1 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004147/0.2696, allocations: 221.3 kB / 456.3 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002859/0.2725, allocations: 1.327 MB / 457.6 MB, free: 11.7 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004496/0.2729, allocations: 206.3 kB / 457.8 MB, free: 11.49 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 2.054e-06/0.2729, allocations: 7.938 kB / 457.8 MB, free: 11.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.001461/0.2744, allocations: 0.5561 MB / 458.4 MB, free: 10.91 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.2744, allocations: 59.41 kB / 458.4 MB, free: 10.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009539/0.2754, allocations: 0.8111 MB / 459.2 MB, free: 10.02 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.425e-05/0.2754, allocations: 33.7 kB / 459.3 MB, free: 9.977 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003967/0.2758, allocations: 441 kB / 459.7 MB, free: 9.543 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.963e-05/0.2759, allocations: 123 kB / 459.8 MB, free: 9.422 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001176/0.276, allocations: 65.98 kB / 459.9 MB, free: 9.352 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.2762, allocations: 325.9 kB / 460.2 MB, free: 9.027 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003213/0.2765, allocations: 124.7 kB / 460.3 MB, free: 8.906 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000388/0.2769, allocations: 218.5 kB / 460.5 MB, free: 8.656 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001643/0.2785, allocations: 0.7117 MB / 461.2 MB, free: 7.902 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.2785, allocations: 0 / 461.2 MB, free: 7.902 MB / 366.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.000992/0.2795, allocations: 0.5026 MB / 461.7 MB, free: 7.391 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.2795, allocations: 11.98 kB / 461.8 MB, free: 7.379 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-05/0.2796, allocations: 40 kB / 461.8 MB, free: 7.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001212/0.2797, allocations: 24.84 kB / 461.8 MB, free: 7.312 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003816/0.2801, allocations: 100.1 kB / 461.9 MB, free: 7.215 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00121/0.2813, allocations: 1.334 MB / 463.3 MB, free: 5.758 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003056/0.2816, allocations: 43.7 kB / 463.3 MB, free: 5.715 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.849e-05/0.2817, allocations: 20 kB / 463.3 MB, free: 5.695 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.0003199/0.282, allocations: 221.1 kB / 463.5 MB, free: 5.477 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001243/0.2821, allocations: 111.3 kB / 463.6 MB, free: 5.367 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001103/0.2832, allocations: 496.3 kB / 464.1 MB, free: 4.871 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.2832, allocations: 4 kB / 464.1 MB, free: 4.867 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.285e-06/0.2832, allocations: 0 / 464.1 MB, free: 4.867 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.2832, allocations: 7.922 kB / 464.1 MB, free: 4.859 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006091/0.2838, allocations: 0.5028 MB / 464.6 MB, free: 4.316 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.007e-05/0.2839, allocations: 32 kB / 464.7 MB, free: 4.285 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003542/0.2842, allocations: 55.94 kB / 464.7 MB, free: 4.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.374e-05/0.2843, allocations: 36.78 kB / 464.8 MB, free: 4.191 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.691e-05/0.2844, allocations: 8 kB / 464.8 MB, free: 4.184 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001104/0.2855, allocations: 1.326 MB / 466.1 MB, free: 2.742 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.2855, allocations: 3.938 kB / 466.1 MB, free: 2.738 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001256/0.2867, allocations: 0.6226 MB / 466.7 MB, free: 2.094 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002308/0.2869, allocations: 111.2 kB / 466.8 MB, free: 1.984 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.33e-05/0.287, allocations: 4 kB / 466.8 MB, free: 1.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002473/0.2873, allocations: 19.97 kB / 466.9 MB, free: 1.961 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.239e-05/0.2874, allocations: 31.89 kB / 466.9 MB, free: 1.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.446e-05/0.2874, allocations: 11.94 kB / 466.9 MB, free: 1.918 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006865/0.2881, allocations: 0.5465 MB / 467.4 MB, free: 1.363 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2881, allocations: 0 / 467.4 MB, free: 1.363 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006015/0.2887, allocations: 247.4 kB / 467.7 MB, free: 1.121 MB / 366.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.002075/0.2907, allocations: 1.414 MB / 469.1 MB, free: 15.67 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009738/0.2917, allocations: 473.1 kB / 469.6 MB, free: 15.19 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.2917, allocations: 0 / 469.6 MB, free: 15.19 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005464/0.2923, allocations: 324.9 kB / 469.9 MB, free: 14.86 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005494/0.2928, allocations: 112.3 kB / 470 MB, free: 14.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008671/0.3015, allocations: 5.927 MB / 475.9 MB, free: 8.625 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003582/0.3018, allocations: 365.7 kB / 476.3 MB, free: 8.234 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002637/0.3021, allocations: 85.19 kB / 476.4 MB, free: 8.152 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003707/0.3025, allocations: 315.3 kB / 476.7 MB, free: 7.844 MB / 382.1 MB Notification: Performance of SimCode: time 7.81e-07/0.3025, allocations: 0 / 476.7 MB, free: 7.844 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05192/0.3544, allocations: 18.38 MB / 495 MB, free: 5.609 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.2/12.55, allocations: 4.062 kB / 495 MB, free: 5.605 MB / 398.1 MB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter_res.csv --start-time 0 --stop-time 1e-07 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 1.001e-10 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: 14.98691568383947] Failed to read output from testmodel.py, exit status != 0: ['time', 'Q1.vbc', 'Q1.vbe'] 12.683546387590468 12.703491705 12.438697241 Calling exit ...