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.001133/0.001133, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001425/0.002558, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001048/0.001048, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001258/0.002306, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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 0.9429/0.9429, allocations: 158.6 MB / 171.1 MB, free: 2.578 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2077/1.151, allocations: 49.48 MB / 220.5 MB, free: 1.461 MB / 218.7 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: translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|converter_m.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|converter_m.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|inductor_e.inductor.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|converter_m.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|converter_m.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|inductor_e.inductor.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.195e-06/2.195e-06, allocations: 0 / 221.8 MB, free: 196 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.356e-05/4.576e-05, allocations: 6.25 kB / 221.8 MB, free: 188 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.006375/0.00642, allocations: 4.542 MB / 226.4 MB, free: 11.61 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00425/0.01067, allocations: 1.768 MB / 228.1 MB, free: 9.836 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005604/0.01123, allocations: 31.75 kB / 228.2 MB, free: 9.805 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004927/0.01172, allocations: 274.2 kB / 228.4 MB, free: 9.535 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001642/0.01337, allocations: 0.6602 MB / 229.1 MB, free: 8.871 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004901/0.01386, allocations: 231.5 kB / 229.3 MB, free: 8.645 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.002137/0.01599, allocations: 1.972 MB / 231.3 MB, free: 6.664 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009493/0.01694, allocations: 0.6676 MB / 232 MB, free: 5.945 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001635/0.01858, allocations: 1.399 MB / 233.4 MB, free: 4.547 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001064/0.01964, allocations: 1.052 MB / 234.4 MB, free: 3.492 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002198/0.01986, allocations: 184 kB / 234.6 MB, free: 3.312 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006113/0.02047, allocations: 307.7 kB / 234.9 MB, free: 3.012 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002987/0.02077, allocations: 454.8 kB / 235.3 MB, free: 2.566 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000559/0.02133, allocations: 0.4991 MB / 235.8 MB, free: 2.066 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001694/0.02302, allocations: 1.491 MB / 237.3 MB, free: 0.5703 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.641e-05/0.02306, allocations: 3.938 kB / 237.3 MB, free: 0.5664 MB / 234.7 MB Notification: Performance of FrontEnd: time 3.116e-06/0.02306, allocations: 0 / 237.3 MB, free: 0.5664 MB / 234.7 MB Notification: Performance of Transformations before backend: time 8.634e-05/0.02315, allocations: 0 / 237.3 MB, free: 0.5664 MB / 234.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.003641/0.02679, allocations: 2.352 MB / 239.7 MB, free: 14.16 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.02683, allocations: 16.02 kB / 239.7 MB, free: 14.14 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000894/0.02772, allocations: 424.4 kB / 240.1 MB, free: 13.73 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008567/0.02858, allocations: 0.579 MB / 240.7 MB, free: 13.12 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.519e-05/0.02863, allocations: 103 kB / 240.8 MB, free: 13.02 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001378/0.02877, allocations: 136.3 kB / 240.9 MB, free: 12.89 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/0.02996, allocations: 1.163 MB / 242.1 MB, free: 11.66 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.159e-05/0.02998, allocations: 3.938 kB / 242.1 MB, free: 11.65 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-05/0.03005, allocations: 55.94 kB / 242.1 MB, free: 11.6 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.934e-05/0.0301, allocations: 46 kB / 242.2 MB, free: 11.55 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005146/0.03062, allocations: 327 kB / 242.5 MB, free: 11.23 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004831/0.03545, allocations: 3.523 MB / 246 MB, free: 7.504 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008939/0.03634, allocations: 0.5877 MB / 246.6 MB, free: 6.898 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001551/0.0365, allocations: 146.3 kB / 246.8 MB, free: 6.754 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001099/0.0376, allocations: 0.887 MB / 247.6 MB, free: 5.848 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.03763, allocations: 42.56 kB / 247.7 MB, free: 5.797 MB / 250.7 MB Notification: Performance of pre-optimization done (n=53): time 3.397e-06/0.03763, allocations: 0 / 247.7 MB, free: 5.797 MB / 250.7 MB Notification: Performance of matching and sorting (n=53): time 0.001094/0.03872, allocations: 0.5626 MB / 248.3 MB, free: 5.223 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/0.03876, allocations: 89.09 kB / 248.3 MB, free: 5.117 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004717/0.03923, allocations: 0.6442 MB / 249 MB, free: 4.461 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.297e-05/0.03926, allocations: 37.7 kB / 249 MB, free: 4.418 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000479/0.03974, allocations: 0.5678 MB / 249.6 MB, free: 3.844 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00315/0.04289, allocations: 202.3 kB / 249.8 MB, free: 3.645 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001415/0.04304, allocations: 122.2 kB / 249.9 MB, free: 3.52 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.452e-05/0.04313, allocations: 333.8 kB / 250.2 MB, free: 3.188 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.04325, allocations: 57.28 kB / 250.3 MB, free: 3.133 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002378/0.04349, allocations: 233.6 kB / 250.5 MB, free: 2.832 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003812/0.04387, allocations: 351.1 kB / 250.9 MB, free: 2.422 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.538e-06/0.04388, allocations: 8 kB / 250.9 MB, free: 2.414 MB / 250.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0007268/0.0446, allocations: 362.5 kB / 251.2 MB, free: 2.055 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.284e-05/0.04464, allocations: 8.562 kB / 251.2 MB, free: 2.047 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.997e-05/0.04466, allocations: 11.98 kB / 251.2 MB, free: 2.035 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.734e-05/0.04468, allocations: 8 kB / 251.2 MB, free: 2.027 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000919/0.0456, allocations: 222.4 kB / 251.5 MB, free: 1.812 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.275e-05/0.04562, allocations: 19.92 kB / 251.5 MB, free: 1.793 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005979/0.04622, allocations: 63.52 kB / 251.5 MB, free: 1.73 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.627e-05/0.04629, allocations: 23.98 kB / 251.6 MB, free: 1.707 MB / 250.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.0006243/0.04691, allocations: 152.5 kB / 251.7 MB, free: 1.547 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002094/0.04712, allocations: 71.92 kB / 251.8 MB, free: 1.477 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007518/0.04787, allocations: 341.5 kB / 252.1 MB, free: 1.129 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/0.04789, allocations: 8 kB / 252.1 MB, free: 1.121 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.04789, allocations: 0 / 252.1 MB, free: 1.121 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.0479, allocations: 7.984 kB / 252.1 MB, free: 1.113 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001669/0.04957, allocations: 0.7791 MB / 252.9 MB, free: 308 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.04958, allocations: 0 / 252.9 MB, free: 308 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004613/0.05004, allocations: 115.8 kB / 253 MB, free: 192 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001985/0.05024, allocations: 95.28 kB / 253.1 MB, free: 96 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004463/0.05068, allocations: 139.4 kB / 253.3 MB, free: 15.95 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.338e-05/0.05074, allocations: 19.98 kB / 253.3 MB, free: 15.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002263/0.053, allocations: 2.015 MB / 255.3 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.053, allocations: 3.938 kB / 255.3 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001067/0.05407, allocations: 0.625 MB / 255.9 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000163/0.05423, allocations: 19.98 kB / 255.9 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002641/0.05688, allocations: 35.97 kB / 256 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003211/0.0572, allocations: 43.92 kB / 256 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.848e-05/0.05727, allocations: 15.98 kB / 256 MB, free: 13.06 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005935/0.05786, allocations: 312.5 kB / 256.3 MB, free: 12.76 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.05786, allocations: 4 kB / 256.3 MB, free: 12.75 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001156/0.05901, allocations: 366.8 kB / 256.7 MB, free: 12.39 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.0003159/0.05933, allocations: 116.6 kB / 256.8 MB, free: 12.27 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006517/0.05998, allocations: 277.2 kB / 257.1 MB, free: 12 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.46e-05/0.06003, allocations: 15.94 kB / 257.1 MB, free: 11.98 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000763/0.06079, allocations: 346.2 kB / 257.4 MB, free: 11.63 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009178/0.06171, allocations: 251.2 kB / 257.7 MB, free: 11.38 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01411/0.07581, allocations: 2.443 MB / 260.1 MB, free: 8.875 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003936/0.07621, allocations: 377.8 kB / 260.5 MB, free: 8.484 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003938/0.0766, allocations: 106.8 kB / 260.6 MB, free: 8.375 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000455/0.07706, allocations: 221.2 kB / 260.8 MB, free: 8.16 MB / 266.7 MB Notification: Performance of SimCode: time 1.443e-06/0.07706, allocations: 0 / 260.8 MB, free: 8.16 MB / 266.7 MB Notification: Performance of Templates: time 0.01857/0.09563, allocations: 12.85 MB / 273.7 MB, free: 11.32 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.makefile [Timeout 660] (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 & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/Components/MultiPhaseInductance/MultiPhaseInductance.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9410631768405437]