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.00144/0.00144, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002163/0.003603, allocations: 453.8 kB / 10.46 MB, free: 236 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.0008994/0.0008994, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001277/0.002176, allocations: 483.5 kB / 11.83 MB, free: 2.336 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 1.048/1.048, allocations: 158.6 MB / 171.2 MB, free: 2.512 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1411/1.189, allocations: 49.5 MB / 220.7 MB, free: 1.359 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 1.553e-06/1.553e-06, allocations: 0 / 222 MB, free: 84 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.57e-05/1.725e-05, allocations: 5.406 kB / 222 MB, free: 80 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.005756/0.005774, allocations: 4.538 MB / 226.5 MB, free: 11.5 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003106/0.008879, allocations: 1.772 MB / 228.3 MB, free: 9.723 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003144/0.009194, allocations: 31.75 kB / 228.3 MB, free: 9.691 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005787/0.009772, allocations: 274.2 kB / 228.6 MB, free: 9.422 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001559/0.01133, allocations: 0.6641 MB / 229.3 MB, free: 8.754 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005284/0.01186, allocations: 231.4 kB / 229.5 MB, free: 8.527 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.002222/0.01408, allocations: 1.965 MB / 231.4 MB, free: 6.555 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009475/0.01503, allocations: 0.6715 MB / 232.1 MB, free: 5.832 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001945/0.01697, allocations: 1.403 MB / 233.5 MB, free: 4.43 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001492/0.01847, allocations: 1.049 MB / 234.6 MB, free: 3.379 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003482/0.01881, allocations: 184 kB / 234.7 MB, free: 3.199 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006591/0.01947, allocations: 303.7 kB / 235 MB, free: 2.902 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004629/0.01994, allocations: 454.8 kB / 235.5 MB, free: 2.457 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006641/0.0206, allocations: 0.503 MB / 236 MB, free: 1.953 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001703/0.0223, allocations: 1.488 MB / 237.5 MB, free: 472 kB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.41e-05/0.02232, allocations: 0 / 237.5 MB, free: 472 kB / 234.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.02232, allocations: 0 / 237.5 MB, free: 472 kB / 234.7 MB Notification: Performance of Transformations before backend: time 3.867e-05/0.02236, allocations: 0 / 237.5 MB, free: 472 kB / 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.003667/0.02602, allocations: 2.371 MB / 239.8 MB, free: 14.04 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.02606, allocations: 8.031 kB / 239.9 MB, free: 14.03 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009259/0.02699, allocations: 424.4 kB / 240.3 MB, free: 13.61 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007029/0.02769, allocations: 0.5713 MB / 240.8 MB, free: 13.02 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.441e-05/0.02775, allocations: 99.05 kB / 240.9 MB, free: 12.92 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001525/0.02791, allocations: 144.3 kB / 241.1 MB, free: 12.78 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/0.02903, allocations: 1.159 MB / 242.2 MB, free: 11.55 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/0.02905, allocations: 3.938 kB / 242.2 MB, free: 11.54 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.982e-05/0.02913, allocations: 56 kB / 242.3 MB, free: 11.49 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.024e-05/0.02918, allocations: 49.98 kB / 242.3 MB, free: 11.44 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004788/0.02966, allocations: 331 kB / 242.7 MB, free: 11.12 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003638/0.0333, allocations: 3.523 MB / 246.2 MB, free: 7.391 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008943/0.03419, allocations: 0.594 MB / 246.8 MB, free: 6.777 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001814/0.03437, allocations: 155.4 kB / 246.9 MB, free: 6.625 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001057/0.03448, allocations: 28.48 kB / 247 MB, free: 6.594 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.03451, allocations: 47 kB / 247 MB, free: 6.539 MB / 250.7 MB Notification: Performance of pre-optimization done (n=69): time 2.325e-06/0.03452, allocations: 0 / 247 MB, free: 6.539 MB / 250.7 MB Notification: Performance of matching and sorting (n=69): time 0.001172/0.03569, allocations: 0.6307 MB / 247.6 MB, free: 5.898 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/0.03573, allocations: 89.55 kB / 247.7 MB, free: 5.793 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005023/0.03624, allocations: 0.6325 MB / 248.4 MB, free: 5.148 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.193e-05/0.03628, allocations: 41.7 kB / 248.4 MB, free: 5.102 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002725/0.03655, allocations: 0.5564 MB / 249 MB, free: 4.539 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001321/0.03668, allocations: 253.8 kB / 249.2 MB, free: 4.289 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001461/0.03683, allocations: 130.6 kB / 249.3 MB, free: 4.156 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.03694, allocations: 341.9 kB / 249.7 MB, free: 3.816 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/0.03704, allocations: 65.97 kB / 249.7 MB, free: 3.75 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002165/0.03726, allocations: 240.4 kB / 250 MB, free: 3.449 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003867/0.03765, allocations: 406.2 kB / 250.4 MB, free: 2.988 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.03765, allocations: 0 / 250.4 MB, free: 2.988 MB / 250.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0004612/0.03811, allocations: 409.9 kB / 250.8 MB, free: 2.578 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/0.03814, allocations: 8 kB / 250.8 MB, free: 2.57 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.03815, allocations: 4 kB / 250.8 MB, free: 2.566 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/0.03817, allocations: 12 kB / 250.8 MB, free: 2.555 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005685/0.03874, allocations: 256 kB / 251 MB, free: 2.305 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.03875, allocations: 8 kB / 251 MB, free: 2.297 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002181/0.03897, allocations: 79.45 kB / 251.1 MB, free: 2.219 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.145e-05/0.039, allocations: 20 kB / 251.1 MB, free: 2.199 MB / 250.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.0002032/0.0392, allocations: 164.3 kB / 251.3 MB, free: 2.027 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.03931, allocations: 83.91 kB / 251.4 MB, free: 1.945 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004809/0.03979, allocations: 374.7 kB / 251.8 MB, free: 1.566 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.03979, allocations: 8 kB / 251.8 MB, free: 1.559 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.0398, allocations: 4 kB / 251.8 MB, free: 1.555 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.03981, allocations: 7.969 kB / 251.8 MB, free: 1.547 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001472/0.04128, allocations: 1.379 MB / 253.2 MB, free: 128 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.04128, allocations: 4 kB / 253.2 MB, free: 124 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003376/0.04162, allocations: 147.9 kB / 253.3 MB, free: 15.97 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.93e-05/0.04172, allocations: 95.19 kB / 253.4 MB, free: 15.88 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002923/0.04201, allocations: 143.4 kB / 253.5 MB, free: 15.74 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.278e-05/0.04206, allocations: 19.98 kB / 253.6 MB, free: 15.72 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001494/0.04355, allocations: 2.019 MB / 255.6 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.04355, allocations: 0 / 255.6 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006994/0.04425, allocations: 0.7911 MB / 256.4 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.245e-05/0.04431, allocations: 16 kB / 256.4 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002183/0.04453, allocations: 39.97 kB / 256.4 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.04463, allocations: 64.27 kB / 256.5 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-05/0.04466, allocations: 23.98 kB / 256.5 MB, free: 12.64 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002471/0.04491, allocations: 304.5 kB / 256.8 MB, free: 12.35 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04491, allocations: 0 / 256.8 MB, free: 12.35 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005794/0.04549, allocations: 378.9 kB / 257.2 MB, free: 11.98 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.0002039/0.04569, allocations: 120.3 kB / 257.3 MB, free: 11.85 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003651/0.04605, allocations: 323 kB / 257.6 MB, free: 11.53 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.016e-05/0.04607, allocations: 17.59 kB / 257.6 MB, free: 11.52 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004656/0.04654, allocations: 422.4 kB / 258 MB, free: 11.09 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009956/0.04754, allocations: 1.705 MB / 259.7 MB, free: 9.074 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008074/0.05561, allocations: 2.478 MB / 262.2 MB, free: 6.527 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002597/0.05587, allocations: 379.1 kB / 262.6 MB, free: 6.137 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002468/0.05612, allocations: 119.2 kB / 262.7 MB, free: 6.016 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003393/0.05646, allocations: 237.2 kB / 262.9 MB, free: 5.785 MB / 266.7 MB Notification: Performance of SimCode: time 7.02e-07/0.05646, allocations: 0 / 262.9 MB, free: 5.785 MB / 266.7 MB Notification: Performance of Templates: time 0.01837/0.07483, allocations: 13.56 MB / 276.5 MB, free: 8.234 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.07878871075809]