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.001903/0.001903, allocations: 117 kB / 18.49 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.002267/0.002267, allocations: 212.7 kB / 21.45 MB, free: 1.637 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.523/1.523, allocations: 230.5 MB / 254.7 MB, free: 15.18 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.001911/0.001911, allocations: 63.91 kB / 373.7 MB, free: 10.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.109, allocations: 53.38 MB / 427.1 MB, free: 4.641 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002846/0.1118, allocations: 1.548 MB / 428.6 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001997/0.1138, allocations: 0.8771 MB / 429.5 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.364e-05/0.1139, allocations: 3.938 kB / 429.5 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001033/0.114, allocations: 19.86 kB / 429.5 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.44e-05/0.1141, allocations: 11.88 kB / 429.5 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002427/0.1143, allocations: 51.88 kB / 429.6 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002156/0.1145, allocations: 139.7 kB / 429.7 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.416e-05/0.1146, allocations: 15.98 kB / 429.7 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004616/0.1151, allocations: 403.2 kB / 430.1 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.1152, allocations: 63.75 kB / 430.2 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.751e-05/0.1152, allocations: 12 kB / 430.2 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.608e-05/0.1153, allocations: 8 kB / 430.2 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.26e-05/0.1154, allocations: 63.77 kB / 430.3 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001199/0.1155, allocations: 119.1 kB / 430.4 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003896/0.1159, allocations: 358.5 kB / 430.7 MB, free: 0.957 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.1159, allocations: 0 / 430.7 MB, free: 0.957 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1159, allocations: 0 / 430.7 MB, free: 0.957 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.093e-05/0.1159, allocations: 0 / 430.7 MB, free: 0.957 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.0007885/0.1167, allocations: 0.7305 MB / 431.4 MB, free: 156 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.1167, allocations: 8.031 kB / 431.5 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.298e-05/0.1167, allocations: 12.12 kB / 431.5 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.396e-05/0.1168, allocations: 38.73 kB / 431.5 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.2e-05/0.1168, allocations: 44.7 kB / 431.6 MB, free: 44 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003257/0.1172, allocations: 270.7 kB / 431.8 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.615e-05/0.1172, allocations: 12.38 kB / 431.8 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.875e-05/0.1172, allocations: 4.375 kB / 431.8 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000312/0.1175, allocations: 133.5 kB / 432 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.1175, allocations: 0 / 432 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.234e-05/0.1176, allocations: 4 kB / 432 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.1176, allocations: 0 / 432 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001463/0.1177, allocations: 59.95 kB / 432 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000674/0.1184, allocations: 468.4 kB / 432.5 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.1186, allocations: 78.52 kB / 432.6 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.1187, allocations: 60.89 kB / 432.6 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.095e-05/0.1187, allocations: 0 / 432.6 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004013/0.1191, allocations: 206.7 kB / 432.8 MB, free: 14.64 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.1191, allocations: 0 / 432.8 MB, free: 14.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008625/0.12, allocations: 479.2 kB / 433.3 MB, free: 14.14 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/0.1201, allocations: 170.2 kB / 433.5 MB, free: 13.94 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006496/0.1208, allocations: 0.5091 MB / 434 MB, free: 13.42 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.397e-05/0.1208, allocations: 33.7 kB / 434 MB, free: 13.38 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.644e-05/0.1209, allocations: 101.1 kB / 434.1 MB, free: 13.28 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.458e-05/0.1209, allocations: 27.78 kB / 434.1 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/0.121, allocations: 85.5 kB / 434.2 MB, free: 13.16 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.1212, allocations: 338.7 kB / 434.5 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.1213, allocations: 55.97 kB / 434.6 MB, free: 12.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001433/0.1215, allocations: 70.25 kB / 434.7 MB, free: 12.7 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003715/0.1218, allocations: 335.3 kB / 435 MB, free: 12.31 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1218, allocations: 0 / 435 MB, free: 12.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005657/0.1224, allocations: 380.3 kB / 435.4 MB, free: 11.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.866e-05/0.1225, allocations: 128.7 kB / 435.5 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.1225, allocations: 3.938 kB / 435.5 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.1225, allocations: 4 kB / 435.5 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.123e-05/0.1225, allocations: 0 / 435.5 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.1226, allocations: 0 / 435.5 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001407/0.1227, allocations: 15.94 kB / 435.5 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.495e-05/0.1228, allocations: 43.94 kB / 435.5 MB, free: 11.7 MB / 366.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.0003648/0.1231, allocations: 366.2 kB / 435.9 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.406e-05/0.1232, allocations: 35.81 kB / 435.9 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001062/0.1233, allocations: 75.12 kB / 436 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.1233, allocations: 0 / 436 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1233, allocations: 0 / 436 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.1233, allocations: 0 / 436 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001031/0.1243, allocations: 0.8153 MB / 436.8 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.1243, allocations: 4 kB / 436.8 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-06/0.1243, allocations: 0 / 436.8 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1243, allocations: 0 / 436.8 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.946e-05/0.1244, allocations: 11.98 kB / 436.8 MB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.287e-06/0.1244, allocations: 3.938 kB / 436.9 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1244, allocations: 4 kB / 436.9 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006733/0.125, allocations: 0.5294 MB / 437.4 MB, free: 9.699 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003167/0.1254, allocations: 244.6 kB / 437.6 MB, free: 9.441 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.537e-05/0.1254, allocations: 12.06 kB / 437.6 MB, free: 9.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.1256, allocations: 19.92 kB / 437.7 MB, free: 9.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.1257, allocations: 19.98 kB / 437.7 MB, free: 9.391 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.756e-05/0.1257, allocations: 47.92 kB / 437.7 MB, free: 9.344 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000476/0.1262, allocations: 390.9 kB / 438.1 MB, free: 8.961 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1262, allocations: 3.938 kB / 438.1 MB, free: 8.957 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002889/0.1265, allocations: 40 kB / 438.1 MB, free: 8.918 MB / 366.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.00112/0.1276, allocations: 1.084 MB / 439.2 MB, free: 7.785 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005306/0.1281, allocations: 381.5 kB / 439.6 MB, free: 7.363 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1281, allocations: 0 / 439.6 MB, free: 7.363 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003194/0.1285, allocations: 305.5 kB / 439.9 MB, free: 7.016 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000632/0.1291, allocations: 136.7 kB / 440 MB, free: 6.895 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003781/0.1329, allocations: 2.753 MB / 442.8 MB, free: 4.027 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004814/0.1334, allocations: 0.8061 MB / 443.6 MB, free: 3.195 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.139e-05/0.1334, allocations: 8.656 kB / 443.6 MB, free: 3.188 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.154e-05/0.1335, allocations: 27.44 kB / 443.6 MB, free: 3.16 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1335, allocations: 0 / 443.6 MB, free: 3.16 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2182/0.3516, allocations: 5.936 MB / 449.6 MB, free: 24.84 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.291/8.642, allocations: 9.281 kB / 449.6 MB, free: 24.84 MB / 366.1 MB " [Timeout remaining time 651] (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: 11.101059851993341] Failed to read output from testmodel.py, exit status != 0: ['time', 'iNV3S.y'] 8.765510499011725 8.776711401 8.658401395 Calling exit ...