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.001644/0.001644, allocations: 121.3 kB / 18.5 MB, free: 4.578 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.002008/0.002008, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.432/1.432, allocations: 230.4 MB / 254.7 MB, free: 15.02 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.001865/0.001865, allocations: 67.89 kB / 373.6 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1031, allocations: 53.32 MB / 426.9 MB, free: 4.836 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002612/0.1058, allocations: 1.539 MB / 428.4 MB, free: 3.285 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001903/0.1077, allocations: 0.881 MB / 429.3 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.921e-05/0.1077, allocations: 0 / 429.3 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.594e-05/0.1078, allocations: 11.86 kB / 429.3 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.954e-05/0.1079, allocations: 19.86 kB / 429.3 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000239/0.1081, allocations: 51.88 kB / 429.4 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001993/0.1083, allocations: 139.7 kB / 429.5 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.763e-05/0.1084, allocations: 15.98 kB / 429.5 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004518/0.1088, allocations: 403.2 kB / 429.9 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001316/0.109, allocations: 67.77 kB / 430 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.6e-05/0.109, allocations: 8 kB / 430 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.841e-05/0.109, allocations: 12 kB / 430 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.612e-05/0.1091, allocations: 63.69 kB / 430.1 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001195/0.1093, allocations: 115.2 kB / 430.2 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003637/0.1096, allocations: 358.5 kB / 430.5 MB, free: 1.156 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1096, allocations: 0 / 430.5 MB, free: 1.156 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1096, allocations: 0 / 430.5 MB, free: 1.156 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.1096, allocations: 4 kB / 430.5 MB, free: 1.152 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.0007916/0.1104, allocations: 0.7343 MB / 431.3 MB, free: 352 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.1105, allocations: 12.03 kB / 431.3 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.767e-05/0.1105, allocations: 38.75 kB / 431.3 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.064e-05/0.1106, allocations: 36.7 kB / 431.4 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1908/0.3013, allocations: 279 kB / 431.6 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.701e-05/0.3014, allocations: 5.812 kB / 431.6 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.138e-05/0.3014, allocations: 9.219 kB / 431.7 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003238/0.3017, allocations: 121.8 kB / 431.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.3017, allocations: 1.281 kB / 431.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.265e-05/0.3018, allocations: 6.031 kB / 431.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.3018, allocations: 2.875 kB / 431.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001422/0.3019, allocations: 61.39 kB / 431.8 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006832/0.3026, allocations: 460.8 kB / 432.3 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001624/0.3028, allocations: 78.59 kB / 432.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/0.3029, allocations: 60.45 kB / 432.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.212e-05/0.3029, allocations: 4.906 kB / 432.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003211/0.3032, allocations: 200 kB / 432.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.523e-06/0.3032, allocations: 0 / 432.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0006897/0.3039, allocations: 470.2 kB / 433.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.289e-05/0.3039, allocations: 169.6 kB / 433.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005081/0.3045, allocations: 0.518 MB / 433.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.3045, allocations: 32.14 kB / 433.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.211e-05/0.3045, allocations: 99.34 kB / 433.9 MB, free: 9.973 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.039e-05/0.3046, allocations: 33.05 kB / 433.9 MB, free: 9.961 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.994e-05/0.3046, allocations: 85.3 kB / 434 MB, free: 9.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.535e-05/0.3047, allocations: 318.5 kB / 434.3 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.3048, allocations: 60.78 kB / 434.4 MB, free: 9.617 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.3049, allocations: 67.88 kB / 434.5 MB, free: 9.602 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002377/0.3051, allocations: 346.5 kB / 434.8 MB, free: 9.336 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3051, allocations: 0.625 kB / 434.8 MB, free: 9.336 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004228/0.3056, allocations: 394.2 kB / 435.2 MB, free: 9.164 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.383e-05/0.3056, allocations: 123.3 kB / 435.3 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.3056, allocations: 6.234 kB / 435.3 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.3056, allocations: 4.344 kB / 435.3 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.973e-05/0.3056, allocations: 1.125 kB / 435.3 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.3057, allocations: 1.094 kB / 435.3 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001225/0.3058, allocations: 11.56 kB / 435.3 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.726e-05/0.3058, allocations: 39 kB / 435.4 MB, free: 9.039 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.000253/0.3061, allocations: 366.9 kB / 435.7 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.328e-05/0.3061, allocations: 44.11 kB / 435.8 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.531e-05/0.3062, allocations: 66.42 kB / 435.8 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.3062, allocations: 1.094 kB / 435.8 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.3062, allocations: 0 / 435.8 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3062, allocations: 2.312 kB / 435.8 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007753/0.307, allocations: 0.8078 MB / 436.6 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.307, allocations: 0.9688 kB / 436.6 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.208e-06/0.307, allocations: 0.8438 kB / 436.6 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.307, allocations: 4.562 kB / 436.6 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.368e-05/0.307, allocations: 10.44 kB / 436.7 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.307, allocations: 1.219 kB / 436.7 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.307, allocations: 0 / 436.7 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005061/0.3075, allocations: 0.5398 MB / 437.2 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002814/0.3078, allocations: 249.9 kB / 437.4 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.976e-05/0.3079, allocations: 11.41 kB / 437.4 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/0.308, allocations: 11.05 kB / 437.5 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.474e-05/0.3081, allocations: 22.97 kB / 437.5 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.471e-05/0.3081, allocations: 46.75 kB / 437.5 MB, free: 7.758 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000393/0.3085, allocations: 389.3 kB / 437.9 MB, free: 7.555 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3085, allocations: 0 / 437.9 MB, free: 7.555 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002742/0.3088, allocations: 46.23 kB / 438 MB, free: 7.555 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.0006976/0.3095, allocations: 1.088 MB / 439 MB, free: 6.672 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003888/0.3099, allocations: 372.8 kB / 439.4 MB, free: 6.375 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3099, allocations: 0 / 439.4 MB, free: 6.375 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002032/0.3101, allocations: 300.1 kB / 439.7 MB, free: 6.098 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006064/0.3107, allocations: 124.1 kB / 439.8 MB, free: 6.074 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002805/0.3135, allocations: 2.774 MB / 442.6 MB, free: 4.152 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000274/0.3138, allocations: 0.7958 MB / 443.4 MB, free: 3.426 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.127e-05/0.3139, allocations: 9.094 kB / 443.4 MB, free: 3.422 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.028e-05/0.3139, allocations: 35.23 kB / 443.4 MB, free: 3.395 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3139, allocations: 0 / 443.4 MB, free: 3.395 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03366/0.3476, allocations: 5.925 MB / 449.4 MB, free: 2.664 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.827/8.174, allocations: 12.56 kB / 449.4 MB, free: 2.66 MB / 350.1 MB " [Timeout remaining time 652] (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: 10.451896123122424] Failed to read output from testmodel.py, exit status != 0: ['time', 'iNV3S.y'] 8.240326035767794 8.252871471 8.140498819 Calling exit ...