Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.INV3S.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.001912/0.001912, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001571/0.001571, allocations: 212.6 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.493/1.493, allocations: 230.6 MB / 258.3 MB, free: 8.059 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.Digital.Examples.INV3S,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Digital_Examples_INV3S",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.INV3S,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Digital_Examples_INV3S",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 68.75 kB / 378.5 MB, free: 3.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2981, allocations: 53.36 MB / 431.9 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002855/0.3009, allocations: 1.542 MB / 433.4 MB, free: 5.375 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002026/0.303, allocations: 0.8887 MB / 434.3 MB, free: 4.48 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.42e-05/0.303, allocations: 7.938 kB / 434.3 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.866e-05/0.3031, allocations: 7.922 kB / 434.4 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.084e-05/0.3032, allocations: 19.86 kB / 434.4 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002954/0.3035, allocations: 59.81 kB / 434.4 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000235/0.3038, allocations: 131.8 kB / 434.6 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.3039, allocations: 19.97 kB / 434.6 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005036/0.3044, allocations: 399.2 kB / 435 MB, free: 3.848 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001435/0.3045, allocations: 67.75 kB / 435 MB, free: 3.781 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.607e-05/0.3045, allocations: 15.94 kB / 435 MB, free: 3.766 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.021e-05/0.3046, allocations: 12 kB / 435.1 MB, free: 3.754 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.3047, allocations: 67.64 kB / 435.1 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001242/0.3048, allocations: 111.2 kB / 435.2 MB, free: 3.578 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004069/0.3052, allocations: 359.3 kB / 435.6 MB, free: 3.23 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3052, allocations: 3.938 kB / 435.6 MB, free: 3.227 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3052, allocations: 0 / 435.6 MB, free: 3.227 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.3052, allocations: 0 / 435.6 MB, free: 3.227 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008371/0.3061, allocations: 0.6576 MB / 436.2 MB, free: 2.516 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.3061, allocations: 12.03 kB / 436.3 MB, free: 2.504 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.569e-05/0.3062, allocations: 38.75 kB / 436.3 MB, free: 2.457 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.945e-05/0.3062, allocations: 40.7 kB / 436.3 MB, free: 2.418 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003135/0.3065, allocations: 216.8 kB / 436.5 MB, free: 2.18 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.35e-05/0.3066, allocations: 8.375 kB / 436.6 MB, free: 2.172 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.962e-05/0.3066, allocations: 8.375 kB / 436.6 MB, free: 2.164 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003147/0.3069, allocations: 121.7 kB / 436.7 MB, free: 2.039 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.3069, allocations: 3.984 kB / 436.7 MB, free: 2.035 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.406e-05/0.3069, allocations: 7.984 kB / 436.7 MB, free: 2.027 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.3069, allocations: 0 / 436.7 MB, free: 2.027 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001424/0.3071, allocations: 55.97 kB / 436.8 MB, free: 1.973 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007014/0.3078, allocations: 439.5 kB / 437.2 MB, free: 1.5 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.308, allocations: 74.53 kB / 437.3 MB, free: 1.418 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001694/0.3081, allocations: 64.83 kB / 437.3 MB, free: 1.352 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.3081, allocations: 0 / 437.3 MB, free: 1.352 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000401/0.3085, allocations: 205.9 kB / 437.5 MB, free: 1.129 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 3.246e-06/0.3086, allocations: 7.984 kB / 437.5 MB, free: 1.121 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008243/0.3094, allocations: 464.2 kB / 438 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001228/0.3095, allocations: 166.2 kB / 438.1 MB, free: 448 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006852/0.3102, allocations: 0.513 MB / 438.7 MB, free: 15.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.062e-05/0.3102, allocations: 29.81 kB / 438.7 MB, free: 15.88 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.993e-05/0.3103, allocations: 109 kB / 438.8 MB, free: 15.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.174e-05/0.3103, allocations: 31.83 kB / 438.8 MB, free: 15.74 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/0.3104, allocations: 85.52 kB / 438.9 MB, free: 15.65 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.3106, allocations: 326.8 kB / 439.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.3107, allocations: 55.97 kB / 439.3 MB, free: 15.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.3109, allocations: 73.67 kB / 439.3 MB, free: 15.19 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003719/0.3112, allocations: 339.2 kB / 439.7 MB, free: 14.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3112, allocations: 0 / 439.7 MB, free: 14.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005361/0.3118, allocations: 372.4 kB / 440 MB, free: 14.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001037/0.3119, allocations: 125.8 kB / 440.2 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.3119, allocations: 0 / 440.2 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.3119, allocations: 3.984 kB / 440.2 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.173e-05/0.3119, allocations: 11.88 kB / 440.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.3119, allocations: 0 / 440.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001297/0.3121, allocations: 11.95 kB / 440.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.623e-05/0.3121, allocations: 43.98 kB / 440.2 MB, free: 14.19 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.t_next,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.y_old,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.x,$PRE.iNV3S.inertialDelaySensitive.x,iNV3S.yy,iNV3S.nextstate,x_table.y,e_table.y,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003732/0.3125, allocations: 366.3 kB / 440.6 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.984e-05/0.3125, allocations: 39.84 kB / 440.6 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000117/0.3127, allocations: 67.08 kB / 440.7 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.3127, allocations: 4 kB / 440.7 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.3127, allocations: 0 / 440.7 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.3127, allocations: 0 / 440.7 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.3137, allocations: 0.7962 MB / 441.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3137, allocations: 0 / 441.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.328e-06/0.3137, allocations: 0 / 441.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.3137, allocations: 4 kB / 441.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.89e-05/0.3137, allocations: 11.98 kB / 441.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3137, allocations: 4 kB / 441.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.3137, allocations: 3.938 kB / 441.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006786/0.3144, allocations: 0.5293 MB / 442.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003722/0.3148, allocations: 201.4 kB / 442.2 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.457e-05/0.3148, allocations: 12 kB / 442.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000131/0.315, allocations: 11.98 kB / 442.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.3151, allocations: 23.91 kB / 442.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.515e-05/0.3151, allocations: 51.94 kB / 442.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004935/0.3156, allocations: 386.9 kB / 442.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3156, allocations: 0 / 442.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002766/0.3159, allocations: 43.94 kB / 442.8 MB, free: 11.52 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,iNV3S.nextstate,iNV3S.yy,iNV3S.inertialDelaySensitive.x,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.y_old,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,iNV3S.yy,iNV3S.nextstate,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.t_next,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,iNV3S.inertialDelaySensitive.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001072/0.317, allocations: 1.086 MB / 443.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005057/0.3175, allocations: 377.5 kB / 444.2 MB, free: 9.961 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3175, allocations: 0 / 444.2 MB, free: 9.961 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003093/0.3178, allocations: 297.6 kB / 444.5 MB, free: 9.621 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005971/0.3184, allocations: 127.9 kB / 444.6 MB, free: 9.508 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00365/0.322, allocations: 2.741 MB / 447.4 MB, free: 6.656 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005252/0.3226, allocations: 0.8022 MB / 448.2 MB, free: 5.828 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.882e-05/0.3226, allocations: 12.64 kB / 448.2 MB, free: 5.816 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.083e-05/0.3227, allocations: 27.44 kB / 448.2 MB, free: 5.789 MB / 350.1 MB Notification: Performance of SimCode: time 3.9e-07/0.3227, allocations: 0 / 448.2 MB, free: 5.789 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03025/0.3529, allocations: 5.999 MB / 454.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.218/8.571, allocations: 9.281 kB / 454.2 MB, free: 15.86 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.INV3S.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.INV3S_res.csv --start-time 0 --stop-time 12 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00239569 Modelica_4_1_0-beta_om_Modelica_Electrical_Digital_Examples_INV3S.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.166320814751089] Failed to read output from testmodel.py, exit status != 0: ['time', 'iNV3S.y'] 8.645875954069197 8.673381154 8.363107326 Calling exit ...