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.001778/0.001778, allocations: 122.5 kB / 18.51 MB, free: 4.52 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.002005/0.002005, allocations: 215.2 kB / 21.46 MB, free: 1.566 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.455/1.455, allocations: 230.5 MB / 254.8 MB, free: 15.09 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.001893/0.001893, allocations: 71.81 kB / 373.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09486/0.09675, allocations: 53.32 MB / 427 MB, free: 4.805 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002912/0.09967, allocations: 1.543 MB / 428.5 MB, free: 3.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002069/0.1017, allocations: 0.881 MB / 429.4 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.894e-05/0.1018, allocations: 4 kB / 429.4 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.604e-05/0.1019, allocations: 15.86 kB / 429.4 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.334e-05/0.102, allocations: 15.86 kB / 429.5 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002458/0.1022, allocations: 51.88 kB / 429.5 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002196/0.1024, allocations: 135.7 kB / 429.6 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.699e-05/0.1025, allocations: 8 kB / 429.7 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004803/0.103, allocations: 411.2 kB / 430.1 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001214/0.1031, allocations: 63.75 kB / 430.1 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.653e-05/0.1031, allocations: 12 kB / 430.1 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.629e-05/0.1032, allocations: 12 kB / 430.1 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.88e-05/0.1033, allocations: 63.77 kB / 430.2 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001212/0.1034, allocations: 115.1 kB / 430.3 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003874/0.1038, allocations: 358.5 kB / 430.7 MB, free: 1.121 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.1038, allocations: 3.938 kB / 430.7 MB, free: 1.117 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.196e-06/0.1038, allocations: 3.984 kB / 430.7 MB, free: 1.113 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.1038, allocations: 0 / 430.7 MB, free: 1.113 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008105/0.1046, allocations: 0.7305 MB / 431.4 MB, free: 316 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.1046, allocations: 8.031 kB / 431.4 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.532e-05/0.1047, allocations: 42.69 kB / 431.4 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.949e-05/0.1048, allocations: 44.7 kB / 431.5 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1805/0.2852, allocations: 274.3 kB / 431.8 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.691e-05/0.2853, allocations: 7.469 kB / 431.8 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.862e-05/0.2853, allocations: 8 kB / 431.8 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003274/0.2856, allocations: 124.1 kB / 431.9 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.2856, allocations: 0.5156 kB / 431.9 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.392e-05/0.2857, allocations: 7.594 kB / 431.9 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.2857, allocations: 1.891 kB / 431.9 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001486/0.2858, allocations: 66.16 kB / 432 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00062/0.2864, allocations: 449.4 kB / 432.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001681/0.2866, allocations: 75.42 kB / 432.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001341/0.2867, allocations: 62.55 kB / 432.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.614e-06/0.2868, allocations: 6.062 kB / 432.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003277/0.2871, allocations: 206.5 kB / 432.8 MB, free: 10.63 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 2.054e-06/0.2871, allocations: 0 / 432.8 MB, free: 10.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007206/0.2878, allocations: 474.1 kB / 433.2 MB, free: 10.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.061e-05/0.2879, allocations: 169.7 kB / 433.4 MB, free: 10.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004985/0.2884, allocations: 0.515 MB / 433.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.2884, allocations: 30.84 kB / 433.9 MB, free: 10.04 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.084e-05/0.2884, allocations: 103.1 kB / 434 MB, free: 9.953 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.303e-05/0.2884, allocations: 28.14 kB / 434.1 MB, free: 9.938 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.2886, allocations: 84.73 kB / 434.1 MB, free: 9.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.951e-05/0.2886, allocations: 323.4 kB / 434.5 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/0.2887, allocations: 53.91 kB / 434.5 MB, free: 9.598 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000124/0.2888, allocations: 73.27 kB / 434.6 MB, free: 9.582 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002527/0.2891, allocations: 346.1 kB / 434.9 MB, free: 9.316 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2891, allocations: 1.406 kB / 434.9 MB, free: 9.316 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004515/0.2896, allocations: 382.8 kB / 435.3 MB, free: 9.145 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.646e-05/0.2896, allocations: 124.4 kB / 435.4 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.2896, allocations: 4.125 kB / 435.4 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.2896, allocations: 5.062 kB / 435.4 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.926e-05/0.2897, allocations: 5.406 kB / 435.4 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.2897, allocations: 0 / 435.4 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001318/0.2898, allocations: 15.48 kB / 435.4 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.901e-05/0.2898, allocations: 39.27 kB / 435.5 MB, free: 9.02 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.0002746/0.2901, allocations: 361.9 kB / 435.8 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.895e-05/0.2902, allocations: 51.69 kB / 435.9 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.566e-05/0.2902, allocations: 66.5 kB / 435.9 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.2902, allocations: 1.062 kB / 436 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.2903, allocations: 1.219 kB / 436 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.2903, allocations: 0 / 436 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007958/0.2911, allocations: 0.814 MB / 436.8 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.2911, allocations: 1.219 kB / 436.8 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.288e-06/0.2911, allocations: 0 / 436.8 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.2911, allocations: 0.9688 kB / 436.8 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.716e-05/0.2911, allocations: 19.97 kB / 436.8 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.2911, allocations: 1.25 kB / 436.8 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2911, allocations: 0 / 436.8 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005267/0.2916, allocations: 0.5306 MB / 437.3 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000233/0.2919, allocations: 245.5 kB / 437.6 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.948e-05/0.2919, allocations: 12.41 kB / 437.6 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001313/0.292, allocations: 17.55 kB / 437.6 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.2921, allocations: 24.97 kB / 437.6 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.191e-05/0.2922, allocations: 40.88 kB / 437.7 MB, free: 7.734 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004263/0.2926, allocations: 388.3 kB / 438 MB, free: 7.527 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2926, allocations: 2.734 kB / 438 MB, free: 7.527 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002793/0.2929, allocations: 45.88 kB / 438.1 MB, free: 7.523 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.000755/0.2937, allocations: 1.087 MB / 439.2 MB, free: 6.645 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004092/0.2941, allocations: 374.1 kB / 439.5 MB, free: 6.348 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.2941, allocations: 0 / 439.5 MB, free: 6.348 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002089/0.2943, allocations: 300.2 kB / 439.8 MB, free: 6.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006115/0.2949, allocations: 130.1 kB / 440 MB, free: 6.047 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002846/0.2977, allocations: 2.767 MB / 442.7 MB, free: 4.129 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002879/0.298, allocations: 0.7989 MB / 443.5 MB, free: 3.398 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.98e-05/0.2981, allocations: 9.828 kB / 443.5 MB, free: 3.395 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.222e-05/0.2981, allocations: 27.38 kB / 443.6 MB, free: 3.375 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2981, allocations: 4.094 kB / 443.6 MB, free: 3.371 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0425/0.3406, allocations: 5.93 MB / 449.5 MB, free: 2.645 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.732/8.073, allocations: 9.188 kB / 449.5 MB, free: 2.641 MB / 350.1 MB " [Timeout remaining time 652] (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: 10.510199668817222] Failed to read output from testmodel.py, exit status != 0: ['time', 'iNV3S.y'] 8.143347481731325 8.167714338 8.059296638 Calling exit ...