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.001714/0.001714, allocations: 110.7 kB / 19.17 MB, free: 3.871 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.001814/0.001814, allocations: 203.8 kB / 22.12 MB, free: 0.9297 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.411/1.411, allocations: 207.6 MB / 232.5 MB, free: 3.988 MB / 174.1 MB " [Timeout remaining time 178] 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.001704/0.001704, allocations: 55.92 kB / 343 MB, free: 10.02 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0953/0.097, allocations: 49.13 MB / 392.1 MB, free: 8.715 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.006527/0.1035, allocations: 4.633 MB / 396.8 MB, free: 4.059 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003181/0.1067, allocations: 1.76 MB / 398.5 MB, free: 2.289 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003138/0.107, allocations: 27.81 kB / 398.5 MB, free: 2.262 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006023/0.1076, allocations: 270.3 kB / 398.8 MB, free: 1.996 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001464/0.1091, allocations: 0.6608 MB / 399.5 MB, free: 1.332 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005129/0.1096, allocations: 231.4 kB / 399.7 MB, free: 1.105 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00222/0.1118, allocations: 1.891 MB / 401.6 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001135/0.113, allocations: 0.9094 MB / 402.5 MB, free: 14.26 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001085/0.114, allocations: 0.8099 MB / 403.3 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001283/0.1153, allocations: 0.9963 MB / 404.3 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002435/0.1156, allocations: 188 kB / 404.5 MB, free: 12.26 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005973/0.1162, allocations: 311.9 kB / 404.8 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004789/0.1166, allocations: 0.5375 MB / 405.3 MB, free: 11.42 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009333/0.1176, allocations: 0.8982 MB / 406.2 MB, free: 10.52 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002576/0.1202, allocations: 2.569 MB / 408.8 MB, free: 7.938 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.1202, allocations: 4 kB / 408.8 MB, free: 7.934 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1202, allocations: 0 / 408.8 MB, free: 7.934 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.069e-05/0.1202, allocations: 0 / 408.8 MB, free: 7.934 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.004671/0.1249, allocations: 2.216 MB / 411 MB, free: 5.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.1249, allocations: 8.031 kB / 411 MB, free: 5.652 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.183e-05/0.125, allocations: 38.86 kB / 411.1 MB, free: 5.613 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002616/0.1252, allocations: 206.8 kB / 411.3 MB, free: 5.402 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001777/0.127, allocations: 383.5 kB / 411.6 MB, free: 5.027 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001671/0.1287, allocations: 1.049 MB / 412.7 MB, free: 3.934 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.26e-05/0.1288, allocations: 102.8 kB / 412.8 MB, free: 3.832 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002102/0.129, allocations: 136 kB / 412.9 MB, free: 3.699 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003113/0.1321, allocations: 1.886 MB / 414.8 MB, free: 1.781 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.555e-05/0.1321, allocations: 3.938 kB / 414.8 MB, free: 1.777 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001409/0.1322, allocations: 52 kB / 414.9 MB, free: 1.727 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.513e-05/0.1323, allocations: 53.98 kB / 414.9 MB, free: 1.676 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002839/0.1351, allocations: 1.684 MB / 416.6 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009135/0.1443, allocations: 5.541 MB / 422.1 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003443/0.1477, allocations: 2.863 MB / 425 MB, free: 6.918 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000767/0.1485, allocations: 475.3 kB / 425.5 MB, free: 6.449 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002531/0.151, allocations: 1.529 MB / 427 MB, free: 4.855 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.113e-05/0.1511, allocations: 46.5 kB / 427 MB, free: 4.801 MB / 350.1 MB Notification: Performance of pre-optimization done (n=53): time 2.224e-06/0.1511, allocations: 0 / 427 MB, free: 4.801 MB / 350.1 MB Notification: Performance of matching and sorting (n=53): time 0.003316/0.1544, allocations: 1.404 MB / 428.4 MB, free: 3.367 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.632e-05/0.1544, allocations: 85.05 kB / 428.5 MB, free: 3.266 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001438/0.1559, allocations: 1.028 MB / 429.6 MB, free: 2.227 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5e-05/0.1559, allocations: 37.7 kB / 429.6 MB, free: 2.184 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00057/0.1565, allocations: 0.6986 MB / 430.3 MB, free: 1.477 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001796/0.1567, allocations: 194.4 kB / 430.5 MB, free: 1.285 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002206/0.1569, allocations: 126.3 kB / 430.6 MB, free: 1.156 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.1571, allocations: 334 kB / 430.9 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006117/0.1577, allocations: 361 kB / 431.3 MB, free: 484 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007515/0.1584, allocations: 0.5171 MB / 431.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001361/0.1598, allocations: 0.8749 MB / 432.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.1598, allocations: 0 / 432.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001715/0.1615, allocations: 1.01 MB / 433.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.1615, allocations: 17.03 kB / 433.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.1616, allocations: 7.984 kB / 433.7 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/0.1616, allocations: 8 kB / 433.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007531/0.1623, allocations: 183.7 kB / 433.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.304e-05/0.1624, allocations: 8 kB / 433.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005192/0.1629, allocations: 87.47 kB / 434 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.281e-05/0.1629, allocations: 35.98 kB / 434 MB, free: 13.59 MB / 366.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.0007592/0.1637, allocations: 0.5247 MB / 434.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001698/0.1639, allocations: 95.38 kB / 434.6 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001348/0.1652, allocations: 0.671 MB / 435.3 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/0.1652, allocations: 8 kB / 435.3 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.1652, allocations: 7.922 kB / 435.3 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.377e-06/0.1652, allocations: 11.92 kB / 435.3 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002506/0.1677, allocations: 1.66 MB / 437 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.1677, allocations: 3.938 kB / 437 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004691/0.1682, allocations: 95.88 kB / 437.1 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004367/0.1686, allocations: 148.7 kB / 437.2 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.877e-05/0.1687, allocations: 23.98 kB / 437.3 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003348/0.172, allocations: 2.845 MB / 440.1 MB, free: 7.266 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.172, allocations: 0 / 440.1 MB, free: 7.266 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002368/0.1744, allocations: 1.473 MB / 441.6 MB, free: 5.758 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002569/0.1747, allocations: 200.4 kB / 441.8 MB, free: 5.543 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001302/0.1748, allocations: 23.92 kB / 441.8 MB, free: 5.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00055/0.1753, allocations: 55.94 kB / 441.9 MB, free: 5.465 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001356/0.1755, allocations: 47.92 kB / 441.9 MB, free: 5.418 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.211e-05/0.1755, allocations: 23.94 kB / 441.9 MB, free: 5.395 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001058/0.1766, allocations: 0.7332 MB / 442.7 MB, free: 4.668 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1766, allocations: 0 / 442.7 MB, free: 4.668 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001043/0.1776, allocations: 362.9 kB / 443 MB, free: 4.312 MB / 366.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.002877/0.1805, allocations: 2.049 MB / 445.1 MB, free: 2.219 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001453/0.182, allocations: 0.7598 MB / 445.8 MB, free: 1.461 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.182, allocations: 1.125 kB / 445.8 MB, free: 1.461 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001162/0.1831, allocations: 0.5785 MB / 446.4 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009571/0.1841, allocations: 188 kB / 446.6 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01617/0.2003, allocations: 10.55 MB / 457.1 MB, free: 5.848 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001531/0.2018, allocations: 1.491 MB / 458.6 MB, free: 4.324 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006558/0.2024, allocations: 234.7 kB / 458.8 MB, free: 4.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007221/0.2032, allocations: 487.3 kB / 459.3 MB, free: 3.613 MB / 382.1 MB Notification: Performance of SimCode: time 1.292e-06/0.2032, allocations: 0 / 459.3 MB, free: 3.613 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2128/0.4159, allocations: 23.26 MB / 482.6 MB, free: 57.66 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.03, allocations: 23.28 kB / 482.6 MB, free: 57.65 MB / 382.1 MB " [Timeout remaining time 648] (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.271400288969744]