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.001282/0.001282, 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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001444/0.001444, allocations: 212.7 kB / 24.52 MB, free: 3.91 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.487/1.487, allocations: 230.5 MB / 258.2 MB, free: 7.789 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.001857/0.001857, allocations: 55.91 kB / 378.5 MB, free: 2.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.3165, allocations: 53.41 MB / 431.9 MB, free: 6.465 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.003969/0.3204, allocations: 1.475 MB / 433.4 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003288/0.3237, allocations: 0.8381 MB / 434.2 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.335e-05/0.3238, allocations: 0 / 434.2 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000127/0.3239, allocations: 15.86 kB / 434.2 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001186/0.324, allocations: 15.86 kB / 434.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004046/0.3244, allocations: 55.88 kB / 434.3 MB, free: 4.055 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003201/0.3248, allocations: 135.7 kB / 434.5 MB, free: 3.922 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.3249, allocations: 11.98 kB / 434.5 MB, free: 3.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007465/0.3256, allocations: 403.2 kB / 434.9 MB, free: 3.516 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001905/0.3258, allocations: 67.7 kB / 434.9 MB, free: 3.449 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.004e-05/0.3259, allocations: 12 kB / 434.9 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.944e-05/0.3259, allocations: 8 kB / 434.9 MB, free: 3.43 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001314/0.3261, allocations: 67.75 kB / 435 MB, free: 3.363 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001546/0.3262, allocations: 83.34 kB / 435.1 MB, free: 3.281 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006057/0.3268, allocations: 367.2 kB / 435.4 MB, free: 2.926 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3268, allocations: 0 / 435.4 MB, free: 2.926 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3268, allocations: 0 / 435.4 MB, free: 2.926 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.154e-06/0.3268, allocations: 0 / 435.4 MB, free: 2.926 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.00114/0.328, allocations: 0.6591 MB / 436.1 MB, free: 2.211 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.328, allocations: 8.031 kB / 436.1 MB, free: 2.203 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.093e-05/0.3281, allocations: 8.188 kB / 436.1 MB, free: 2.195 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.635e-05/0.3281, allocations: 38.75 kB / 436.2 MB, free: 2.148 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001078/0.3282, allocations: 36.7 kB / 436.2 MB, free: 2.113 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004111/0.3286, allocations: 216.9 kB / 436.4 MB, free: 1.875 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.319e-05/0.3287, allocations: 8.359 kB / 436.4 MB, free: 1.867 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.784e-05/0.3287, allocations: 8.375 kB / 436.4 MB, free: 1.859 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005874/0.3293, allocations: 252.2 kB / 436.7 MB, free: 1.582 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.3293, allocations: 7.938 kB / 436.7 MB, free: 1.574 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.818e-05/0.3294, allocations: 4 kB / 436.7 MB, free: 1.57 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.3294, allocations: 4 kB / 436.7 MB, free: 1.566 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003673/0.3297, allocations: 178.8 kB / 436.9 MB, free: 1.367 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.3308, allocations: 415.6 kB / 437.3 MB, free: 0.918 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003712/0.3311, allocations: 193.3 kB / 437.5 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003498/0.3315, allocations: 179.7 kB / 437.6 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.277e-05/0.3315, allocations: 0 / 437.6 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006818/0.3322, allocations: 317.5 kB / 437.9 MB, free: 136 kB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.964e-06/0.3322, allocations: 0 / 437.9 MB, free: 136 kB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.001526/0.3337, allocations: 0.701 MB / 438.6 MB, free: 15.35 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001535/0.3339, allocations: 170.2 kB / 438.8 MB, free: 15.15 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001114/0.335, allocations: 0.5169 MB / 439.3 MB, free: 14.62 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.699e-05/0.335, allocations: 29.7 kB / 439.4 MB, free: 14.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.3351, allocations: 101.1 kB / 439.5 MB, free: 14.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.815e-05/0.3352, allocations: 23.86 kB / 439.5 MB, free: 14.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001881/0.3354, allocations: 89.44 kB / 439.6 MB, free: 14.37 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002117/0.3356, allocations: 326.8 kB / 439.9 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000317/0.3359, allocations: 174.8 kB / 440.1 MB, free: 13.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003174/0.3362, allocations: 192.5 kB / 440.2 MB, free: 13.62 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006396/0.3369, allocations: 350.5 kB / 440.6 MB, free: 13.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.3369, allocations: 4 kB / 440.6 MB, free: 13.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.001052/0.3379, allocations: 499.1 kB / 441.1 MB, free: 12.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001687/0.3381, allocations: 126.8 kB / 441.2 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.3381, allocations: 0 / 441.2 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.3381, allocations: 4 kB / 441.2 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.278e-05/0.3381, allocations: 0 / 441.2 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.3381, allocations: 0 / 441.2 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002284/0.3384, allocations: 20.05 kB / 441.2 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.892e-05/0.3385, allocations: 51.81 kB / 441.3 MB, free: 12.46 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.0006096/0.3391, allocations: 358.3 kB / 441.6 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.883e-05/0.3392, allocations: 43.75 kB / 441.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001794/0.3393, allocations: 67.08 kB / 441.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.3394, allocations: 4 kB / 441.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.3394, allocations: 0 / 441.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.3394, allocations: 0 / 441.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001724/0.3411, allocations: 0.8855 MB / 442.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.3411, allocations: 0 / 442.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.434e-06/0.3411, allocations: 0 / 442.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.363e-06/0.3411, allocations: 4 kB / 442.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.463e-05/0.3411, allocations: 12 kB / 442.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.935e-06/0.3412, allocations: 12.11 kB / 442.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.3412, allocations: 3.984 kB / 442.7 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001223/0.3424, allocations: 0.6531 MB / 443.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005768/0.343, allocations: 193.4 kB / 443.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.89e-05/0.343, allocations: 12 kB / 443.5 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002361/0.3433, allocations: 11.94 kB / 443.5 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001491/0.3434, allocations: 23.97 kB / 443.5 MB, free: 9.992 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.59e-05/0.3435, allocations: 51.92 kB / 443.6 MB, free: 9.941 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007099/0.3442, allocations: 386.9 kB / 444 MB, free: 9.562 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3442, allocations: 0 / 444 MB, free: 9.562 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004939/0.3447, allocations: 40 kB / 444 MB, free: 9.523 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.00155/0.3463, allocations: 1.221 MB / 445.2 MB, free: 8.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009062/0.3472, allocations: 0.6085 MB / 445.8 MB, free: 7.523 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.3472, allocations: 0 / 445.8 MB, free: 7.523 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005165/0.3477, allocations: 424.3 kB / 446.3 MB, free: 7.035 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008924/0.3486, allocations: 133 kB / 446.4 MB, free: 6.922 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004387/0.353, allocations: 3.355 MB / 449.7 MB, free: 3.332 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003092/0.3533, allocations: 193.8 kB / 449.9 MB, free: 3.121 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.889e-05/0.3534, allocations: 8.656 kB / 449.9 MB, free: 3.113 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.337e-05/0.3534, allocations: 27.44 kB / 450 MB, free: 3.086 MB / 350.1 MB Notification: Performance of SimCode: time 1.456e-05/0.3535, allocations: 0 / 450 MB, free: 3.086 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0293/0.3828, allocations: 6.582 MB / 456.5 MB, free: 12.59 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.53, allocations: 6.438 kB / 456.6 MB, free: 12.58 MB / 366.1 MB " [Timeout remaining time 648] (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.985203222953714] Failed to read output from testmodel.py, exit status != 0: ['time', 'iNV3S.y'] 11.689096882008016 11.705664296 11.375416319 Calling exit ...