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.001506/0.001506, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001443/0.001443, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.439/1.439, allocations: 230.6 MB / 258.3 MB, free: 8.035 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.001781/0.001781, allocations: 64.77 kB / 378.5 MB, free: 3.262 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.3007, allocations: 53.36 MB / 431.9 MB, free: 6.934 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002784/0.3035, allocations: 1.548 MB / 433.5 MB, free: 5.383 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001978/0.3055, allocations: 0.8925 MB / 434.3 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.779e-05/0.3055, allocations: 4 kB / 434.3 MB, free: 4.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.58e-05/0.3056, allocations: 7.875 kB / 434.4 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.028e-05/0.3057, allocations: 23.86 kB / 434.4 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002637/0.3059, allocations: 55.88 kB / 434.4 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002223/0.3062, allocations: 139.7 kB / 434.6 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.178e-05/0.3063, allocations: 12 kB / 434.6 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004972/0.3068, allocations: 403.2 kB / 435 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00015/0.3069, allocations: 67.75 kB / 435 MB, free: 3.785 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.542e-05/0.3069, allocations: 8 kB / 435.1 MB, free: 3.777 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.876e-05/0.307, allocations: 15.94 kB / 435.1 MB, free: 3.762 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.497e-05/0.3071, allocations: 59.77 kB / 435.1 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001258/0.3072, allocations: 115.1 kB / 435.2 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003904/0.3076, allocations: 363.3 kB / 435.6 MB, free: 3.238 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3076, allocations: 0 / 435.6 MB, free: 3.238 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3076, allocations: 0 / 435.6 MB, free: 3.238 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.179e-06/0.3076, allocations: 0 / 435.6 MB, free: 3.238 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.0007618/0.3083, allocations: 0.6591 MB / 436.3 MB, free: 2.523 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.3084, allocations: 16.02 kB / 436.3 MB, free: 2.508 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.084e-05/0.3084, allocations: 38.75 kB / 436.3 MB, free: 2.461 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.978e-05/0.3085, allocations: 36.7 kB / 436.3 MB, free: 2.426 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002741/0.3088, allocations: 216.8 kB / 436.6 MB, free: 2.188 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.624e-05/0.3088, allocations: 8.375 kB / 436.6 MB, free: 2.18 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.371e-05/0.3088, allocations: 12.38 kB / 436.6 MB, free: 2.168 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002704/0.3091, allocations: 121.7 kB / 436.7 MB, free: 2.043 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.3091, allocations: 0 / 436.7 MB, free: 2.043 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.116e-05/0.3091, allocations: 4 kB / 436.7 MB, free: 2.039 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.177e-06/0.3091, allocations: 0 / 436.7 MB, free: 2.039 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001373/0.3093, allocations: 55.97 kB / 436.7 MB, free: 1.984 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007309/0.31, allocations: 443.5 kB / 437.2 MB, free: 1.508 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002602/0.3103, allocations: 78.53 kB / 437.3 MB, free: 1.422 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001847/0.3104, allocations: 60.89 kB / 437.3 MB, free: 1.359 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.951e-06/0.3104, allocations: 0 / 437.3 MB, free: 1.359 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003872/0.3108, allocations: 209.9 kB / 437.5 MB, free: 1.133 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.393e-06/0.3108, allocations: 0 / 437.5 MB, free: 1.133 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008057/0.3116, allocations: 460.4 kB / 438 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000121/0.3118, allocations: 178.1 kB / 438.1 MB, free: 452 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006728/0.3124, allocations: 0.513 MB / 438.7 MB, free: 15.92 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.988e-05/0.3125, allocations: 29.7 kB / 438.7 MB, free: 15.88 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001454/0.3126, allocations: 101.1 kB / 438.8 MB, free: 15.78 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.883e-05/0.3126, allocations: 31.73 kB / 438.8 MB, free: 15.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/0.3128, allocations: 85.5 kB / 438.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.3129, allocations: 326.8 kB / 439.2 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.3131, allocations: 60.02 kB / 439.3 MB, free: 15.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.3132, allocations: 77.69 kB / 439.4 MB, free: 15.19 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003659/0.3136, allocations: 335.3 kB / 439.7 MB, free: 14.81 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.3136, allocations: 0 / 439.7 MB, free: 14.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005513/0.3141, allocations: 376.3 kB / 440.1 MB, free: 14.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.161e-05/0.3142, allocations: 122.8 kB / 440.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.3142, allocations: 0 / 440.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.3142, allocations: 0 / 440.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.423e-05/0.3142, allocations: 4 kB / 440.2 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.3143, allocations: 4.031 kB / 440.2 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/0.3144, allocations: 15.94 kB / 440.2 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.195e-05/0.3144, allocations: 44 kB / 440.2 MB, free: 14.2 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.0003939/0.3148, allocations: 366.1 kB / 440.6 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.884e-05/0.3149, allocations: 35.81 kB / 440.6 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001153/0.315, allocations: 67.06 kB / 440.7 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.315, allocations: 4 kB / 440.7 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.315, allocations: 0 / 440.7 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-06/0.315, allocations: 4 kB / 440.7 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00102/0.316, allocations: 0.7884 MB / 441.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.316, allocations: 0 / 441.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.448e-06/0.316, allocations: 0 / 441.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.316, allocations: 7.938 kB / 441.5 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.73e-05/0.3161, allocations: 15.98 kB / 441.5 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3161, allocations: 0 / 441.5 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.3161, allocations: 7.875 kB / 441.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007049/0.3168, allocations: 0.5215 MB / 442 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003774/0.3172, allocations: 205.4 kB / 442.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.226e-05/0.3172, allocations: 12 kB / 442.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.3173, allocations: 8 kB / 442.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.324e-05/0.3174, allocations: 32.08 kB / 442.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.583e-05/0.3175, allocations: 51.92 kB / 442.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005366/0.318, allocations: 386.9 kB / 442.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.318, allocations: 0 / 442.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002745/0.3183, allocations: 40 kB / 442.8 MB, free: 11.53 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.001138/0.3194, allocations: 1.09 MB / 443.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005888/0.32, allocations: 369.5 kB / 444.2 MB, free: 9.977 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.32, allocations: 3.938 kB / 444.2 MB, free: 9.973 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003061/0.3203, allocations: 305.5 kB / 444.5 MB, free: 9.625 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006118/0.3209, allocations: 137.3 kB / 444.6 MB, free: 9.504 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00372/0.3247, allocations: 2.733 MB / 447.4 MB, free: 6.66 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005464/0.3252, allocations: 0.7983 MB / 448.2 MB, free: 5.836 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.457e-05/0.3253, allocations: 8.656 kB / 448.2 MB, free: 5.828 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.936e-05/0.3253, allocations: 31.42 kB / 448.2 MB, free: 5.797 MB / 350.1 MB Notification: Performance of SimCode: time 9.22e-07/0.3253, allocations: 4 kB / 448.2 MB, free: 5.793 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03116/0.3565, allocations: 5.989 MB / 454.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.254/8.61, allocations: 7.438 kB / 454.2 MB, free: 15.88 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.INV3S_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Digital_Examples_INV3S_fmu --startTime=0 --stopTime=12 --stepSize=0.00239569 --timeout=50 --tolerance=1e-06 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.160472116898745] Failed to read output from testmodel.py, exit status != 0: ['time', 'iNV3S.y'] 8.679986753035337 8.695173489 8.384527885 Calling exit ...