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.0007739/0.0007739, allocations: 77.36 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001128/0.001902, allocations: 445.8 kB / 10.44 MB, free: 252 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.0006488/0.0006488, allocations: 148.9 kB / 11.34 MB, free: 2.832 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009487/0.001597, allocations: 475.6 kB / 11.8 MB, free: 2.363 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.8353/0.8353, allocations: 173.4 MB / 185.9 MB, free: 8.914 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07201/0.9073, allocations: 52.5 MB / 238.4 MB, free: 4.352 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.102e-06/1.102e-06, allocations: 0 / 239.7 MB, free: 3.082 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.184e-05/1.294e-05, allocations: 5.688 kB / 239.7 MB, free: 3.078 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.003608/0.003621, allocations: 4.594 MB / 244.3 MB, free: 14.46 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001964/0.005585, allocations: 1.712 MB / 246 MB, free: 12.74 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002406/0.005826, allocations: 31.81 kB / 246.1 MB, free: 12.71 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003787/0.006205, allocations: 282.1 kB / 246.3 MB, free: 12.43 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009758/0.007181, allocations: 0.703 MB / 247 MB, free: 11.72 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000311/0.007492, allocations: 227.4 kB / 247.3 MB, free: 11.5 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001327/0.008818, allocations: 1.965 MB / 249.2 MB, free: 9.527 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005397/0.009358, allocations: 0.6915 MB / 249.9 MB, free: 8.781 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000959/0.01032, allocations: 1.399 MB / 251.3 MB, free: 7.383 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008013/0.01112, allocations: 1.045 MB / 252.4 MB, free: 6.336 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001799/0.0113, allocations: 188 kB / 252.6 MB, free: 6.152 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000384/0.01168, allocations: 303.8 kB / 252.9 MB, free: 5.855 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002593/0.01194, allocations: 454.8 kB / 253.3 MB, free: 5.41 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003851/0.01233, allocations: 0.503 MB / 253.8 MB, free: 4.906 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001023/0.01335, allocations: 1.495 MB / 255.3 MB, free: 3.406 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.736e-06/0.01336, allocations: 4 kB / 255.3 MB, free: 3.402 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.01336, allocations: 0 / 255.3 MB, free: 3.402 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.928e-05/0.01338, allocations: 0 / 255.3 MB, free: 3.402 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.002182/0.01556, allocations: 2.355 MB / 257.7 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.701e-05/0.01559, allocations: 16.03 kB / 257.7 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008444/0.01643, allocations: 424.3 kB / 258.1 MB, free: 0.5664 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006589/0.01709, allocations: 0.6259 MB / 258.7 MB, free: 15.91 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.875e-05/0.01714, allocations: 103 kB / 258.8 MB, free: 15.81 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/0.01727, allocations: 128.4 kB / 258.9 MB, free: 15.68 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001048/0.01832, allocations: 1.163 MB / 260.1 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.931e-05/0.01834, allocations: 3.938 kB / 260.1 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001286/0.01847, allocations: 56 kB / 260.2 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.421e-05/0.01853, allocations: 46 kB / 260.2 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004642/0.01899, allocations: 326.9 kB / 260.5 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003664/0.02266, allocations: 3.511 MB / 264 MB, free: 10.31 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/0.02371, allocations: 0.5939 MB / 264.6 MB, free: 9.691 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001967/0.02391, allocations: 156.5 kB / 264.8 MB, free: 9.531 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.141e-05/0.024, allocations: 28.48 kB / 264.8 MB, free: 9.504 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.02402, allocations: 43.06 kB / 264.8 MB, free: 9.453 MB / 266.7 MB Notification: Performance of pre-optimization done (n=69): time 2.064e-06/0.02403, allocations: 0 / 264.8 MB, free: 9.453 MB / 266.7 MB Notification: Performance of matching and sorting (n=69): time 0.001381/0.02541, allocations: 0.6224 MB / 265.5 MB, free: 8.82 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.496e-05/0.02544, allocations: 85.61 kB / 265.6 MB, free: 8.719 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005522/0.02599, allocations: 0.6364 MB / 266.2 MB, free: 8.07 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.338e-05/0.02604, allocations: 37.7 kB / 266.2 MB, free: 8.027 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002781/0.02632, allocations: 0.5641 MB / 266.8 MB, free: 7.457 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001516/0.02647, allocations: 253.8 kB / 267 MB, free: 7.207 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001803/0.02665, allocations: 134.5 kB / 267.2 MB, free: 7.066 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.121e-05/0.02674, allocations: 341.9 kB / 267.5 MB, free: 6.727 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/0.02687, allocations: 69.95 kB / 267.6 MB, free: 6.66 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002243/0.02709, allocations: 240.3 kB / 267.8 MB, free: 6.363 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004468/0.02754, allocations: 402.3 kB / 268.2 MB, free: 5.906 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.02755, allocations: 0 / 268.2 MB, free: 5.906 MB / 266.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0005703/0.02812, allocations: 425.7 kB / 268.6 MB, free: 5.48 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.02813, allocations: 4 kB / 268.6 MB, free: 5.477 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.02814, allocations: 8 kB / 268.6 MB, free: 5.469 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.02816, allocations: 8 kB / 268.6 MB, free: 5.461 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006846/0.02884, allocations: 248.2 kB / 268.9 MB, free: 5.219 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.02885, allocations: 11.94 kB / 268.9 MB, free: 5.207 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002923/0.02914, allocations: 75.5 kB / 269 MB, free: 5.133 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.351e-05/0.02919, allocations: 20 kB / 269 MB, free: 5.113 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (97): * Single equations (assignments): 97 * 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.0002007/0.02939, allocations: 160.4 kB / 269.1 MB, free: 4.945 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001303/0.02952, allocations: 83.91 kB / 269.2 MB, free: 4.863 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000551/0.03007, allocations: 378.7 kB / 269.6 MB, free: 4.48 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.03008, allocations: 8 kB / 269.6 MB, free: 4.473 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.03008, allocations: 4 kB / 269.6 MB, free: 4.469 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.03009, allocations: 3.984 kB / 269.6 MB, free: 4.465 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001732/0.03182, allocations: 1.371 MB / 271 MB, free: 3.055 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.03182, allocations: 8.094 kB / 271 MB, free: 3.047 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004115/0.03224, allocations: 143.8 kB / 271.1 MB, free: 2.906 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/0.03235, allocations: 103.1 kB / 271.2 MB, free: 2.805 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003196/0.03267, allocations: 127.5 kB / 271.4 MB, free: 2.676 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.451e-05/0.03272, allocations: 23.98 kB / 271.4 MB, free: 2.652 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001626/0.03434, allocations: 2.029 MB / 273.4 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.03434, allocations: 0 / 273.4 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09731/0.1317, allocations: 0.793 MB / 274.2 MB, free: 20.81 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001783/0.1318, allocations: 22.39 kB / 274.2 MB, free: 20.81 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002925/0.1321, allocations: 38.84 kB / 274.3 MB, free: 20.81 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.1322, allocations: 55 kB / 274.3 MB, free: 20.81 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.872e-05/0.1323, allocations: 16.86 kB / 274.3 MB, free: 20.81 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003357/0.1326, allocations: 311.9 kB / 274.6 MB, free: 20.78 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1326, allocations: 0 / 274.6 MB, free: 20.78 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000742/0.1333, allocations: 368.4 kB / 275 MB, free: 20.78 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im,inductor_e.inductor[1].i,inductor_e.inductor[2].i,inductor_e.inductor[3].i) * 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 (53): * Single equations (assignments): 52 * 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.0001953/0.1335, allocations: 128.9 kB / 275.1 MB, free: 20.71 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004256/0.134, allocations: 329.4 kB / 275.4 MB, free: 20.7 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.351e-05/0.134, allocations: 15.7 kB / 275.5 MB, free: 20.7 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004712/0.1345, allocations: 417.4 kB / 275.9 MB, free: 20.56 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007952/0.1353, allocations: 1.693 MB / 277.6 MB, free: 18.93 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008418/0.1437, allocations: 2.488 MB / 280 MB, free: 17.87 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003536/0.144, allocations: 388 kB / 280.4 MB, free: 17.79 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002799/0.1443, allocations: 118.8 kB / 280.5 MB, free: 17.78 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003606/0.1447, allocations: 234.1 kB / 280.8 MB, free: 17.73 MB / 266.7 MB Notification: Performance of SimCode: time 8.22e-07/0.1447, allocations: 0 / 280.8 MB, free: 17.73 MB / 266.7 MB Notification: Performance of Templates: time 0.0157/0.1604, allocations: 13.58 MB / 294.3 MB, free: 13.02 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7069147462025285]