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.00112/0.00112, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001672/0.002791, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.0008763/0.0008763, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009596/0.001836, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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 0.8917/0.8917, allocations: 173.4 MB / 185.8 MB, free: 9.004 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08009/0.9718, allocations: 52.5 MB / 238.3 MB, free: 4.441 MB / 234.7 MB " [Timeout remaining time 179] 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.[0-9,]+..Phi.re|converter_m.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|inductor_e.inductor.[0-9,]+..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.[0-9,]+..Phi.re|converter_m.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|inductor_e.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 239.5 MB, free: 3.199 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.723e-05/1.846e-05, allocations: 2.875 kB / 239.5 MB, free: 3.195 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.003791/0.00381, allocations: 4.581 MB / 244.1 MB, free: 14.59 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001675/0.005484, allocations: 1.72 MB / 245.8 MB, free: 12.87 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001989/0.005683, allocations: 35.81 kB / 245.9 MB, free: 12.83 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003658/0.006049, allocations: 282.1 kB / 246.2 MB, free: 12.55 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009205/0.00697, allocations: 0.6952 MB / 246.9 MB, free: 11.86 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002807/0.00725, allocations: 223.4 kB / 247.1 MB, free: 11.64 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001267/0.008518, allocations: 1.968 MB / 249 MB, free: 9.66 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005482/0.009066, allocations: 0.6915 MB / 249.7 MB, free: 8.914 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001017/0.01008, allocations: 1.406 MB / 251.1 MB, free: 7.508 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00079/0.01087, allocations: 1.045 MB / 252.2 MB, free: 6.461 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001612/0.01103, allocations: 184 kB / 252.4 MB, free: 6.281 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002013/0.01305, allocations: 303.7 kB / 252.7 MB, free: 5.984 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007212/0.01377, allocations: 458.8 kB / 253.1 MB, free: 5.535 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001193/0.01496, allocations: 0.4991 MB / 253.6 MB, free: 5.035 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002187/0.01715, allocations: 1.503 MB / 255.1 MB, free: 3.527 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.098e-05/0.01717, allocations: 0 / 255.1 MB, free: 3.527 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.01717, allocations: 0 / 255.1 MB, free: 3.527 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.72e-05/0.01725, allocations: 7.938 kB / 255.1 MB, free: 3.52 MB / 250.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.004432/0.02168, allocations: 2.355 MB / 257.5 MB, free: 1.113 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.02172, allocations: 8.031 kB / 257.5 MB, free: 1.105 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001436/0.02316, allocations: 424.4 kB / 257.9 MB, free: 0.6914 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/0.02434, allocations: 0.6336 MB / 258.5 MB, free: 32 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.514e-05/0.02441, allocations: 95.09 kB / 258.6 MB, free: 15.93 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001339/0.02454, allocations: 136.4 kB / 258.8 MB, free: 15.8 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001147/0.02569, allocations: 1.159 MB / 259.9 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/0.02571, allocations: 3.938 kB / 259.9 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.573e-05/0.02579, allocations: 56 kB / 260 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.602e-05/0.02583, allocations: 49.94 kB / 260 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005075/0.02634, allocations: 327 kB / 260.3 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003773/0.03011, allocations: 3.507 MB / 263.8 MB, free: 10.43 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008692/0.03098, allocations: 0.5971 MB / 264.4 MB, free: 9.816 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001603/0.03114, allocations: 147.7 kB / 264.6 MB, free: 9.664 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001065/0.03221, allocations: 0.8754 MB / 265.5 MB, free: 8.77 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.03223, allocations: 42.56 kB / 265.5 MB, free: 8.719 MB / 266.7 MB Notification: Performance of pre-optimization done (n=53): time 2.094e-06/0.03223, allocations: 0 / 265.5 MB, free: 8.719 MB / 266.7 MB Notification: Performance of matching and sorting (n=53): time 0.001084/0.03332, allocations: 0.5652 MB / 266.1 MB, free: 8.145 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.269e-05/0.03335, allocations: 88.97 kB / 266.2 MB, free: 8.039 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000466/0.03382, allocations: 0.6364 MB / 266.8 MB, free: 7.391 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.654e-05/0.03385, allocations: 37.7 kB / 266.8 MB, free: 7.348 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002695/0.03412, allocations: 0.5794 MB / 267.4 MB, free: 6.762 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.746e-05/0.03422, allocations: 198.3 kB / 267.6 MB, free: 6.566 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/0.03435, allocations: 118.2 kB / 267.7 MB, free: 6.445 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.119e-05/0.03443, allocations: 341.8 kB / 268.1 MB, free: 6.105 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.03453, allocations: 61.27 kB / 268.1 MB, free: 6.047 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001741/0.0347, allocations: 225.6 kB / 268.3 MB, free: 5.754 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003269/0.03503, allocations: 359.1 kB / 268.7 MB, free: 5.336 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.03503, allocations: 4 kB / 268.7 MB, free: 5.332 MB / 266.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0004379/0.03547, allocations: 374.5 kB / 269.1 MB, free: 4.961 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.03549, allocations: 8.562 kB / 269.1 MB, free: 4.953 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.0355, allocations: 8 kB / 269.1 MB, free: 4.945 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.03551, allocations: 8 kB / 269.1 MB, free: 4.938 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005125/0.03602, allocations: 223.7 kB / 269.3 MB, free: 4.719 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.03603, allocations: 11.94 kB / 269.3 MB, free: 4.707 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002327/0.03627, allocations: 67.5 kB / 269.4 MB, free: 4.641 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.973e-05/0.0363, allocations: 24 kB / 269.4 MB, free: 4.617 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.0002139/0.03651, allocations: 152.4 kB / 269.5 MB, free: 4.457 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.839e-05/0.0366, allocations: 71.92 kB / 269.6 MB, free: 4.387 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004293/0.03703, allocations: 333.7 kB / 269.9 MB, free: 4.043 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.03703, allocations: 8 kB / 269.9 MB, free: 4.035 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.03704, allocations: 4 kB / 270 MB, free: 4.031 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.03704, allocations: 3.984 kB / 270 MB, free: 4.027 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000932/0.03798, allocations: 0.781 MB / 270.7 MB, free: 3.211 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.03798, allocations: 4 kB / 270.7 MB, free: 3.207 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002835/0.03826, allocations: 111.8 kB / 270.8 MB, free: 3.098 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.695e-05/0.03836, allocations: 95.28 kB / 270.9 MB, free: 3.004 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002895/0.03865, allocations: 136.7 kB / 271.1 MB, free: 2.867 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.689e-05/0.03869, allocations: 19.98 kB / 271.1 MB, free: 2.848 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001448/0.04013, allocations: 2.024 MB / 273.1 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.04014, allocations: 3.938 kB / 273.1 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005988/0.04074, allocations: 0.6211 MB / 273.7 MB, free: 80 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.281e-05/0.04081, allocations: 16 kB / 273.8 MB, free: 64 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002134/0.04102, allocations: 35.97 kB / 273.8 MB, free: 28 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.1022/0.1432, allocations: 43.38 kB / 273.8 MB, free: 21.37 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.782e-05/0.1433, allocations: 12.23 kB / 273.8 MB, free: 21.37 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000369/0.1437, allocations: 317.3 kB / 274.2 MB, free: 21.34 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1437, allocations: 0.5 kB / 274.2 MB, free: 21.34 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008976/0.1446, allocations: 361.5 kB / 274.5 MB, free: 21.34 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.0002541/0.1448, allocations: 127.8 kB / 274.6 MB, free: 21.27 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004728/0.1453, allocations: 265.3 kB / 274.9 MB, free: 21.25 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.438e-05/0.1453, allocations: 18.34 kB / 274.9 MB, free: 21.25 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004774/0.1458, allocations: 350.5 kB / 275.3 MB, free: 21.12 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006186/0.1464, allocations: 233.8 kB / 275.5 MB, free: 21.12 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009169/0.1556, allocations: 2.446 MB / 277.9 MB, free: 20.07 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004813/0.1561, allocations: 377.5 kB / 278.3 MB, free: 19.98 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0004285/0.1565, allocations: 107.9 kB / 278.4 MB, free: 19.97 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003769/0.1569, allocations: 221.6 kB / 278.6 MB, free: 19.93 MB / 266.7 MB Notification: Performance of SimCode: time 2.074e-06/0.1569, allocations: 1.781 kB / 278.6 MB, free: 19.93 MB / 266.7 MB Notification: Performance of Templates: time 0.01855/0.1754, allocations: 12.84 MB / 291.5 MB, free: 16.14 MB / 266.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 240] 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","",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.874293959699571]