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.001331/0.001331, allocations: 121 kB / 18.5 MB, free: 4.562 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.001569/0.001569, allocations: 213.5 kB / 21.45 MB, free: 1.617 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.451/1.451, allocations: 230.6 MB / 254.8 MB, free: 15.08 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.001572/0.001572, allocations: 55.92 kB / 373.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1098, allocations: 53.33 MB / 427 MB, free: 4.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002747/0.1126, allocations: 1.527 MB / 428.5 MB, free: 3.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001962/0.1145, allocations: 0.8848 MB / 429.4 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.689e-05/0.1146, allocations: 0 / 429.4 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001095/0.1147, allocations: 11.92 kB / 429.4 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.52e-05/0.1148, allocations: 19.86 kB / 429.5 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002818/0.1151, allocations: 51.83 kB / 429.5 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002324/0.1153, allocations: 139.7 kB / 429.6 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.1154, allocations: 15.98 kB / 429.7 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004967/0.1159, allocations: 403.2 kB / 430.1 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.1161, allocations: 67.75 kB / 430.1 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.901e-05/0.1161, allocations: 12 kB / 430.1 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.689e-05/0.1161, allocations: 8 kB / 430.1 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001019/0.1162, allocations: 67.7 kB / 430.2 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001295/0.1163, allocations: 115.2 kB / 430.3 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004046/0.1168, allocations: 358.5 kB / 430.7 MB, free: 1.094 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1168, allocations: 0 / 430.7 MB, free: 1.094 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1168, allocations: 0 / 430.7 MB, free: 1.094 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.1168, allocations: 4 kB / 430.7 MB, free: 1.09 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.0008784/0.1176, allocations: 0.7372 MB / 431.4 MB, free: 288 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.1177, allocations: 8.031 kB / 431.4 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.619e-05/0.1177, allocations: 8.125 kB / 431.4 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.908e-05/0.1178, allocations: 42.73 kB / 431.5 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.05e-05/0.1178, allocations: 36.7 kB / 431.5 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1908/0.3087, allocations: 278.7 kB / 431.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.916e-05/0.3087, allocations: 11.5 kB / 431.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.785e-05/0.3087, allocations: 10.81 kB / 431.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003541/0.3091, allocations: 121.7 kB / 431.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.3091, allocations: 0.9375 kB / 431.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.591e-05/0.3091, allocations: 6.062 kB / 431.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.3091, allocations: 1.375 kB / 431.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001488/0.3093, allocations: 61.58 kB / 432 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006595/0.31, allocations: 449.3 kB / 432.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000169/0.3101, allocations: 71.25 kB / 432.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000138/0.3103, allocations: 62.77 kB / 432.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.353e-05/0.3103, allocations: 6.375 kB / 432.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003753/0.3106, allocations: 210.9 kB / 432.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.843e-06/0.3107, allocations: 0.9375 kB / 432.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007722/0.3114, allocations: 464.9 kB / 433.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.828e-05/0.3115, allocations: 168.6 kB / 433.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005002/0.312, allocations: 0.5237 MB / 433.9 MB, free: 10.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.312, allocations: 32.05 kB / 433.9 MB, free: 10.01 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.135e-05/0.312, allocations: 97.56 kB / 434 MB, free: 9.926 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.66e-05/0.3121, allocations: 39.05 kB / 434.1 MB, free: 9.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/0.3122, allocations: 81.33 kB / 434.2 MB, free: 9.883 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.271e-05/0.3122, allocations: 319.2 kB / 434.5 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.3124, allocations: 58.12 kB / 434.5 MB, free: 9.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/0.3125, allocations: 70.2 kB / 434.6 MB, free: 9.555 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002707/0.3128, allocations: 347.5 kB / 434.9 MB, free: 9.289 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3128, allocations: 5.031 kB / 434.9 MB, free: 9.289 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004869/0.3133, allocations: 387.3 kB / 435.3 MB, free: 9.117 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.599e-05/0.3133, allocations: 129.8 kB / 435.4 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.3133, allocations: 1.344 kB / 435.4 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.3133, allocations: 0 / 435.4 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.094e-05/0.3134, allocations: 1.156 kB / 435.4 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.3134, allocations: 1.25 kB / 435.4 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001364/0.3135, allocations: 15.3 kB / 435.5 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.912e-05/0.3136, allocations: 39.25 kB / 435.5 MB, free: 8.992 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.0002758/0.3139, allocations: 359.8 kB / 435.9 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.251e-05/0.3139, allocations: 44.11 kB / 435.9 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.239e-05/0.314, allocations: 71.92 kB / 436 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.314, allocations: 0 / 436 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.314, allocations: 4.688 kB / 436 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.314, allocations: 0 / 436 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008266/0.3148, allocations: 0.8037 MB / 436.8 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.3148, allocations: 4.234 kB / 436.8 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.017e-06/0.3148, allocations: 0 / 436.8 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3148, allocations: 1.719 kB / 436.8 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.825e-05/0.3149, allocations: 13.28 kB / 436.8 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.3149, allocations: 5.531 kB / 436.8 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.3149, allocations: 2.625 kB / 436.8 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005725/0.3154, allocations: 0.5368 MB / 437.3 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002623/0.3157, allocations: 246.4 kB / 437.6 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.378e-05/0.3158, allocations: 13.52 kB / 437.6 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/0.3159, allocations: 10.58 kB / 437.6 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.316, allocations: 22.83 kB / 437.6 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.422e-05/0.3161, allocations: 45.69 kB / 437.7 MB, free: 7.707 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004397/0.3165, allocations: 388.8 kB / 438 MB, free: 7.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3165, allocations: 0 / 438 MB, free: 7.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003005/0.3168, allocations: 42.38 kB / 438.1 MB, free: 7.5 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.0008312/0.3176, allocations: 1.087 MB / 439.2 MB, free: 6.617 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004901/0.3181, allocations: 374.8 kB / 439.5 MB, free: 6.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3181, allocations: 96 / 439.5 MB, free: 6.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002719/0.3184, allocations: 303.8 kB / 439.8 MB, free: 6.039 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006804/0.3191, allocations: 122.5 kB / 440 MB, free: 6.016 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003231/0.3223, allocations: 2.769 MB / 442.7 MB, free: 4.094 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003056/0.3226, allocations: 0.8008 MB / 443.5 MB, free: 3.363 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.224e-05/0.3227, allocations: 7.328 kB / 443.5 MB, free: 3.363 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.686e-05/0.3227, allocations: 33.98 kB / 443.6 MB, free: 3.336 MB / 350.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3227, allocations: 0 / 443.6 MB, free: 3.336 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02554/0.3483, allocations: 5.964 MB / 449.5 MB, free: 2.578 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.237/8.585, allocations: 3.219 kB / 449.5 MB, free: 2.578 MB / 350.1 MB " [Timeout remaining time 651] (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: 10.98911618598504] Failed to read output from testmodel.py, exit status != 0: ['time', 'iNV3S.y'] 8.709313411032781 8.729584546 8.608867888 Calling exit ...