Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.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.004782/0.004782, allocations: 101.5 kB / 21.96 MB, free: 5.211 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.001293/0.001293, allocations: 217.5 kB / 25.26 MB, free: 3.141 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.317/1.317, allocations: 207.7 MB / 236.1 MB, free: 9.809 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.MultiPhaseInductance,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_MultiPhaseInductance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_MultiPhaseInductance",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001694/0.001694, allocations: 55.91 kB / 348 MB, free: 9.91 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2379, allocations: 49.16 MB / 397.1 MB, free: 8.895 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.004853/0.2427, allocations: 4.158 MB / 401.3 MB, free: 6.137 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002708/0.2454, allocations: 1.647 MB / 402.9 MB, free: 5.004 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002747/0.2457, allocations: 27.62 kB / 403 MB, free: 4.992 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005695/0.2463, allocations: 266.3 kB / 403.2 MB, free: 4.855 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001472/0.2478, allocations: 0.6474 MB / 403.9 MB, free: 4.477 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004628/0.2482, allocations: 232.3 kB / 404.1 MB, free: 4.344 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001968/0.2502, allocations: 1.89 MB / 406 MB, free: 3.453 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008173/0.251, allocations: 0.6685 MB / 406.7 MB, free: 3.086 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008989/0.2519, allocations: 0.8058 MB / 407.5 MB, free: 2.715 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001192/0.2531, allocations: 0.998 MB / 408.5 MB, free: 2.254 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002628/0.2534, allocations: 185.8 kB / 408.6 MB, free: 2.254 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005793/0.2539, allocations: 312.6 kB / 408.9 MB, free: 2.207 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004106/0.2543, allocations: 0.5391 MB / 409.5 MB, free: 1.91 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007497/0.2551, allocations: 0.7272 MB / 410.2 MB, free: 1.508 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002334/0.2574, allocations: 2.595 MB / 412.8 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.2574, allocations: 0 / 412.8 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2574, allocations: 0 / 412.8 MB, free: 15.91 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.106e-05/0.2575, allocations: 0 / 412.8 MB, free: 15.91 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: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.004492/0.262, allocations: 2.142 MB / 414.9 MB, free: 14.46 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.262, allocations: 13.08 kB / 415 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.593e-05/0.2621, allocations: 40.08 kB / 415 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002527/0.2623, allocations: 203.4 kB / 415.2 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001753/0.2641, allocations: 381.4 kB / 415.6 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001667/0.2657, allocations: 0.9995 MB / 416.6 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.822e-05/0.2658, allocations: 108 kB / 416.7 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002123/0.266, allocations: 132.1 kB / 416.8 MB, free: 13.35 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003101/0.2691, allocations: 2.044 MB / 418.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.664e-05/0.2691, allocations: 3.938 kB / 418.9 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001382/0.2693, allocations: 56.44 kB / 418.9 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-05/0.2693, allocations: 45.09 kB / 419 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002691/0.272, allocations: 1.683 MB / 420.6 MB, free: 11.13 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008208/0.2802, allocations: 5.042 MB / 425.7 MB, free: 6.168 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002229/0.2825, allocations: 1.045 MB / 426.7 MB, free: 5.105 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000711/0.2832, allocations: 479.2 kB / 427.2 MB, free: 4.633 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002165/0.2853, allocations: 1.237 MB / 428.4 MB, free: 3.375 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/0.2854, allocations: 46.5 kB / 428.5 MB, free: 3.32 MB / 334.1 MB Notification: Performance of pre-optimization done (n=53): time 2.475e-06/0.2854, allocations: 0 / 428.5 MB, free: 3.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=53): time 0.003034/0.2884, allocations: 1.332 MB / 429.8 MB, free: 1.977 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/0.2885, allocations: 85.11 kB / 429.9 MB, free: 1.875 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001331/0.2898, allocations: 1.024 MB / 430.9 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.944e-05/0.2898, allocations: 37.7 kB / 430.9 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004896/0.2903, allocations: 0.6947 MB / 431.6 MB, free: 96 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001713/0.2905, allocations: 198.6 kB / 431.8 MB, free: 15.89 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002103/0.2907, allocations: 126.3 kB / 432 MB, free: 15.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.2909, allocations: 334 kB / 432.3 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005803/0.2914, allocations: 357 kB / 432.6 MB, free: 15.08 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00071/0.2921, allocations: 0.5209 MB / 433.2 MB, free: 14.49 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001275/0.2934, allocations: 0.8749 MB / 434 MB, free: 13.55 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/0.2934, allocations: 4 kB / 434 MB, free: 13.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001674/0.2951, allocations: 1.006 MB / 435 MB, free: 12.54 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.2951, allocations: 15.78 kB / 435.1 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.2951, allocations: 4 kB / 435.1 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.344e-05/0.2952, allocations: 8 kB / 435.1 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007466/0.2959, allocations: 187.7 kB / 435.3 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.414e-05/0.2959, allocations: 11.94 kB / 435.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005901/0.2965, allocations: 87.47 kB / 435.3 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.998e-05/0.2966, allocations: 24 kB / 435.4 MB, free: 12.21 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (82): * Single equations (assignments): 82 * 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.0007982/0.2974, allocations: 0.5325 MB / 435.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001617/0.2975, allocations: 99.64 kB / 436 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001256/0.2988, allocations: 0.6774 MB / 436.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.2988, allocations: 7.938 kB / 436.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.337e-06/0.2988, allocations: 7.938 kB / 436.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/0.2988, allocations: 3.984 kB / 436.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002453/0.3013, allocations: 1.531 MB / 438.2 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.3013, allocations: 4.094 kB / 438.2 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004488/0.3017, allocations: 91.88 kB / 438.3 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004279/0.3021, allocations: 149.7 kB / 438.5 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.583e-05/0.3022, allocations: 23.98 kB / 438.5 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003139/0.3053, allocations: 2.714 MB / 441.2 MB, free: 6.172 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3053, allocations: 0 / 441.2 MB, free: 6.172 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002258/0.3076, allocations: 1.474 MB / 442.7 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003162/0.3079, allocations: 119.3 kB / 442.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/0.308, allocations: 27.92 kB / 442.8 MB, free: 4.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005247/0.3086, allocations: 51.94 kB / 442.9 MB, free: 4.469 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001519/0.3087, allocations: 59.83 kB / 442.9 MB, free: 4.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.236e-05/0.3088, allocations: 16 kB / 442.9 MB, free: 4.395 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001011/0.3098, allocations: 0.7371 MB / 443.7 MB, free: 3.664 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3098, allocations: 0 / 443.7 MB, free: 3.664 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001084/0.3108, allocations: 362.9 kB / 444 MB, free: 3.309 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (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) * 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 (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002655/0.3135, allocations: 2.049 MB / 446.1 MB, free: 1.223 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001382/0.3149, allocations: 0.7528 MB / 446.8 MB, free: 480 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.3149, allocations: 0 / 446.8 MB, free: 480 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001058/0.3159, allocations: 0.5824 MB / 447.4 MB, free: 15.87 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009424/0.3169, allocations: 180.1 kB / 447.6 MB, free: 15.69 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01415/0.331, allocations: 10.55 MB / 458.1 MB, free: 4.859 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009481/0.332, allocations: 0.9089 MB / 459.1 MB, free: 3.918 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005723/0.3326, allocations: 230.7 kB / 459.3 MB, free: 3.688 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006119/0.3332, allocations: 487.3 kB / 459.8 MB, free: 3.211 MB / 366.1 MB Notification: Performance of SimCode: time 1.042e-06/0.3332, allocations: 0 / 459.8 MB, free: 3.211 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05573/0.3889, allocations: 24.34 MB / 484.1 MB, free: 10.78 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.73/13.12, allocations: 15.92 kB / 484.1 MB, free: 10.76 MB / 398.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_MultiPhaseInductance_fmu --startTime=0 --stopTime=100 --stepSize=0.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_MultiPhaseInductance.fmu > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/Components/MultiPhaseInductance/MultiPhaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.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: 16.975829094997607]