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.001625/0.001626, allocations: 121.4 kB / 18.45 MB, free: 4.59 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.001898/0.001898, allocations: 214.5 kB / 21.41 MB, free: 1.641 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.5/1.5, allocations: 227.7 MB / 251.9 MB, free: 15.85 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.002142/0.002143, allocations: 63.91 kB / 365.2 MB, free: 188 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1106, allocations: 50.55 MB / 415.8 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.003247/0.1139, allocations: 1.523 MB / 417.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002127/0.116, allocations: 0.877 MB / 418.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.232e-05/0.1161, allocations: 0 / 418.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001067/0.1163, allocations: 7.922 kB / 418.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001035/0.1164, allocations: 23.84 kB / 418.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003006/0.1167, allocations: 51.27 kB / 418.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002805/0.117, allocations: 155.7 kB / 418.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.1171, allocations: 20 kB / 418.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006436/0.1178, allocations: 387.2 kB / 418.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001567/0.118, allocations: 59.78 kB / 418.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.119e-05/0.118, allocations: 8 kB / 418.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.335e-05/0.1181, allocations: 12 kB / 418.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001081/0.1182, allocations: 71.67 kB / 418.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001839/0.1184, allocations: 111.2 kB / 419.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004492/0.1188, allocations: 366.4 kB / 419.4 MB, free: 9.926 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1188, allocations: 0 / 419.4 MB, free: 9.926 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1189, allocations: 0 / 419.4 MB, free: 9.926 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.17e-05/0.1189, allocations: 0 / 419.4 MB, free: 9.926 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.001018/0.1199, allocations: 0.7266 MB / 420.1 MB, free: 9.125 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.341e-05/0.12, allocations: 12.03 kB / 420.2 MB, free: 9.113 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.694e-05/0.12, allocations: 46.67 kB / 420.2 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.143e-05/0.1201, allocations: 40.7 kB / 420.2 MB, free: 9.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003678/0.1205, allocations: 266.7 kB / 420.5 MB, free: 8.719 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.615e-05/0.1205, allocations: 12.31 kB / 420.5 MB, free: 8.707 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.727e-05/0.1206, allocations: 12.38 kB / 420.5 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003342/0.1209, allocations: 129.7 kB / 420.6 MB, free: 8.562 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.1209, allocations: 0 / 420.6 MB, free: 8.562 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.346e-05/0.121, allocations: 4 kB / 420.7 MB, free: 8.559 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.121, allocations: 0 / 420.7 MB, free: 8.559 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001541/0.1211, allocations: 59.91 kB / 420.7 MB, free: 8.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008826/0.122, allocations: 468.5 kB / 421.2 MB, free: 7.992 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002062/0.1222, allocations: 102.5 kB / 421.3 MB, free: 7.883 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001571/0.1224, allocations: 80.88 kB / 421.3 MB, free: 7.801 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.156e-05/0.1224, allocations: 4 kB / 421.4 MB, free: 7.797 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004023/0.1228, allocations: 205.3 kB / 421.6 MB, free: 7.574 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.883e-06/0.1229, allocations: 0 / 421.6 MB, free: 7.574 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009132/0.1238, allocations: 480.2 kB / 422 MB, free: 7.074 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/0.1239, allocations: 166.2 kB / 422.2 MB, free: 6.875 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009209/0.1248, allocations: 0.513 MB / 422.7 MB, free: 6.348 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.486e-05/0.1249, allocations: 33.7 kB / 422.7 MB, free: 6.309 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.287e-05/0.125, allocations: 97.09 kB / 422.8 MB, free: 6.211 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.376e-05/0.125, allocations: 27.84 kB / 422.9 MB, free: 6.184 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/0.1252, allocations: 81.52 kB / 422.9 MB, free: 6.098 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.1253, allocations: 330.8 kB / 423.3 MB, free: 5.766 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.1255, allocations: 51.97 kB / 423.3 MB, free: 5.715 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/0.1256, allocations: 81.67 kB / 423.4 MB, free: 5.629 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004035/0.1261, allocations: 339.2 kB / 423.7 MB, free: 5.242 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.1261, allocations: 0 / 423.7 MB, free: 5.242 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005787/0.1267, allocations: 375.3 kB / 424.1 MB, free: 4.848 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001089/0.1268, allocations: 130.8 kB / 424.2 MB, free: 4.695 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1268, allocations: 0 / 424.2 MB, free: 4.695 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.1268, allocations: 4 kB / 424.2 MB, free: 4.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.011e-05/0.1268, allocations: 32 / 424.2 MB, free: 4.691 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.1268, allocations: 4 kB / 424.2 MB, free: 4.688 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/0.127, allocations: 15.94 kB / 424.2 MB, free: 4.672 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.4e-05/0.1271, allocations: 44.05 kB / 424.3 MB, free: 4.629 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.0004137/0.1275, allocations: 378.1 kB / 424.6 MB, free: 4.227 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.833e-05/0.1276, allocations: 31.81 kB / 424.7 MB, free: 4.195 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001109/0.1277, allocations: 67.16 kB / 424.7 MB, free: 4.125 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.1277, allocations: 3.984 kB / 424.7 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.1277, allocations: 0 / 424.7 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.1277, allocations: 4 kB / 424.7 MB, free: 4.117 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001159/0.1289, allocations: 0.8133 MB / 425.6 MB, free: 3.223 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.1289, allocations: 0 / 425.6 MB, free: 3.223 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.233e-06/0.1289, allocations: 0 / 425.6 MB, free: 3.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.1289, allocations: 4 kB / 425.6 MB, free: 3.219 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.872e-05/0.129, allocations: 8 kB / 425.6 MB, free: 3.211 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.708e-06/0.129, allocations: 3.984 kB / 425.6 MB, free: 3.207 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.129, allocations: 3.938 kB / 425.6 MB, free: 3.203 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007815/0.1298, allocations: 0.5254 MB / 426.1 MB, free: 2.637 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003746/0.1301, allocations: 252.9 kB / 426.4 MB, free: 2.371 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.473e-05/0.1302, allocations: 12 kB / 426.4 MB, free: 2.359 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.1304, allocations: 12 kB / 426.4 MB, free: 2.348 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/0.1305, allocations: 27.91 kB / 426.4 MB, free: 2.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.093e-05/0.1306, allocations: 47.92 kB / 426.5 MB, free: 2.273 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005636/0.1311, allocations: 386.9 kB / 426.8 MB, free: 1.898 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1311, allocations: 3.938 kB / 426.8 MB, free: 1.895 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003138/0.1315, allocations: 44 kB / 426.9 MB, free: 1.852 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.001275/0.1327, allocations: 1.078 MB / 428 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007208/0.1335, allocations: 445.5 kB / 428.4 MB, free: 244 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.1335, allocations: 0 / 428.4 MB, free: 244 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004075/0.1339, allocations: 373.6 kB / 428.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006841/0.1346, allocations: 132.4 kB / 428.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004149/0.1388, allocations: 2.762 MB / 431.6 MB, free: 12.83 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006517/0.1395, allocations: 0.7944 MB / 432.4 MB, free: 12.01 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.589e-05/0.1396, allocations: 12.64 kB / 432.5 MB, free: 12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.65e-05/0.1396, allocations: 23.44 kB / 432.5 MB, free: 11.98 MB / 366.1 MB Notification: Performance of SimCode: time 8.51e-07/0.1396, allocations: 7.938 kB / 432.5 MB, free: 11.97 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03073/0.1704, allocations: 5.925 MB / 438.4 MB, free: 6.117 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.792/7.962, allocations: 6.344 kB / 438.4 MB, free: 6.113 MB / 366.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.60501673608087] Failed to read output from testmodel.py, exit status != 0: ['time', 'iNV3S.y'] 8.0317056219792 8.21706878 8.096356891 Calling exit ...