Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.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.0019/0.0019, allocations: 117.5 kB / 19.17 MB, free: 3.98 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.001867/0.001867, allocations: 204 kB / 22.11 MB, free: 1.043 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.357/1.357, allocations: 207.6 MB / 232.5 MB, free: 3.949 MB / 174.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.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_MultiPhaseInductance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_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.001737/0.001737, allocations: 55.91 kB / 343 MB, free: 9.984 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08744/0.08918, allocations: 49.12 MB / 392.1 MB, free: 8.699 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.01175/0.1009, allocations: 9.965 MB / 402.1 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0068/0.1077, allocations: 3.366 MB / 405.5 MB, free: 11.31 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001558/0.1093, allocations: 75.62 kB / 405.5 MB, free: 11.24 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008709/0.118, allocations: 3.866 MB / 409.4 MB, free: 7.355 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004313/0.1223, allocations: 1.38 MB / 410.8 MB, free: 5.969 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002782/0.1251, allocations: 1.161 MB / 411.9 MB, free: 4.805 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01127/0.1364, allocations: 9.138 MB / 421.1 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02301/0.1594, allocations: 15.81 MB / 436.9 MB, free: 11.69 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007316/0.1667, allocations: 5.152 MB / 442 MB, free: 6.523 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009374/0.1761, allocations: 6.122 MB / 448.2 MB, free: 392 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003826/0.1799, allocations: 1.402 MB / 449.6 MB, free: 14.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004505/0.1844, allocations: 1.633 MB / 451.2 MB, free: 13.35 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003637/0.188, allocations: 2.93 MB / 454.1 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008237/0.1963, allocations: 5.447 MB / 459.6 MB, free: 4.941 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.227/0.4232, allocations: 18.74 MB / 478.3 MB, free: 36.47 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.517e-06/0.4232, allocations: 1.062 kB / 478.3 MB, free: 36.47 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.956e-06/0.4232, allocations: 0 / 478.3 MB, free: 36.47 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0007076/0.4239, allocations: 0 / 478.3 MB, free: 36.47 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2549 * Number of variables: 2549 Notification: Performance of Generate backend data structure: time 0.04571/0.4696, allocations: 12.46 MB / 490.8 MB, free: 29.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.85e-05/0.4697, allocations: 11.58 kB / 490.8 MB, free: 29.5 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000338/0.47, allocations: 247.5 kB / 491 MB, free: 29.48 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007287/0.4773, allocations: 1.327 MB / 492.4 MB, free: 28.56 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04715/0.5245, allocations: 8.538 MB / 0.4891 GB, free: 24.79 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01395/0.5384, allocations: 5.408 MB / 0.4944 GB, free: 21.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000593/0.539, allocations: 0.664 MB / 0.4951 GB, free: 20.79 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005441/0.5445, allocations: 0.8622 MB / 0.4959 GB, free: 19.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04122/0.5857, allocations: 15.97 MB / 0.5115 GB, free: 3.945 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004188/0.5861, allocations: 11.95 kB / 0.5115 GB, free: 3.934 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004441/0.5905, allocations: 369.8 kB / 0.5119 GB, free: 3.582 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004962/0.591, allocations: 0.5543 MB / 0.5124 GB, free: 3.023 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03882/0.6299, allocations: 15.72 MB / 0.5278 GB, free: 3.277 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09902/0.7289, allocations: 47.85 MB / 0.5745 GB, free: 3.148 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02184/0.7507, allocations: 18.84 MB / 0.5929 GB, free: 14.21 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005807/0.7565, allocations: 3.249 MB / 0.5961 GB, free: 10.96 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000521/0.757, allocations: 176.4 kB / 0.5962 GB, free: 10.79 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.125e-05/0.7571, allocations: 86.56 kB / 0.5963 GB, free: 10.7 MB / 478.1 MB Notification: Performance of pre-optimization done (n=468): time 6.523e-06/0.7571, allocations: 0 / 0.5963 GB, free: 10.7 MB / 478.1 MB Notification: Performance of matching and sorting (n=468): time 0.02705/0.7842, allocations: 11.52 MB / 0.6076 GB, free: 15.1 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.998e-05/0.7843, allocations: 125.1 kB / 0.6077 GB, free: 14.96 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00869/0.793, allocations: 3.851 MB / 0.6115 GB, free: 11.1 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001072/0.7941, allocations: 100.3 kB / 0.6115 GB, free: 11 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003548/0.7976, allocations: 4.048 MB / 0.6155 GB, free: 6.949 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.003306/0.8009, allocations: 1.682 MB / 0.6171 GB, free: 5.289 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005636/0.8065, allocations: 1.477 MB / 0.6186 GB, free: 3.805 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.8067, allocations: 305.1 kB / 0.6189 GB, free: 3.504 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0072/0.8139, allocations: 3.691 MB / 0.6225 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01103/0.8249, allocations: 6.525 MB / 0.6289 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0175/0.8424, allocations: 10.83 MB / 0.6394 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00011/0.8425, allocations: 24 kB / 0.6395 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02993/0.8725, allocations: 11.92 MB / 0.6511 GB, free: 0.8242 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002247/0.8727, allocations: 48 kB / 0.6511 GB, free: 0.7773 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002814/0.873, allocations: 92 kB / 0.6512 GB, free: 0.6875 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2387/1.112, allocations: 1.617 MB / 0.6528 GB, free: 178.9 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006585/1.118, allocations: 1.667 MB / 0.6544 GB, free: 178.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0161/1.134, allocations: 17.67 MB / 0.6717 GB, free: 169.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006104/1.14, allocations: 0.9698 MB / 0.6726 GB, free: 169.1 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00155/1.142, allocations: 365.5 kB / 0.673 GB, free: 169.1 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 424 * 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 (876): * Single equations (assignments): 870 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(8,30,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005851/1.148, allocations: 3.753 MB / 0.6767 GB, free: 167.3 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008789/1.149, allocations: 417.8 kB / 0.6771 GB, free: 167.1 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01283/1.162, allocations: 8.523 MB / 0.6854 GB, free: 164 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.108e-05/1.162, allocations: 53.61 kB / 0.6854 GB, free: 164 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-05/1.162, allocations: 11.38 kB / 0.6854 GB, free: 164 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.828e-05/1.162, allocations: 26.91 kB / 0.6855 GB, free: 164 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02655/1.188, allocations: 16.74 MB / 0.7018 GB, free: 150.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.485e-05/1.188, allocations: 4 kB / 0.7018 GB, free: 150.6 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003227/1.192, allocations: 0.8629 MB / 0.7027 GB, free: 149.8 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00446/1.196, allocations: 1.521 MB / 0.7041 GB, free: 148.2 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005321/1.197, allocations: 104 kB / 0.7042 GB, free: 148.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01499/1.212, allocations: 17.47 MB / 0.7213 GB, free: 129.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/1.212, allocations: 5.203 kB / 0.7213 GB, free: 129.8 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0162/1.228, allocations: 12.21 MB / 0.7332 GB, free: 117.4 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002613/1.23, allocations: 1.114 MB / 0.7343 GB, free: 116.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006605/1.231, allocations: 84 kB / 0.7344 GB, free: 116.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002337/1.233, allocations: 311.7 kB / 0.7347 GB, free: 115.9 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007562/1.234, allocations: 315.5 kB / 0.735 GB, free: 115.6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002694/1.234, allocations: 144 kB / 0.7351 GB, free: 115.5 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003531/1.238, allocations: 2.578 MB / 0.7377 GB, free: 112.9 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/1.238, allocations: 0 / 0.7377 GB, free: 112.9 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00896/1.247, allocations: 2.403 MB / 0.74 GB, free: 110.5 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (voltageSource_m.plug_p.reference.gamma,voltageSource_e.plug_p.reference.gamma) * 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 (455): * Single equations (assignments): 449 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(8,30,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01578/1.263, allocations: 12.92 MB / 0.7526 GB, free: 97.33 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01321/1.276, allocations: 9.002 MB / 0.7614 GB, free: 88.23 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.007e-05/1.276, allocations: 1.875 kB / 0.7614 GB, free: 88.23 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006574/1.282, allocations: 4.167 MB / 0.7655 GB, free: 83.98 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005546/1.288, allocations: 0.7374 MB / 0.7662 GB, free: 83.25 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1087/1.397, allocations: 61.33 MB / 0.8261 GB, free: 17.87 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01046/1.407, allocations: 6.046 MB / 0.832 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.008254/1.415, allocations: 3.247 MB / 0.8352 GB, free: 8.535 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007691/1.423, allocations: 3.05 MB / 0.8381 GB, free: 5.484 MB / 0.5137 GB Notification: Performance of SimCode: time 2.064e-06/1.423, allocations: 0 / 0.8381 GB, free: 5.484 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4521/1.875, allocations: 126.6 MB / 0.9618 GB, free: 81.53 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.86/20.74, allocations: 7.797 kB / 0.9618 GB, free: 81.52 MB / 0.5137 GB " [Timeout remaining time 639] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_MultiPhaseInductance_fmu --startTime=0 --stopTime=100 --stepSize=0.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_MultiPhaseInductance.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.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/QuasiStatic/FundamentalWave/Examples/Components/MultiPhaseInductance/MultiPhaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 656] Reference file matches [Calling sys.exit(0), Time elapsed: 31.289025371952448]