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.001766/0.001766, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.002118/0.002118, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.408/1.408, allocations: 230.6 MB / 258.3 MB, free: 8 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.001525/0.001525, allocations: 43.94 kB / 378.6 MB, free: 3.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.2633, allocations: 53.37 MB / 431.9 MB, free: 6.848 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002785/0.2661, allocations: 1.538 MB / 433.5 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00193/0.268, allocations: 0.8926 MB / 434.3 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.823e-05/0.2681, allocations: 0 / 434.3 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.885e-05/0.2682, allocations: 19.86 kB / 434.4 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.947e-05/0.2683, allocations: 19.8 kB / 434.4 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002543/0.2685, allocations: 55.88 kB / 434.4 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000212/0.2687, allocations: 135.7 kB / 434.6 MB, free: 4.18 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.2688, allocations: 15.97 kB / 434.6 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000485/0.2693, allocations: 403.2 kB / 435 MB, free: 3.77 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001497/0.2695, allocations: 67.75 kB / 435 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.534e-05/0.2695, allocations: 8 kB / 435.1 MB, free: 3.695 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.628e-05/0.2695, allocations: 8 kB / 435.1 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.302e-05/0.2696, allocations: 71.7 kB / 435.1 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001201/0.2697, allocations: 119.1 kB / 435.3 MB, free: 3.5 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003808/0.2701, allocations: 358.9 kB / 435.6 MB, free: 3.152 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.2701, allocations: 0 / 435.6 MB, free: 3.152 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2701, allocations: 0 / 435.6 MB, free: 3.152 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.2701, allocations: 0 / 435.6 MB, free: 3.152 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.0007626/0.2709, allocations: 0.659 MB / 436.3 MB, free: 2.438 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.2709, allocations: 8.031 kB / 436.3 MB, free: 2.43 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.203e-05/0.2709, allocations: 4.188 kB / 436.3 MB, free: 2.426 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.212e-05/0.271, allocations: 42.75 kB / 436.3 MB, free: 2.375 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.368e-05/0.271, allocations: 36.7 kB / 436.3 MB, free: 2.34 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000298/0.2713, allocations: 220.8 kB / 436.6 MB, free: 2.098 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.2714, allocations: 8.375 kB / 436.6 MB, free: 2.09 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.74e-05/0.2714, allocations: 8.375 kB / 436.6 MB, free: 2.082 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003014/0.2717, allocations: 125.5 kB / 436.7 MB, free: 1.953 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.2717, allocations: 0 / 436.7 MB, free: 1.953 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.694e-05/0.2717, allocations: 11.98 kB / 436.7 MB, free: 1.941 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.2717, allocations: 0 / 436.7 MB, free: 1.941 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001358/0.2719, allocations: 55.97 kB / 436.8 MB, free: 1.887 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006494/0.2725, allocations: 431.5 kB / 437.2 MB, free: 1.422 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.2727, allocations: 74.55 kB / 437.3 MB, free: 1.34 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001328/0.2728, allocations: 60.88 kB / 437.3 MB, free: 1.277 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.318e-06/0.2728, allocations: 0 / 437.3 MB, free: 1.277 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003674/0.2732, allocations: 206.6 kB / 437.5 MB, free: 1.051 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.272e-06/0.2732, allocations: 0 / 437.5 MB, free: 1.051 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007984/0.274, allocations: 468.2 kB / 438 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.2741, allocations: 166.3 kB / 438.1 MB, free: 372 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006586/0.2748, allocations: 0.5169 MB / 438.7 MB, free: 15.83 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.257e-05/0.2748, allocations: 29.7 kB / 438.7 MB, free: 15.8 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.2749, allocations: 105.1 kB / 438.8 MB, free: 15.69 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.463e-05/0.275, allocations: 31.78 kB / 438.8 MB, free: 15.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.2751, allocations: 81.52 kB / 438.9 MB, free: 15.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.2752, allocations: 326.8 kB / 439.2 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/0.2754, allocations: 55.97 kB / 439.3 MB, free: 15.19 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001307/0.2755, allocations: 73.53 kB / 439.4 MB, free: 15.12 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003615/0.2759, allocations: 346.7 kB / 439.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.2759, allocations: 0 / 439.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005345/0.2764, allocations: 368.3 kB / 440 MB, free: 14.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.899e-05/0.2765, allocations: 126.8 kB / 440.2 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.2765, allocations: 0 / 440.2 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.2765, allocations: 4 kB / 440.2 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.81e-05/0.2765, allocations: 3.984 kB / 440.2 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.2765, allocations: 0 / 440.2 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000127/0.2767, allocations: 15.95 kB / 440.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.644e-05/0.2767, allocations: 51.86 kB / 440.2 MB, free: 14.11 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.0003528/0.2771, allocations: 358.3 kB / 440.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.892e-05/0.2771, allocations: 39.81 kB / 440.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001081/0.2772, allocations: 63.09 kB / 440.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.2772, allocations: 4 kB / 440.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.2772, allocations: 0 / 440.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.2772, allocations: 0 / 440.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009957/0.2782, allocations: 0.789 MB / 441.5 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2782, allocations: 192 / 441.5 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.127e-06/0.2782, allocations: 7.938 kB / 441.5 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2783, allocations: 4 kB / 441.5 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.908e-05/0.2783, allocations: 15.98 kB / 441.5 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.676e-06/0.2783, allocations: 7.938 kB / 441.5 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.2783, allocations: 3.984 kB / 441.5 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006687/0.279, allocations: 0.5253 MB / 442.1 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003704/0.2793, allocations: 201.4 kB / 442.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.621e-05/0.2794, allocations: 12 kB / 442.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.2795, allocations: 15.92 kB / 442.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.2796, allocations: 19.98 kB / 442.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.771e-05/0.2797, allocations: 51.92 kB / 442.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004729/0.2802, allocations: 382.9 kB / 442.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2802, allocations: 0 / 442.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002815/0.2805, allocations: 44 kB / 442.8 MB, free: 11.45 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.001026/0.2815, allocations: 1.088 MB / 443.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004972/0.282, allocations: 381.5 kB / 444.2 MB, free: 9.887 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.282, allocations: 0 / 444.2 MB, free: 9.887 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002956/0.2823, allocations: 297.6 kB / 444.5 MB, free: 9.547 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006262/0.2829, allocations: 129 kB / 444.6 MB, free: 9.434 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00353/0.2864, allocations: 2.758 MB / 447.4 MB, free: 6.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005261/0.287, allocations: 0.8028 MB / 448.2 MB, free: 5.742 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.376e-05/0.287, allocations: 16.64 kB / 448.2 MB, free: 5.727 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.166e-05/0.2871, allocations: 23.44 kB / 448.2 MB, free: 5.703 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2871, allocations: 3.938 kB / 448.2 MB, free: 5.699 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02868/0.3158, allocations: 6.127 MB / 454.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.23, allocations: 8 kB / 454.4 MB, free: 15.69 MB / 366.1 MB " [Timeout remaining time 649] (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.59871623199433] Failed to read output from testmodel.py, exit status != 0: ['time', 'iNV3S.y'] 11.397817838005722 11.418457883 11.144395908 Calling exit ...