Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 218 kB / 24.52 MB, free: 3.91 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.4/1.4, allocations: 230.6 MB / 258.3 MB, free: 7.793 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.INV3S,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Digital_Examples_INV3S",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.INV3S,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Digital_Examples_INV3S",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 43.92 kB / 378.5 MB, free: 3.008 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2489/0.2504, allocations: 53.36 MB / 431.9 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002821/0.2532, allocations: 1.498 MB / 433.3 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001967/0.2552, allocations: 0.8342 MB / 434.2 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.048e-05/0.2552, allocations: 4 kB / 434.2 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001045/0.2553, allocations: 7.922 kB / 434.2 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.313e-05/0.2554, allocations: 27.78 kB / 434.2 MB, free: 4.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002904/0.2557, allocations: 51.89 kB / 434.3 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002267/0.2559, allocations: 139.7 kB / 434.4 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.256, allocations: 22.09 kB / 434.4 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004915/0.2565, allocations: 391.3 kB / 434.8 MB, free: 3.73 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.2567, allocations: 67.7 kB / 434.9 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.374e-05/0.2567, allocations: 8 kB / 434.9 MB, free: 3.656 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.51e-05/0.2568, allocations: 12 kB / 434.9 MB, free: 3.645 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.451e-05/0.2569, allocations: 63.7 kB / 435 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001114/0.257, allocations: 83.34 kB / 435 MB, free: 3.5 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003959/0.2574, allocations: 374.4 kB / 435.4 MB, free: 3.133 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2574, allocations: 0 / 435.4 MB, free: 3.133 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2574, allocations: 0 / 435.4 MB, free: 3.133 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.2574, allocations: 0 / 435.4 MB, free: 3.133 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.0007955/0.2582, allocations: 0.6513 MB / 436.1 MB, free: 2.426 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.2582, allocations: 12.03 kB / 436.1 MB, free: 2.414 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.356e-05/0.2582, allocations: 192 / 436.1 MB, free: 2.414 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.492e-05/0.2583, allocations: 46.67 kB / 436.1 MB, free: 2.359 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.635e-05/0.2583, allocations: 44.64 kB / 436.2 MB, free: 2.316 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002892/0.2586, allocations: 208.9 kB / 436.4 MB, free: 2.086 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.346e-05/0.2586, allocations: 8.375 kB / 436.4 MB, free: 2.078 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.199e-05/0.2587, allocations: 12.38 kB / 436.4 MB, free: 2.066 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003981/0.2591, allocations: 248.3 kB / 436.6 MB, free: 1.793 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.2591, allocations: 0 / 436.6 MB, free: 1.793 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.411e-05/0.2591, allocations: 4 kB / 436.6 MB, free: 1.789 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.2591, allocations: 0 / 436.6 MB, free: 1.789 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002333/0.2594, allocations: 178.7 kB / 436.8 MB, free: 1.59 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006598/0.26, allocations: 415.6 kB / 437.2 MB, free: 1.141 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002961/0.2603, allocations: 197.2 kB / 437.4 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002096/0.2605, allocations: 175.7 kB / 437.6 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.16e-05/0.2605, allocations: 4 kB / 437.6 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004611/0.261, allocations: 325.5 kB / 437.9 MB, free: 352 kB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.393e-06/0.261, allocations: 0 / 437.9 MB, free: 352 kB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.001007/0.262, allocations: 0.7049 MB / 438.6 MB, free: 15.55 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/0.2621, allocations: 162.2 kB / 438.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006591/0.2628, allocations: 0.5207 MB / 439.3 MB, free: 14.83 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001093/0.2629, allocations: 29.7 kB / 439.3 MB, free: 14.79 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.033e-05/0.263, allocations: 93.14 kB / 439.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.338e-05/0.263, allocations: 27.84 kB / 439.4 MB, free: 14.67 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000128/0.2631, allocations: 85.52 kB / 439.5 MB, free: 14.58 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002025/0.2633, allocations: 330.8 kB / 439.8 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002311/0.2636, allocations: 174.8 kB / 440 MB, free: 14.05 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003339/0.2639, allocations: 192.5 kB / 440.2 MB, free: 13.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003787/0.2643, allocations: 354.6 kB / 440.5 MB, free: 13.44 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.2643, allocations: 0 / 440.5 MB, free: 13.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006393/0.2649, allocations: 0.4914 MB / 441 MB, free: 12.89 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.686e-05/0.265, allocations: 122.8 kB / 441.2 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.265, allocations: 8 kB / 441.2 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.199e-05/0.265, allocations: 3.984 kB / 441.2 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.129e-05/0.2651, allocations: 0 / 441.2 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.2651, allocations: 4.031 kB / 441.2 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001312/0.2652, allocations: 15.95 kB / 441.2 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.687e-05/0.2653, allocations: 43.92 kB / 441.2 MB, free: 12.67 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.000349/0.2656, allocations: 358.3 kB / 441.6 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.35e-05/0.2657, allocations: 39.88 kB / 441.6 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001856/0.2659, allocations: 71.02 kB / 441.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.2659, allocations: 0 / 441.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.2659, allocations: 0 / 441.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.2659, allocations: 0 / 441.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00106/0.2669, allocations: 0.8932 MB / 442.6 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.2669, allocations: 3.938 kB / 442.6 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.827e-06/0.2669, allocations: 0 / 442.6 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.2669, allocations: 0 / 442.6 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.46e-05/0.267, allocations: 15.98 kB / 442.6 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.267, allocations: 3.938 kB / 442.6 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.267, allocations: 4 kB / 442.6 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008848/0.2679, allocations: 0.6453 MB / 443.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004124/0.2683, allocations: 201.4 kB / 443.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.766e-05/0.2683, allocations: 8 kB / 443.5 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/0.2685, allocations: 19.92 kB / 443.5 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/0.2686, allocations: 27.97 kB / 443.5 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.555e-05/0.2686, allocations: 43.94 kB / 443.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004671/0.2691, allocations: 390.9 kB / 443.9 MB, free: 9.777 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2691, allocations: 0 / 443.9 MB, free: 9.777 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002806/0.2694, allocations: 44 kB / 444 MB, free: 9.734 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.001149/0.2705, allocations: 1.208 MB / 445.2 MB, free: 8.453 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007319/0.2713, allocations: 0.6085 MB / 445.8 MB, free: 7.746 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.2713, allocations: 0 / 445.8 MB, free: 7.746 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005534/0.2718, allocations: 428.4 kB / 446.2 MB, free: 7.254 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006186/0.2724, allocations: 135.2 kB / 446.3 MB, free: 7.133 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004031/0.2765, allocations: 3.345 MB / 449.7 MB, free: 3.555 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/0.2767, allocations: 198.3 kB / 449.9 MB, free: 3.34 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.958e-05/0.2768, allocations: 12.64 kB / 449.9 MB, free: 3.328 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.399e-05/0.2769, allocations: 27.42 kB / 449.9 MB, free: 3.301 MB / 350.1 MB Notification: Performance of SimCode: time 6.81e-07/0.2769, allocations: 4 kB / 449.9 MB, free: 3.297 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02824/0.3051, allocations: 6.587 MB / 456.5 MB, free: 12.86 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.37, allocations: 4.062 kB / 456.5 MB, free: 12.85 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Digital_Examples_INV3S_fmu --startTime=0 --stopTime=12 --stepSize=0.00239569 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Digital_Examples_INV3S.fmu > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.709183595958166] Failed to read output from testmodel.py, exit status != 0: ['time', 'iNV3S.y'] 11.531791437068023 11.547671314 11.287315056 Calling exit ...