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.001439/0.001439, allocations: 103.9 kB / 21.21 MB, free: 0.6289 MB / 14.72 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.001696/0.001696, allocations: 188.8 kB / 24.49 MB, free: 3.941 MB / 14.72 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 1.33/1.33, allocations: 225.7 MB / 253.3 MB, free: 12.82 MB / 206.1 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: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 43.92 kB / 371.2 MB, free: 9.688 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2331/0.2345, allocations: 52.19 MB / 423.4 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.005651/0.2401, allocations: 4.47 MB / 427.8 MB, free: 9.898 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0111/0.2512, allocations: 9.283 MB / 437.1 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000627/0.2518, allocations: 47.5 kB / 437.2 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001553/0.2534, allocations: 0.6165 MB / 437.8 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002401/0.2558, allocations: 1.02 MB / 438.8 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001287/0.2571, allocations: 0.598 MB / 439.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002029/0.2591, allocations: 1.374 MB / 440.8 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002319/0.2593, allocations: 117.8 kB / 440.9 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003506/0.2597, allocations: 302.5 kB / 441.2 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000374/0.2601, allocations: 326 kB / 441.5 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.39e-05/0.2601, allocations: 32 kB / 441.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001248/0.2614, allocations: 0.6908 MB / 442.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.2615, allocations: 107.3 kB / 442.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003002/0.2618, allocations: 302 kB / 442.6 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001553/0.2633, allocations: 1.288 MB / 443.9 MB, free: 9.738 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.2634, allocations: 4 kB / 443.9 MB, free: 9.734 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2634, allocations: 4 kB / 443.9 MB, free: 9.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.2634, allocations: 0 / 443.9 MB, free: 9.73 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.00187/0.2652, allocations: 1.282 MB / 445.2 MB, free: 8.414 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.2653, allocations: 15.97 kB / 445.2 MB, free: 8.398 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.128e-05/0.2653, allocations: 8.844 kB / 445.2 MB, free: 8.391 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.765e-05/0.2654, allocations: 62.72 kB / 445.3 MB, free: 8.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001394/0.2655, allocations: 120.2 kB / 445.4 MB, free: 8.203 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/0.2666, allocations: 0.6913 MB / 446.1 MB, free: 7.465 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.755e-05/0.2666, allocations: 16.66 kB / 446.1 MB, free: 7.449 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.198e-05/0.2667, allocations: 28 kB / 446.1 MB, free: 7.422 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006535/0.2673, allocations: 325.9 kB / 446.4 MB, free: 7.098 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.2674, allocations: 0 / 446.4 MB, free: 7.098 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.299e-05/0.2674, allocations: 8 kB / 446.5 MB, free: 7.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.508e-05/0.2674, allocations: 11.98 kB / 446.5 MB, free: 7.078 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006387/0.268, allocations: 278.5 kB / 446.7 MB, free: 6.809 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001981/0.27, allocations: 1.256 MB / 448 MB, free: 5.469 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006892/0.2707, allocations: 278.5 kB / 448.3 MB, free: 5.188 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004229/0.2711, allocations: 212.8 kB / 448.5 MB, free: 4.977 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003284/0.2744, allocations: 1.444 MB / 449.9 MB, free: 3.508 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004142/0.2748, allocations: 191.3 kB / 450.1 MB, free: 3.309 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 2.094e-06/0.2748, allocations: 0 / 450.1 MB, free: 3.309 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.00149/0.2763, allocations: 0.582 MB / 450.7 MB, free: 2.715 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.2764, allocations: 55.39 kB / 450.7 MB, free: 2.648 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009072/0.2773, allocations: 0.8153 MB / 451.6 MB, free: 1.816 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.193e-05/0.2773, allocations: 37.69 kB / 451.6 MB, free: 1.773 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000361/0.2777, allocations: 444.9 kB / 452 MB, free: 1.336 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.217e-05/0.2778, allocations: 107.1 kB / 452.1 MB, free: 1.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/0.2779, allocations: 69.97 kB / 452.2 MB, free: 1.156 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.278, allocations: 326 kB / 452.5 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002768/0.2783, allocations: 112.7 kB / 452.6 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003565/0.2787, allocations: 239.9 kB / 452.9 MB, free: 456 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006323/0.2793, allocations: 357.5 kB / 453.2 MB, free: 52 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.2793, allocations: 0 / 453.2 MB, free: 52 kB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009649/0.2803, allocations: 0.5331 MB / 453.7 MB, free: 15.5 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.2803, allocations: 4.438 kB / 453.7 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-05/0.2803, allocations: 40 kB / 453.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002265/0.2806, allocations: 53.67 kB / 453.8 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002847/0.2808, allocations: 71.89 kB / 453.9 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002141/0.283, allocations: 2.642 MB / 456.6 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002947/0.2833, allocations: 43.7 kB / 456.6 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.09e-05/0.2833, allocations: 20 kB / 456.6 MB, free: 12.39 MB / 366.1 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.0002614/0.2836, allocations: 205.7 kB / 456.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.2837, allocations: 107.3 kB / 456.9 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001041/0.2847, allocations: 489.8 kB / 457.4 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-06/0.2847, allocations: 8 kB / 457.4 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.2847, allocations: 4 kB / 457.4 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.2848, allocations: 3.984 kB / 457.4 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005672/0.2853, allocations: 0.4988 MB / 457.9 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.572e-05/0.2854, allocations: 36.03 kB / 457.9 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002361/0.2856, allocations: 43.89 kB / 458 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001454/0.2857, allocations: 45.69 kB / 458 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.077e-05/0.2858, allocations: 15.98 kB / 458 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002152/0.2879, allocations: 2.645 MB / 460.7 MB, free: 8.008 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2879, allocations: 0 / 460.7 MB, free: 8.008 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001213/0.2891, allocations: 0.6002 MB / 461.3 MB, free: 7.383 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002008/0.2893, allocations: 107.3 kB / 461.4 MB, free: 7.277 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.814e-05/0.2894, allocations: 4 kB / 461.4 MB, free: 7.273 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002212/0.2896, allocations: 15.97 kB / 461.4 MB, free: 7.258 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.451e-05/0.2897, allocations: 27.95 kB / 461.4 MB, free: 7.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.982e-05/0.2898, allocations: 16 kB / 461.5 MB, free: 7.215 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000676/0.2904, allocations: 0.5506 MB / 462 MB, free: 6.656 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2904, allocations: 0 / 462 MB, free: 6.656 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006476/0.2911, allocations: 251.4 kB / 462.3 MB, free: 6.41 MB / 366.1 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.001989/0.2931, allocations: 1.407 MB / 463.7 MB, free: 4.965 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001043/0.2941, allocations: 0.5698 MB / 464.2 MB, free: 4.363 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2941, allocations: 64 / 464.2 MB, free: 4.363 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005826/0.2947, allocations: 420.8 kB / 464.6 MB, free: 3.922 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004984/0.2952, allocations: 108.3 kB / 464.8 MB, free: 3.816 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00789/0.3031, allocations: 5.807 MB / 470.6 MB, free: 13.78 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003596/0.3035, allocations: 369.3 kB / 470.9 MB, free: 13.39 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002368/0.3037, allocations: 81.2 kB / 471 MB, free: 13.31 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003733/0.3041, allocations: 335.3 kB / 471.3 MB, free: 12.98 MB / 382.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3041, allocations: 0 / 471.3 MB, free: 12.98 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04817/0.3522, allocations: 18.26 MB / 489.6 MB, free: 10.97 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.97/13.32, allocations: 7.922 kB / 489.6 MB, free: 10.96 MB / 398.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter_fmu --startTime=0 --stopTime=1e-07 --stepSize=1.001e-10 --timeout=50 --tolerance=1e-08 Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter.fmu > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.569467658060603] Failed to read output from testmodel.py, exit status != 0: ['time', 'Q1.vbc', 'Q1.vbe'] 13.49077140900772 13.50757146 13.241059349 Calling exit ...