Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001408/0.001408, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.002467/0.002467, allocations: 216.9 kB / 24.53 MB, free: 4.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.477/1.477, allocations: 230.5 MB / 258.2 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica_Electrical_Digital_Examples_INV3S",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.INV3S,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_INV3S",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001843/0.001843, allocations: 59.91 kB / 378.6 MB, free: 3.027 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2789/0.2808, allocations: 53.4 MB / 432 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002966/0.2838, allocations: 1.553 MB / 433.5 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002156/0.2859, allocations: 0.8848 MB / 434.4 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.943e-05/0.286, allocations: 4 kB / 434.4 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001027/0.2861, allocations: 11.86 kB / 434.4 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.25e-05/0.2862, allocations: 27.84 kB / 434.4 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002855/0.2865, allocations: 55.83 kB / 434.5 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002349/0.2867, allocations: 139.7 kB / 434.6 MB, free: 4.039 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.93e-05/0.2868, allocations: 15.98 kB / 434.6 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005118/0.2873, allocations: 403.2 kB / 435 MB, free: 3.629 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001338/0.2874, allocations: 63.77 kB / 435.1 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.39e-05/0.2875, allocations: 8 kB / 435.1 MB, free: 3.559 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.873e-05/0.2875, allocations: 15.94 kB / 435.1 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.351e-05/0.2876, allocations: 59.77 kB / 435.2 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001274/0.2877, allocations: 119.1 kB / 435.3 MB, free: 3.367 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003972/0.2881, allocations: 360.2 kB / 435.6 MB, free: 3.016 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.2881, allocations: 4 kB / 435.7 MB, free: 3.012 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2881, allocations: 0 / 435.7 MB, free: 3.012 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.2881, allocations: 0 / 435.7 MB, free: 3.012 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.0008566/0.289, allocations: 0.6591 MB / 436.3 MB, free: 2.297 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.289, allocations: 12.03 kB / 436.3 MB, free: 2.285 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.387e-05/0.289, allocations: 192 / 436.3 MB, free: 2.285 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.484e-05/0.2891, allocations: 42.73 kB / 436.4 MB, free: 2.234 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.04e-05/0.2891, allocations: 40.7 kB / 436.4 MB, free: 2.195 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003455/0.2895, allocations: 208.9 kB / 436.6 MB, free: 1.965 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.2895, allocations: 16.31 kB / 436.6 MB, free: 1.949 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.684e-05/0.2895, allocations: 4.375 kB / 436.6 MB, free: 1.945 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000304/0.2898, allocations: 125.5 kB / 436.8 MB, free: 1.816 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.2899, allocations: 0 / 436.8 MB, free: 1.816 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.37e-05/0.2899, allocations: 8 kB / 436.8 MB, free: 1.809 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.2899, allocations: 7.984 kB / 436.8 MB, free: 1.801 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001407/0.29, allocations: 51.97 kB / 436.8 MB, free: 1.75 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007847/0.2908, allocations: 439.5 kB / 437.2 MB, free: 1.277 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000186/0.291, allocations: 70.55 kB / 437.3 MB, free: 1.199 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001393/0.2911, allocations: 60.89 kB / 437.4 MB, free: 1.137 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.091e-05/0.2911, allocations: 0 / 437.4 MB, free: 1.137 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004025/0.2915, allocations: 206.6 kB / 437.6 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.383e-06/0.2915, allocations: 0 / 437.6 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008189/0.2924, allocations: 475.8 kB / 438 MB, free: 428 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/0.2925, allocations: 166.2 kB / 438.2 MB, free: 224 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006712/0.2932, allocations: 0.5169 MB / 438.7 MB, free: 15.69 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000129/0.2933, allocations: 29.7 kB / 438.8 MB, free: 15.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.862e-05/0.2934, allocations: 101.1 kB / 438.8 MB, free: 15.55 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.535e-05/0.2934, allocations: 27.8 kB / 438.9 MB, free: 15.53 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/0.2935, allocations: 89.5 kB / 439 MB, free: 15.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.2937, allocations: 322.8 kB / 439.3 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001264/0.2938, allocations: 55.98 kB / 439.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001392/0.2939, allocations: 73.67 kB / 439.4 MB, free: 14.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003683/0.2943, allocations: 339.2 kB / 439.7 MB, free: 14.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2943, allocations: 0 / 439.7 MB, free: 14.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006011/0.2949, allocations: 376.3 kB / 440.1 MB, free: 14.19 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.694e-05/0.295, allocations: 122.8 kB / 440.2 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.295, allocations: 4 kB / 440.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.295, allocations: 4.031 kB / 440.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.057e-05/0.2951, allocations: 0 / 440.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.2951, allocations: 0 / 440.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001341/0.2952, allocations: 19.94 kB / 440.3 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-05/0.2953, allocations: 43.94 kB / 440.3 MB, free: 13.98 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.000362/0.2956, allocations: 362.4 kB / 440.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.095e-05/0.2957, allocations: 35.81 kB / 440.7 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000162/0.2958, allocations: 63.09 kB / 440.7 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.2958, allocations: 4 kB / 440.7 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.2958, allocations: 0 / 440.7 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.2959, allocations: 3.984 kB / 440.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001089/0.2969, allocations: 0.7968 MB / 441.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2969, allocations: 0 / 441.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.589e-06/0.2969, allocations: 0 / 441.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.2969, allocations: 0 / 441.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.908e-05/0.297, allocations: 12 kB / 441.6 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.297, allocations: 7.875 kB / 441.6 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.297, allocations: 7.938 kB / 441.6 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006858/0.2977, allocations: 0.525 MB / 442.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003908/0.2981, allocations: 201.4 kB / 442.3 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.82e-05/0.2981, allocations: 15.98 kB / 442.3 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.2983, allocations: 11.94 kB / 442.3 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/0.2984, allocations: 27.97 kB / 442.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.478e-05/0.2984, allocations: 39.94 kB / 442.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005401/0.299, allocations: 390.9 kB / 442.8 MB, free: 11.35 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.299, allocations: 4 kB / 442.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000282/0.2992, allocations: 40 kB / 442.8 MB, free: 11.3 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.001089/0.3003, allocations: 1.09 MB / 443.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005885/0.3009, allocations: 369.5 kB / 444.3 MB, free: 9.754 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.3009, allocations: 4.062 kB / 444.3 MB, free: 9.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003668/0.3013, allocations: 305.5 kB / 444.6 MB, free: 9.402 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006699/0.302, allocations: 131.7 kB / 444.7 MB, free: 9.293 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003994/0.306, allocations: 2.756 MB / 447.5 MB, free: 6.426 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008139/0.3068, allocations: 0.7983 MB / 448.3 MB, free: 5.602 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.69e-05/0.3068, allocations: 12.66 kB / 448.3 MB, free: 5.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000232/0.3071, allocations: 31.42 kB / 448.3 MB, free: 5.559 MB / 350.1 MB Notification: Performance of SimCode: time 9.92e-07/0.3071, allocations: 0 / 448.3 MB, free: 5.559 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03034/0.3374, allocations: 6.104 MB / 454.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.23, allocations: 11.52 kB / 454.4 MB, free: 15.52 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Digital_Examples_INV3S_fmu --startTime=0 --stopTime=12 --stepSize=0.00239569 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Digital_Examples_INV3S.fmu > Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.66957035701489] Failed to read output from testmodel.py, exit status != 0: ['time', 'iNV3S.y'] 11.387316628010012 11.403078817 11.111633807 Calling exit ...