Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001844/0.001844, allocations: 88.62 kB / 20.96 MB, free: 3.477 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 149.4 kB / 24.26 MB, free: 184 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 173.3 MB / 200.8 MB, free: 9.32 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|converter_m.singlePhaseElectroMagneticConverter.1..Phi.re|converter_m.singlePhaseElectroMagneticConverter.2..Phi.im|inductor_e.inductor.1..i|inductor_e.inductor.2..i|inductor_e.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|converter_m.singlePhaseElectroMagneticConverter.1..Phi.re|converter_m.singlePhaseElectroMagneticConverter.2..Phi.im|inductor_e.inductor.1..i|inductor_e.inductor.2..i|inductor_e.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 267.3 MB, free: 6.73 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.031e-05/3.197e-05, allocations: 2.312 kB / 267.3 MB, free: 6.727 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.0066/0.006632, allocations: 4.215 MB / 271.5 MB, free: 2.484 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003728/0.01036, allocations: 1.615 MB / 273.2 MB, free: 0.8633 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005495/0.01091, allocations: 31.81 kB / 273.2 MB, free: 0.832 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007352/0.01164, allocations: 262.2 kB / 273.4 MB, free: 0.5742 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002129/0.01377, allocations: 0.7108 MB / 274.2 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000626/0.0144, allocations: 215.5 kB / 274.4 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002675/0.01707, allocations: 1.945 MB / 276.3 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001099/0.01817, allocations: 0.6682 MB / 277 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00185/0.02002, allocations: 1.15 MB / 278.1 MB, free: 11.84 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001441/0.02147, allocations: 0.9119 MB / 279 MB, free: 10.92 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000292/0.02176, allocations: 192 kB / 279.2 MB, free: 10.73 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006672/0.02243, allocations: 303.7 kB / 279.5 MB, free: 10.44 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000583/0.02301, allocations: 0.5569 MB / 280.1 MB, free: 9.879 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008848/0.02389, allocations: 0.6157 MB / 280.7 MB, free: 9.262 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003202/0.0271, allocations: 2.614 MB / 283.3 MB, free: 6.641 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.0271, allocations: 0 / 283.3 MB, free: 6.641 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.0271, allocations: 0 / 283.3 MB, free: 6.641 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.545e-05/0.02714, allocations: 0 / 283.3 MB, free: 6.641 MB / 266.7 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.005371/0.03251, allocations: 2.133 MB / 285.4 MB, free: 4.469 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.03254, allocations: 12.86 kB / 285.5 MB, free: 4.457 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002219/0.03476, allocations: 0.5345 MB / 286 MB, free: 3.922 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002283/0.03705, allocations: 1.068 MB / 287.1 MB, free: 2.82 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/0.03716, allocations: 103 kB / 287.2 MB, free: 2.719 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002745/0.03743, allocations: 132.4 kB / 287.3 MB, free: 2.59 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003887/0.04132, allocations: 2.045 MB / 289.3 MB, free: 488 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.066e-05/0.04135, allocations: 3.938 kB / 289.3 MB, free: 484 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001546/0.0415, allocations: 56 kB / 289.4 MB, free: 428 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.955e-05/0.04157, allocations: 45.94 kB / 289.4 MB, free: 384 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1017/0.1433, allocations: 1.678 MB / 291.1 MB, free: 31.73 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007817/0.1511, allocations: 4.901 MB / 296 MB, free: 29.26 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002335/0.1535, allocations: 1.06 MB / 297.1 MB, free: 28.91 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006994/0.1542, allocations: 479.7 kB / 297.5 MB, free: 28.74 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002104/0.1563, allocations: 1.235 MB / 298.8 MB, free: 28.06 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.1563, allocations: 42.28 kB / 298.8 MB, free: 28.01 MB / 266.7 MB Notification: Performance of pre-optimization done (n=53): time 2.234e-06/0.1563, allocations: 0.9375 kB / 298.8 MB, free: 28.01 MB / 266.7 MB Notification: Performance of matching and sorting (n=53): time 0.003032/0.1593, allocations: 1.352 MB / 300.2 MB, free: 27.59 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.1593, allocations: 83.08 kB / 300.3 MB, free: 27.5 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001128/0.1605, allocations: 1.004 MB / 301.3 MB, free: 27.07 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.221e-05/0.1605, allocations: 36.2 kB / 301.3 MB, free: 27.04 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003054/0.1608, allocations: 0.6913 MB / 302 MB, free: 26.51 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.1609, allocations: 199 kB / 302.2 MB, free: 26.37 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001768/0.1611, allocations: 124.7 kB / 302.3 MB, free: 26.29 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.569e-05/0.1612, allocations: 334.9 kB / 302.6 MB, free: 25.97 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005197/0.1617, allocations: 359.4 kB / 303 MB, free: 25.79 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005681/0.1623, allocations: 0.5185 MB / 303.5 MB, free: 25.4 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001016/0.1633, allocations: 0.8747 MB / 304.4 MB, free: 24.84 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.1633, allocations: 4 kB / 304.4 MB, free: 24.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001453/0.1647, allocations: 1.043 MB / 305.4 MB, free: 24.3 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.853e-05/0.1647, allocations: 6.969 kB / 305.4 MB, free: 24.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.1648, allocations: 3.906 kB / 305.4 MB, free: 24.3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.786e-05/0.1648, allocations: 15.89 kB / 305.4 MB, free: 24.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007066/0.1655, allocations: 177.2 kB / 305.6 MB, free: 24.26 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.315e-05/0.1655, allocations: 16.17 kB / 305.6 MB, free: 24.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000484/0.166, allocations: 91.95 kB / 305.7 MB, free: 24.17 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.455e-05/0.166, allocations: 24 kB / 305.7 MB, free: 24.15 MB / 266.7 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.000553/0.1666, allocations: 0.5278 MB / 306.3 MB, free: 23.61 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001516/0.1667, allocations: 103.4 kB / 306.4 MB, free: 23.51 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001075/0.1678, allocations: 0.6822 MB / 307.1 MB, free: 22.82 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.1678, allocations: 8 kB / 307.1 MB, free: 22.81 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.284e-05/0.1678, allocations: 7.938 kB / 307.1 MB, free: 22.8 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.1678, allocations: 0 / 307.1 MB, free: 22.8 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001896/0.1697, allocations: 1.355 MB / 308.4 MB, free: 21.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.1697, allocations: 7.438 kB / 308.4 MB, free: 21.42 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004357/0.1702, allocations: 91.86 kB / 308.5 MB, free: 21.33 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005404/0.1707, allocations: 183.6 kB / 308.7 MB, free: 21.15 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.453e-05/0.1708, allocations: 23.98 kB / 308.7 MB, free: 21.13 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002342/0.1731, allocations: 2.703 MB / 311.4 MB, free: 18.34 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1731, allocations: 0 / 311.4 MB, free: 18.34 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001791/0.1749, allocations: 1.494 MB / 312.9 MB, free: 16.82 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001865/0.1751, allocations: 120.7 kB / 313 MB, free: 16.7 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.782e-05/0.1752, allocations: 12 kB / 313.1 MB, free: 16.69 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005063/0.1757, allocations: 63.66 kB / 313.1 MB, free: 16.63 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/0.1758, allocations: 55.78 kB / 313.2 MB, free: 16.58 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-05/0.1759, allocations: 19.98 kB / 313.2 MB, free: 16.56 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0006957/0.1766, allocations: 0.7098 MB / 313.9 MB, free: 15.86 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1766, allocations: 0 / 313.9 MB, free: 15.86 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0009227/0.1775, allocations: 366.8 kB / 314.3 MB, free: 15.5 MB / 266.7 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.0002299/0.1777, allocations: 136 kB / 314.4 MB, free: 15.36 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001056/0.1788, allocations: 0.7537 MB / 315.1 MB, free: 14.6 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.1788, allocations: 3.75 kB / 315.1 MB, free: 14.6 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008454/0.1796, allocations: 0.588 MB / 315.7 MB, free: 14 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008572/0.1805, allocations: 163.9 kB / 315.9 MB, free: 13.86 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003464/0.1839, allocations: 2.719 MB / 318.6 MB, free: 11.09 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007295/0.1847, allocations: 0.9089 MB / 319.5 MB, free: 10.15 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000513/0.1852, allocations: 238.5 kB / 319.8 MB, free: 9.91 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001699/0.1853, allocations: 64.48 kB / 319.8 MB, free: 9.848 MB / 266.7 MB Notification: Performance of SimCode: time 6.92e-07/0.1853, allocations: 0 / 319.8 MB, free: 9.848 MB / 266.7 MB Notification: Performance of Templates: time 0.01776/0.2031, allocations: 11.42 MB / 331.2 MB, free: 14.66 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.655472701066174]