Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.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.001256/0.001256, 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 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.001423/0.001423, allocations: 211.8 kB / 24.51 MB, free: 3.914 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.36/1.36, allocations: 230.6 MB / 258.3 MB, free: 7.75 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.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 39.94 kB / 378.5 MB, free: 2.957 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2239/0.2253, allocations: 53.37 MB / 431.9 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.007627/0.233, allocations: 5.876 MB / 437.7 MB, free: 1.016 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004126/0.2371, allocations: 2.149 MB / 439.9 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006397/0.2377, allocations: 51.69 kB / 439.9 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008178/0.2386, allocations: 381.5 kB / 440.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002032/0.2406, allocations: 0.8434 MB / 441.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009168/0.2415, allocations: 362.9 kB / 441.5 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00461/0.2461, allocations: 3.188 MB / 444.7 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00207/0.2482, allocations: 1.098 MB / 445.8 MB, free: 8.883 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002036/0.2502, allocations: 1.336 MB / 447.1 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002817/0.253, allocations: 1.654 MB / 448.8 MB, free: 5.883 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008675/0.2539, allocations: 296 kB / 449.1 MB, free: 5.594 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001415/0.2553, allocations: 431.8 kB / 449.5 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001199/0.2565, allocations: 0.8606 MB / 450.4 MB, free: 4.309 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001946/0.2585, allocations: 1.182 MB / 451.5 MB, free: 3.121 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004413/0.2629, allocations: 4.142 MB / 455.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.2629, allocations: 3.938 kB / 455.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.2629, allocations: 0 / 455.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.669e-05/0.263, allocations: 8 kB / 455.7 MB, free: 14.95 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 588 * Number of variables: 588 Notification: Performance of Generate backend data structure: time 0.008191/0.2712, allocations: 3.478 MB / 459.2 MB, free: 11.42 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.528e-05/0.2712, allocations: 12.03 kB / 459.2 MB, free: 11.41 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.758e-05/0.2713, allocations: 60.77 kB / 459.2 MB, free: 11.34 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000472/0.2718, allocations: 337.1 kB / 459.6 MB, free: 11 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004135/0.2759, allocations: 0.7446 MB / 460.3 MB, free: 10.26 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00327/0.2792, allocations: 1.695 MB / 462 MB, free: 8.52 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001373/0.2793, allocations: 172.7 kB / 462.2 MB, free: 8.348 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004007/0.2797, allocations: 228 kB / 462.4 MB, free: 8.125 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005523/0.2852, allocations: 3.433 MB / 465.8 MB, free: 4.574 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.693e-05/0.2853, allocations: 8 kB / 465.8 MB, free: 4.566 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002211/0.2855, allocations: 92 kB / 465.9 MB, free: 4.477 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.379e-05/0.2856, allocations: 66 kB / 466 MB, free: 4.414 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004741/0.2903, allocations: 2.862 MB / 468.9 MB, free: 1.551 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01404/0.3043, allocations: 8.344 MB / 477.2 MB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003748/0.3081, allocations: 1.837 MB / 479 MB, free: 7.004 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001168/0.3093, allocations: 0.7683 MB / 479.8 MB, free: 6.234 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003641/0.3129, allocations: 2.043 MB / 481.9 MB, free: 4.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.417e-05/0.3129, allocations: 54.83 kB / 481.9 MB, free: 4.098 MB / 382.1 MB Notification: Performance of pre-optimization done (n=92): time 3.276e-06/0.3129, allocations: 0 / 481.9 MB, free: 4.098 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.007748/0.3207, allocations: 4.135 MB / 486 MB, free: 15.91 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.658e-05/0.3208, allocations: 119.2 kB / 486.2 MB, free: 15.77 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002136/0.3229, allocations: 1.618 MB / 487.8 MB, free: 14.14 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.746e-05/0.323, allocations: 41.7 kB / 487.8 MB, free: 14.09 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009071/0.3239, allocations: 1.141 MB / 489 MB, free: 12.94 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003074/0.3242, allocations: 368.9 kB / 489.3 MB, free: 12.57 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003723/0.3246, allocations: 242.8 kB / 489.6 MB, free: 12.33 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.3247, allocations: 365.9 kB / 489.9 MB, free: 11.97 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001021/0.3258, allocations: 0.6349 MB / 490.6 MB, free: 11.34 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001305/0.3271, allocations: 1.015 MB / 491.6 MB, free: 10.16 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002406/0.3295, allocations: 1.702 MB / 493.3 MB, free: 8.293 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.137e-06/0.3295, allocations: 4 kB / 493.3 MB, free: 8.289 MB / 398.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003421/0.3329, allocations: 1.952 MB / 495.2 MB, free: 6.324 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.3329, allocations: 11.94 kB / 495.2 MB, free: 6.312 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.708e-05/0.3329, allocations: 12.56 kB / 495.3 MB, free: 6.301 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003664/0.3333, allocations: 125.6 kB / 495.4 MB, free: 6.172 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001272/0.3346, allocations: 331.5 kB / 495.7 MB, free: 5.848 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003029/0.3376, allocations: 3.213 MB / 498.9 MB, free: 2.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001057/0.3387, allocations: 95.67 kB / 499 MB, free: 2.316 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/0.3388, allocations: 60.11 kB / 499.1 MB, free: 2.258 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (155): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001358/0.3401, allocations: 0.8328 MB / 499.9 MB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003545/0.3405, allocations: 166.9 kB / 0.4883 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002507/0.343, allocations: 1.385 MB / 0.4897 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/0.343, allocations: 15.88 kB / 0.4897 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/0.343, allocations: 8 kB / 0.4897 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.343, allocations: 3.984 kB / 0.4897 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003603/0.3466, allocations: 2.253 MB / 0.4919 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.3466, allocations: 8.281 kB / 0.4919 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008378/0.3475, allocations: 187.8 kB / 0.4921 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006835/0.3482, allocations: 258.2 kB / 0.4924 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.301e-05/0.3483, allocations: 39.97 kB / 0.4924 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006048/0.3543, allocations: 5.885 MB / 0.4981 GB, free: 6.781 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.3543, allocations: 4.031 kB / 0.4981 GB, free: 6.777 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004024/0.3583, allocations: 2.558 MB / 0.5006 GB, free: 4.188 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004797/0.3588, allocations: 186.8 kB / 0.5008 GB, free: 4.004 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001835/0.359, allocations: 27.98 kB / 0.5008 GB, free: 3.977 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008367/0.3598, allocations: 92.03 kB / 0.5009 GB, free: 3.887 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002511/0.3601, allocations: 100.1 kB / 0.501 GB, free: 3.785 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.476e-05/0.3602, allocations: 35.98 kB / 0.5011 GB, free: 3.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001516/0.3617, allocations: 1.132 MB / 0.5022 GB, free: 2.617 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3617, allocations: 0 / 0.5022 GB, free: 2.617 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001431/0.3631, allocations: 455.9 kB / 0.5026 GB, free: 2.172 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (inductor_e.inductor[1].i,inductor_e.inductor[2].i,inductor_e.inductor[3].i,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im,converter_s[1].Phi.re,converter_s[2].Phi.im,converter_s[3].Phi.im) * 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 (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,16,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00432/0.3674, allocations: 3.167 MB / 0.5057 GB, free: 14.96 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002896/0.3703, allocations: 1.665 MB / 0.5073 GB, free: 13.27 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.682e-06/0.3703, allocations: 7.938 kB / 0.5073 GB, free: 13.26 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001877/0.3722, allocations: 1.153 MB / 0.5085 GB, free: 12.07 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001479/0.3737, allocations: 276.1 kB / 0.5087 GB, free: 11.8 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02501/0.3987, allocations: 17.48 MB / 0.5258 GB, free: 9.781 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001745/0.4004, allocations: 1.539 MB / 0.5273 GB, free: 8.195 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001143/0.4016, allocations: 455.5 kB / 0.5277 GB, free: 7.746 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00108/0.4027, allocations: 0.8234 MB / 0.5285 GB, free: 6.922 MB / 446.1 MB Notification: Performance of SimCode: time 9.72e-07/0.4027, allocations: 4 kB / 0.5285 GB, free: 6.918 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2479/0.6506, allocations: 40.48 MB / 0.5681 GB, free: 80.52 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.93/14.58, allocations: 12 kB / 0.5681 GB, free: 80.5 MB / 446.1 MB " [Timeout remaining time 645] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance_fmu --startTime=0 --stopTime=100 --stepSize=0.01 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance.fmu > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 19.36559174908325]