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.005919/0.005919, allocations: 109.9 kB / 21.97 MB, free: 5.191 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.00167/0.00167, allocations: 215.5 kB / 25.28 MB, free: 3.207 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.313/1.313, allocations: 207.6 MB / 236 MB, free: 9.996 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.001697/0.001697, allocations: 47.94 kB / 348 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2269, allocations: 49.17 MB / 397.1 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.004512/0.2314, allocations: 4.641 MB / 401.8 MB, free: 5.723 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002683/0.2341, allocations: 1.765 MB / 403.5 MB, free: 4.465 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003713/0.2345, allocations: 32.19 kB / 403.6 MB, free: 4.449 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005613/0.2351, allocations: 270.6 kB / 403.8 MB, free: 4.309 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001426/0.2365, allocations: 0.67 MB / 404.5 MB, free: 3.906 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005032/0.237, allocations: 233.9 kB / 404.7 MB, free: 3.77 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001903/0.2389, allocations: 1.891 MB / 406.6 MB, free: 2.879 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007707/0.2397, allocations: 0.6639 MB / 407.3 MB, free: 2.52 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008715/0.2405, allocations: 0.8058 MB / 408.1 MB, free: 2.148 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001107/0.2416, allocations: 1.01 MB / 409.1 MB, free: 1.676 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002336/0.2419, allocations: 185.9 kB / 409.3 MB, free: 1.676 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000619/0.2425, allocations: 309.4 kB / 409.6 MB, free: 1.633 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004239/0.2429, allocations: 0.5388 MB / 410.1 MB, free: 1.336 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008073/0.2437, allocations: 0.8987 MB / 411 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002662/0.2464, allocations: 2.569 MB / 413.6 MB, free: 15.2 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.436e-06/0.2464, allocations: 3.984 kB / 413.6 MB, free: 15.2 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.2464, allocations: 0 / 413.6 MB, free: 15.2 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.136e-05/0.2464, allocations: 0 / 413.6 MB, free: 15.2 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.004837/0.2513, allocations: 2.138 MB / 415.7 MB, free: 13.75 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.2513, allocations: 21.38 kB / 415.8 MB, free: 13.74 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.572e-05/0.2514, allocations: 35.36 kB / 415.8 MB, free: 13.73 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002567/0.2516, allocations: 212.2 kB / 416 MB, free: 13.57 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001703/0.2533, allocations: 369.6 kB / 416.4 MB, free: 13.4 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001827/0.2552, allocations: 0.9976 MB / 417.4 MB, free: 12.74 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.35e-05/0.2552, allocations: 109.4 kB / 417.5 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002104/0.2554, allocations: 135.7 kB / 417.6 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002995/0.2584, allocations: 1.892 MB / 419.5 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.735e-05/0.2585, allocations: 0 / 419.5 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001359/0.2586, allocations: 60.33 kB / 419.6 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.824e-05/0.2587, allocations: 44.94 kB / 419.6 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002635/0.2613, allocations: 1.678 MB / 421.3 MB, free: 10.61 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008749/0.27, allocations: 5.461 MB / 426.7 MB, free: 5.309 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002346/0.2724, allocations: 1.057 MB / 427.8 MB, free: 4.234 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007231/0.2731, allocations: 479.2 kB / 428.3 MB, free: 3.762 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00231/0.2754, allocations: 1.362 MB / 429.6 MB, free: 2.379 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/0.2754, allocations: 46.5 kB / 429.7 MB, free: 2.324 MB / 334.1 MB Notification: Performance of pre-optimization done (n=53): time 2.104e-06/0.2755, allocations: 0 / 429.7 MB, free: 2.324 MB / 334.1 MB Notification: Performance of matching and sorting (n=53): time 0.003126/0.2786, allocations: 1.336 MB / 431 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.366e-05/0.2786, allocations: 85.05 kB / 431.1 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001383/0.28, allocations: 1.028 MB / 432.1 MB, free: 15.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.678e-05/0.2801, allocations: 33.98 kB / 432.2 MB, free: 15.8 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005094/0.2806, allocations: 0.6909 MB / 432.8 MB, free: 15.1 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001622/0.2807, allocations: 202.4 kB / 433 MB, free: 14.9 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002088/0.281, allocations: 130.2 kB / 433.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.2811, allocations: 334 kB / 433.5 MB, free: 14.44 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000592/0.2817, allocations: 361 kB / 433.8 MB, free: 14.08 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007152/0.2824, allocations: 0.5171 MB / 434.4 MB, free: 13.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001315/0.2837, allocations: 0.8788 MB / 435.2 MB, free: 12.55 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.441e-06/0.2837, allocations: 0 / 435.2 MB, free: 12.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001747/0.2855, allocations: 1.01 MB / 436.3 MB, free: 11.54 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/0.2855, allocations: 11.94 kB / 436.3 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.2855, allocations: 4 kB / 436.3 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/0.2855, allocations: 8 kB / 436.3 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007482/0.2863, allocations: 187.7 kB / 436.5 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.682e-05/0.2863, allocations: 11.98 kB / 436.5 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006421/0.2869, allocations: 83.55 kB / 436.6 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.865e-05/0.287, allocations: 35.98 kB / 436.6 MB, free: 11.2 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.0008371/0.2879, allocations: 0.5208 MB / 437.1 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001724/0.288, allocations: 99.38 kB / 437.2 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001248/0.2893, allocations: 0.6735 MB / 437.9 MB, free: 9.883 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.2893, allocations: 4 kB / 437.9 MB, free: 9.879 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/0.2893, allocations: 7.938 kB / 437.9 MB, free: 9.871 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.972e-06/0.2893, allocations: 0 / 437.9 MB, free: 9.871 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00256/0.2919, allocations: 1.646 MB / 439.5 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/0.2919, allocations: 3.938 kB / 439.5 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004499/0.2923, allocations: 99.86 kB / 439.6 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004258/0.2927, allocations: 157.8 kB / 439.8 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.989e-05/0.2928, allocations: 19.98 kB / 439.8 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003158/0.296, allocations: 2.73 MB / 442.5 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/0.296, allocations: 8.016 kB / 442.5 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002311/0.2983, allocations: 1.47 MB / 444 MB, free: 3.535 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003288/0.2986, allocations: 119.3 kB / 444.1 MB, free: 3.418 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001198/0.2987, allocations: 23.92 kB / 444.2 MB, free: 3.395 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005325/0.2993, allocations: 59.88 kB / 444.2 MB, free: 3.336 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001424/0.2994, allocations: 59.89 kB / 444.3 MB, free: 3.277 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.663e-05/0.2994, allocations: 19.98 kB / 444.3 MB, free: 3.258 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001086/0.3005, allocations: 0.7293 MB / 445 MB, free: 2.535 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3005, allocations: 0 / 445 MB, free: 2.535 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001156/0.3017, allocations: 358.9 kB / 445.4 MB, free: 2.184 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.0027/0.3044, allocations: 2.048 MB / 447.4 MB, free: 100 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001384/0.3058, allocations: 0.7534 MB / 448.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3058, allocations: 256 / 448.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001046/0.3068, allocations: 0.5744 MB / 448.7 MB, free: 14.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/0.3079, allocations: 191.6 kB / 448.9 MB, free: 14.56 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01506/0.3229, allocations: 10.56 MB / 459.5 MB, free: 3.719 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001151/0.3241, allocations: 1.499 MB / 461 MB, free: 2.191 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005824/0.3247, allocations: 234.7 kB / 461.2 MB, free: 1.957 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006044/0.3253, allocations: 483.3 kB / 461.7 MB, free: 1.484 MB / 366.1 MB Notification: Performance of SimCode: time 8.32e-07/0.3253, allocations: 0 / 461.7 MB, free: 1.484 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05367/0.379, allocations: 23.74 MB / 485.4 MB, free: 9.664 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.56/12.94, allocations: 11.94 kB / 485.4 MB, free: 9.652 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.818561484047677]