Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.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.001462/0.001462, allocations: 109.3 kB / 19.8 MB, free: 2.5 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.001666/0.001666, allocations: 221 kB / 23 MB, free: 5.582 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.445/1.445, allocations: 230.5 MB / 256.5 MB, free: 8.164 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.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",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.001932/0.001932, allocations: 63.84 kB / 376.2 MB, free: 3.992 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.2557, allocations: 53.32 MB / 429.5 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004933/0.2606, allocations: 3.339 MB / 432.9 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002412/0.263, allocations: 1.429 MB / 434.3 MB, free: 2.598 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002281/0.2633, allocations: 8 kB / 434.3 MB, free: 2.59 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004295/0.2637, allocations: 147.1 kB / 434.4 MB, free: 2.445 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001031/0.2647, allocations: 425.7 kB / 434.9 MB, free: 2.027 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004213/0.2652, allocations: 187.4 kB / 435 MB, free: 1.844 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006385/0.2658, allocations: 458.1 kB / 435.5 MB, free: 1.395 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002362/0.266, allocations: 120.2 kB / 435.6 MB, free: 1.273 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002466/0.2663, allocations: 175.3 kB / 435.8 MB, free: 1.102 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002799/0.2666, allocations: 195.2 kB / 436 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.942e-05/0.2666, allocations: 36 kB / 436 MB, free: 0.875 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003436/0.267, allocations: 175.8 kB / 436.2 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.332e-05/0.267, allocations: 79.7 kB / 436.2 MB, free: 0.625 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001774/0.2672, allocations: 199 kB / 436.4 MB, free: 440 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007332/0.2679, allocations: 0.5569 MB / 437 MB, free: 15.87 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2679, allocations: 0 / 437 MB, free: 15.87 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2679, allocations: 0 / 437 MB, free: 15.87 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.268, allocations: 0 / 437 MB, free: 15.87 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001473/0.2694, allocations: 0.752 MB / 437.8 MB, free: 15.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.2695, allocations: 12.03 kB / 437.8 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.957e-05/0.2696, allocations: 70.72 kB / 437.8 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007292/0.2703, allocations: 120.4 kB / 438 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004961/0.2708, allocations: 317.8 kB / 438.3 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.892e-05/0.2708, allocations: 29.38 kB / 438.3 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.067e-05/0.2709, allocations: 32.38 kB / 438.3 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006264/0.2715, allocations: 353.5 kB / 438.7 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.2715, allocations: 0 / 438.7 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.742e-05/0.2715, allocations: 16 kB / 438.7 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.264e-05/0.2716, allocations: 11.98 kB / 438.7 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005107/0.2721, allocations: 254.1 kB / 438.9 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00209/0.2742, allocations: 1.316 MB / 440.3 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004039/0.2746, allocations: 181.2 kB / 440.4 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001706/0.2747, allocations: 85.62 kB / 440.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001094/0.2758, allocations: 1.196 MB / 441.7 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.2759, allocations: 34.56 kB / 441.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.423e-06/0.2759, allocations: 0 / 441.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005718/0.2764, allocations: 225.4 kB / 442 MB, free: 10.47 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.709e-05/0.2765, allocations: 81.11 kB / 442 MB, free: 10.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003068/0.2768, allocations: 283 kB / 442.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.2768, allocations: 29.7 kB / 442.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001774/0.277, allocations: 252.1 kB / 442.6 MB, free: 9.805 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.287e-05/0.277, allocations: 63.48 kB / 442.7 MB, free: 9.742 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.972e-05/0.2771, allocations: 65.98 kB / 442.7 MB, free: 9.668 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.2773, allocations: 334.8 kB / 443.1 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001588/0.2775, allocations: 68.61 kB / 443.1 MB, free: 9.266 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002449/0.2777, allocations: 198.6 kB / 443.3 MB, free: 9.012 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004306/0.2781, allocations: 292.9 kB / 443.6 MB, free: 8.664 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.2781, allocations: 7.938 kB / 443.6 MB, free: 8.656 MB / 350.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005619/0.2787, allocations: 328.5 kB / 443.9 MB, free: 8.332 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.2787, allocations: 8 kB / 443.9 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.2787, allocations: 4 kB / 443.9 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.702e-05/0.2788, allocations: 11.94 kB / 444 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002864/0.279, allocations: 79.83 kB / 444 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.357e-05/0.2791, allocations: 8 kB / 444 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001959/0.2792, allocations: 35.72 kB / 444.1 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.796e-05/0.2793, allocations: 19.98 kB / 444.1 MB, free: 8.168 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * 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.0001712/0.2794, allocations: 157.8 kB / 444.2 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.057e-05/0.2795, allocations: 31.81 kB / 444.3 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.292e-05/0.2796, allocations: 29.78 kB / 444.3 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.2796, allocations: 3.938 kB / 444.3 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.2796, allocations: 0 / 444.3 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.2796, allocations: 7.984 kB / 444.3 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007566/0.2804, allocations: 0.5108 MB / 444.8 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.2804, allocations: 3.938 kB / 444.8 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002135/0.2806, allocations: 43.98 kB / 444.9 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.2806, allocations: 0 / 444.9 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.923e-05/0.2806, allocations: 7.984 kB / 444.9 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.2806, allocations: 0 / 444.9 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.2806, allocations: 4 kB / 444.9 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005956/0.2812, allocations: 426 kB / 445.3 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.288e-05/0.2813, allocations: 108.8 kB / 445.4 MB, free: 6.746 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.562e-05/0.2813, allocations: 8 kB / 445.4 MB, free: 6.738 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002046/0.2815, allocations: 11.98 kB / 445.4 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.272e-05/0.2816, allocations: 16.05 kB / 445.4 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.2816, allocations: 7.984 kB / 445.5 MB, free: 6.703 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002075/0.2818, allocations: 202 kB / 445.6 MB, free: 6.508 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2818, allocations: 0 / 445.6 MB, free: 6.508 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004358/0.2822, allocations: 75.89 kB / 445.7 MB, free: 6.434 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (inductor_e.i,converter_m.Phi.re) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * 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.0009591/0.2832, allocations: 0.97 MB / 446.7 MB, free: 5.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004271/0.2836, allocations: 183.7 kB / 446.9 MB, free: 5.25 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2836, allocations: 0 / 446.9 MB, free: 5.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001567/0.2838, allocations: 67.91 kB / 446.9 MB, free: 5.184 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004231/0.2842, allocations: 36.25 kB / 447 MB, free: 5.152 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003995/0.2882, allocations: 3.123 MB / 450.1 MB, free: 1.812 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000408/0.2886, allocations: 0.7791 MB / 450.9 MB, free: 1.008 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001277/0.2887, allocations: 30.97 kB / 450.9 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001646/0.2889, allocations: 111.4 kB / 451 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of SimCode: time 7.42e-07/0.2889, allocations: 0 / 451 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0315/0.3204, allocations: 5.58 MB / 456.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.103/8.424, allocations: 8 kB / 456.6 MB, free: 11.42 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.74997281099786] Failed to read output from testmodel.py, exit status != 0: ['time', 'converter_m.Phi.re', 'inductor_e.i'] 8.495549685001606 8.512661938 8.241267373 Calling exit ...