Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 108.6 kB / 21.22 MB, free: 0.7344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 183.5 kB / 24.5 MB, free: 4.09 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 225.6 MB / 253.3 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.INV3S,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_INV3S",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.INV3S,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_INV3S",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 51.92 kB / 371.2 MB, free: 9.852 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2394/0.2409, allocations: 52.18 MB / 423.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002622/0.2435, allocations: 1.532 MB / 424.9 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001821/0.2453, allocations: 0.8576 MB / 425.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.014e-05/0.2454, allocations: 4 kB / 425.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 7.734e-05/0.2455, allocations: 3.938 kB / 425.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.752e-05/0.2456, allocations: 27.78 kB / 425.8 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002561/0.2458, allocations: 47.89 kB / 425.9 MB, free: 12.13 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002214/0.246, allocations: 143.7 kB / 426 MB, free: 11.99 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.28e-05/0.2461, allocations: 15.98 kB / 426 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004992/0.2466, allocations: 395.2 kB / 426.4 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001359/0.2468, allocations: 67.77 kB / 426.5 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.747e-05/0.2468, allocations: 8 kB / 426.5 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.943e-05/0.2468, allocations: 12 kB / 426.5 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.826e-05/0.2469, allocations: 67.64 kB / 426.6 MB, free: 11.44 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001206/0.247, allocations: 111.2 kB / 426.7 MB, free: 11.33 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003856/0.2474, allocations: 363.3 kB / 427 MB, free: 10.98 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.2474, allocations: 0 / 427 MB, free: 10.98 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2474, allocations: 0 / 427 MB, free: 10.98 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.2474, allocations: 0 / 427 MB, free: 10.98 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.0007863/0.2482, allocations: 0.6746 MB / 427.7 MB, free: 10.25 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.2483, allocations: 12.03 kB / 427.7 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.348e-05/0.2483, allocations: 4.172 kB / 427.7 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.218e-05/0.2483, allocations: 38.75 kB / 427.8 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.352e-05/0.2484, allocations: 44.7 kB / 427.8 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002678/0.2487, allocations: 208.9 kB / 428 MB, free: 9.91 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.2487, allocations: 8.375 kB / 428 MB, free: 9.902 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.688e-05/0.2487, allocations: 8.375 kB / 428 MB, free: 9.895 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002911/0.249, allocations: 124.5 kB / 428.2 MB, free: 9.77 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.497e-06/0.249, allocations: 3.938 kB / 428.2 MB, free: 9.766 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.121e-05/0.249, allocations: 8 kB / 428.2 MB, free: 9.758 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.249, allocations: 0 / 428.2 MB, free: 9.758 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001539/0.2492, allocations: 55.97 kB / 428.2 MB, free: 9.703 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000644/0.2498, allocations: 435.6 kB / 428.6 MB, free: 9.234 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.25, allocations: 74.48 kB / 428.7 MB, free: 9.152 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001318/0.2501, allocations: 56.89 kB / 428.8 MB, free: 9.094 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.272e-05/0.2501, allocations: 15.92 kB / 428.8 MB, free: 9.078 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003511/0.2505, allocations: 198.7 kB / 429 MB, free: 8.859 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.132e-06/0.2505, allocations: 0 / 429 MB, free: 8.859 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.000789/0.2513, allocations: 468.1 kB / 429.4 MB, free: 8.371 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/0.2514, allocations: 166.2 kB / 429.6 MB, free: 8.172 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006859/0.2521, allocations: 0.513 MB / 430.1 MB, free: 7.648 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.2e-05/0.2521, allocations: 29.7 kB / 430.1 MB, free: 7.613 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.226e-05/0.2522, allocations: 101.1 kB / 430.2 MB, free: 7.512 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.388e-05/0.2522, allocations: 27.81 kB / 430.3 MB, free: 7.484 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001176/0.2524, allocations: 81.55 kB / 430.3 MB, free: 7.398 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.2525, allocations: 326.8 kB / 430.7 MB, free: 7.07 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.2526, allocations: 56.08 kB / 430.7 MB, free: 7.016 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001363/0.2528, allocations: 77.56 kB / 430.8 MB, free: 6.934 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003724/0.2532, allocations: 343.4 kB / 431.1 MB, free: 6.543 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.2532, allocations: 0 / 431.1 MB, free: 6.543 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006013/0.2538, allocations: 387.8 kB / 431.5 MB, free: 6.137 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001006/0.2539, allocations: 118.8 kB / 431.6 MB, free: 5.996 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.2539, allocations: 0 / 431.6 MB, free: 5.996 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.2539, allocations: 4 kB / 431.6 MB, free: 5.992 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.31e-05/0.2539, allocations: 0 / 431.6 MB, free: 5.992 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.2539, allocations: 4.062 kB / 431.6 MB, free: 5.988 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/0.254, allocations: 11.98 kB / 431.6 MB, free: 5.977 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.216e-05/0.2541, allocations: 51.91 kB / 431.7 MB, free: 5.926 MB / 334.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.000398/0.2545, allocations: 358.2 kB / 432 MB, free: 5.543 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.603e-05/0.2546, allocations: 39.77 kB / 432.1 MB, free: 5.504 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001232/0.2547, allocations: 71.08 kB / 432.2 MB, free: 5.43 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.2547, allocations: 0 / 432.2 MB, free: 5.43 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.2547, allocations: 0 / 432.2 MB, free: 5.43 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.2547, allocations: 0 / 432.2 MB, free: 5.43 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001112/0.2558, allocations: 0.7891 MB / 432.9 MB, free: 4.566 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.2558, allocations: 8 kB / 433 MB, free: 4.559 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.373e-06/0.2558, allocations: 4 kB / 433 MB, free: 4.555 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.2558, allocations: 0 / 433 MB, free: 4.555 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.877e-05/0.2559, allocations: 11.98 kB / 433 MB, free: 4.543 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.2559, allocations: 3.938 kB / 433 MB, free: 4.539 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2559, allocations: 0 / 433 MB, free: 4.539 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006844/0.2565, allocations: 0.5293 MB / 433.5 MB, free: 3.969 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003618/0.2569, allocations: 209.4 kB / 433.7 MB, free: 3.766 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.468e-05/0.257, allocations: 12 kB / 433.7 MB, free: 3.754 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001292/0.2571, allocations: 15.94 kB / 433.7 MB, free: 3.738 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.2572, allocations: 23.97 kB / 433.8 MB, free: 3.715 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.334e-05/0.2573, allocations: 47.92 kB / 433.8 MB, free: 3.668 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004501/0.2577, allocations: 390.8 kB / 434.2 MB, free: 3.285 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2577, allocations: 0 / 434.2 MB, free: 3.285 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002769/0.258, allocations: 40 kB / 434.2 MB, free: 3.246 MB / 334.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.001068/0.259, allocations: 1.078 MB / 435.3 MB, free: 2.117 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000596/0.2596, allocations: 377.5 kB / 435.7 MB, free: 1.699 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.2596, allocations: 0 / 435.7 MB, free: 1.699 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003043/0.2599, allocations: 301.6 kB / 436 MB, free: 1.355 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006552/0.2606, allocations: 131.4 kB / 436.1 MB, free: 1.238 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00365/0.2643, allocations: 2.748 MB / 438.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005374/0.2648, allocations: 0.8061 MB / 439.6 MB, free: 13.54 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.964e-05/0.2648, allocations: 8.656 kB / 439.7 MB, free: 13.54 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.199e-05/0.2649, allocations: 31.42 kB / 439.7 MB, free: 13.5 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2649, allocations: 0 / 439.7 MB, free: 13.5 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02948/0.2944, allocations: 6.105 MB / 445.8 MB, free: 7.52 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/11.05, allocations: 8.062 kB / 445.8 MB, free: 7.512 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Digital_Examples_INV3S_fmu --startTime=0 --stopTime=12 --stepSize=0.00239569 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Digital_Examples_INV3S.fmu > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.388758566987235] Failed to read output from testmodel.py, exit status != 0: ['time', 'iNV3S.y'] 11.219987909018528 11.24228341 10.991495904 Calling exit ...