Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.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.0009542/0.0009542, allocations: 75.75 kB / 21.97 MB, free: 2.602 MB / 18.57 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.0009166/0.0009166, allocations: 170.1 kB / 25.33 MB, free: 8.598 MB / 18.57 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.9725/0.9725, allocations: 158.6 MB / 187.2 MB, free: 2.93 MB / 170.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.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 251.1 MB, free: 7.508 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.344e-05/2.517e-05, allocations: 2.312 kB / 251.1 MB, free: 7.504 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.007973/0.007998, allocations: 9.66 MB / 260.7 MB, free: 13.79 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006714/0.01471, allocations: 3.311 MB / 264 MB, free: 10.47 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001557/0.01627, allocations: 75.62 kB / 264.1 MB, free: 10.4 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004912/0.02118, allocations: 4.103 MB / 268.2 MB, free: 6.277 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003268/0.02445, allocations: 1.445 MB / 269.6 MB, free: 4.824 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00176/0.02621, allocations: 1.133 MB / 270.8 MB, free: 3.688 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00739/0.0336, allocations: 9.522 MB / 280.3 MB, free: 10.12 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0143/0.0479, allocations: 12.86 MB / 293.2 MB, free: 13.13 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007322/0.05522, allocations: 7.556 MB / 300.7 MB, free: 5.562 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005495/0.06072, allocations: 6.068 MB / 306.8 MB, free: 15.48 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001853/0.06257, allocations: 1.395 MB / 308.2 MB, free: 14.09 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002133/0.0647, allocations: 1.628 MB / 309.8 MB, free: 12.46 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001797/0.0665, allocations: 3.02 MB / 312.8 MB, free: 9.434 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004471/0.07097, allocations: 3.719 MB / 316.5 MB, free: 5.707 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009758/0.08073, allocations: 9.693 MB / 326.2 MB, free: 11.98 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.08074, allocations: 0 / 326.2 MB, free: 11.98 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.08074, allocations: 0 / 326.2 MB, free: 11.98 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002774/0.08102, allocations: 0 / 326.2 MB, free: 11.98 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2549 * Number of variables: 2549 Notification: Performance of Generate backend data structure: time 0.01819/0.0992, allocations: 13.27 MB / 339.5 MB, free: 14.63 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.09925, allocations: 15.98 kB / 339.5 MB, free: 14.62 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0246/0.1239, allocations: 10.17 MB / 349.7 MB, free: 4.43 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2619/0.3858, allocations: 4.868 MB / 354.6 MB, free: 74.97 MB / 330.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000787/0.3865, allocations: 0.6588 MB / 355.2 MB, free: 74.95 MB / 330.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003357/0.3899, allocations: 0.8667 MB / 356.1 MB, free: 74.95 MB / 330.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01274/0.4026, allocations: 8.542 MB / 364.6 MB, free: 74.23 MB / 330.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001166/0.4028, allocations: 9.469 kB / 364.6 MB, free: 74.23 MB / 330.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006088/0.4034, allocations: 362.9 kB / 365 MB, free: 74.23 MB / 330.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003464/0.4037, allocations: 0.5565 MB / 365.5 MB, free: 74.2 MB / 330.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008764/0.4125, allocations: 5.066 MB / 370.6 MB, free: 74.06 MB / 330.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03409/0.4466, allocations: 37.37 MB / 408 MB, free: 41.02 MB / 330.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006542/0.4531, allocations: 6.197 MB / 414.2 MB, free: 35.28 MB / 330.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001525/0.4546, allocations: 1.373 MB / 415.6 MB, free: 33.91 MB / 330.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001938/0.4548, allocations: 115.9 kB / 415.7 MB, free: 33.79 MB / 330.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.003e-05/0.4549, allocations: 89.39 kB / 415.8 MB, free: 33.7 MB / 330.8 MB Notification: Performance of pre-optimization done (n=468): time 5.951e-06/0.4549, allocations: 1.688 kB / 415.8 MB, free: 33.7 MB / 330.8 MB Notification: Performance of matching and sorting (n=468): time 0.009649/0.4645, allocations: 6.081 MB / 421.8 MB, free: 27.64 MB / 330.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/0.4646, allocations: 125.1 kB / 422 MB, free: 27.5 MB / 330.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003958/0.4685, allocations: 4.044 MB / 426 MB, free: 23.57 MB / 330.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001913/0.4687, allocations: 101.7 kB / 426.1 MB, free: 23.46 MB / 330.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001776/0.4705, allocations: 4.355 MB / 430.5 MB, free: 19.63 MB / 330.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000825/0.4713, allocations: 1.734 MB / 432.2 MB, free: 17.92 MB / 330.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001408/0.4727, allocations: 1.689 MB / 433.9 MB, free: 16.22 MB / 330.8 MB Notification: Performance of setup shared object (initialization): time 4.067e-05/0.4728, allocations: 476.8 kB / 434.3 MB, free: 15.75 MB / 330.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001675/0.4745, allocations: 1.127 MB / 435.5 MB, free: 14.62 MB / 330.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002716/0.4772, allocations: 5.42 MB / 440.9 MB, free: 7.465 MB / 330.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005173/0.4823, allocations: 7.194 MB / 448.1 MB, free: 14.84 MB / 346.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.875e-05/0.4824, allocations: 24 kB / 448.1 MB, free: 14.82 MB / 346.8 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.009538/0.4919, allocations: 6.929 MB / 455 MB, free: 8.449 MB / 346.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.325e-05/0.492, allocations: 44 kB / 455.1 MB, free: 8.406 MB / 346.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.68e-05/0.492, allocations: 92 kB / 455.2 MB, free: 8.316 MB / 346.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003225/0.4953, allocations: 1.534 MB / 456.7 MB, free: 6.758 MB / 346.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003017/0.4983, allocations: 1.672 MB / 458.4 MB, free: 5.207 MB / 346.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01058/0.5089, allocations: 15.71 MB / 474.1 MB, free: 4.883 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004197/0.5131, allocations: 0.9742 MB / 475.1 MB, free: 3.902 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000492/0.5136, allocations: 360 kB / 475.4 MB, free: 3.551 MB / 362.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 424 * 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 (876): * Single equations (assignments): 870 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(8,30,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002377/0.5159, allocations: 0.6397 MB / 476.1 MB, free: 2.93 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007622/0.5167, allocations: 0.5443 MB / 476.6 MB, free: 2.383 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006927/0.5236, allocations: 4.869 MB / 481.5 MB, free: 13.43 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.97e-05/0.5236, allocations: 51.94 kB / 481.5 MB, free: 13.38 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.114e-05/0.5237, allocations: 12 kB / 481.5 MB, free: 13.36 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.641e-05/0.5237, allocations: 23.91 kB / 481.6 MB, free: 13.34 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01621/0.5399, allocations: 12.32 MB / 493.9 MB, free: 0.9766 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.198e-06/0.5399, allocations: 4.031 kB / 493.9 MB, free: 0.9727 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001804/0.5417, allocations: 0.862 MB / 494.7 MB, free: 112 kB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1632/0.705, allocations: 1.42 MB / 496.2 MB, free: 94.31 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009484/0.7059, allocations: 104.3 kB / 496.3 MB, free: 94.31 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009223/0.7151, allocations: 15.5 MB / 0.4998 GB, free: 82.67 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.7151, allocations: 7.125 kB / 0.4998 GB, free: 82.67 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008871/0.724, allocations: 5.827 MB / 0.5055 GB, free: 81.81 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001821/0.7258, allocations: 0.9515 MB / 0.5064 GB, free: 81.59 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003486/0.7262, allocations: 87.03 kB / 0.5065 GB, free: 81.59 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001188/0.7274, allocations: 309.7 kB / 0.5068 GB, free: 81.59 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004755/0.7278, allocations: 338.9 kB / 0.5071 GB, free: 81.58 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001801/0.728, allocations: 132.5 kB / 0.5072 GB, free: 81.58 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.001901/0.7299, allocations: 1.596 MB / 0.5088 GB, free: 81.39 MB / 378.8 MB Notification: Performance of sort global known variables: time 2.21e-07/0.7299, allocations: 2 kB / 0.5088 GB, free: 81.39 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.00533/0.7353, allocations: 2.402 MB / 0.5111 GB, free: 81.12 MB / 378.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (voltageSource_m.plug_p.reference.gamma,voltageSource_e.plug_p.reference.gamma) * 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 (455): * Single equations (assignments): 449 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(8,30,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005266/0.7358, allocations: 262 kB / 0.5114 GB, free: 81.03 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.006993/0.7428, allocations: 5.767 MB / 0.517 GB, free: 79.76 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.7428, allocations: 3.688 kB / 0.517 GB, free: 79.76 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003108/0.7459, allocations: 3.159 MB / 0.5201 GB, free: 78.59 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00236/0.7482, allocations: 0.753 MB / 0.5208 GB, free: 78.55 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01783/0.7661, allocations: 13.61 MB / 0.5341 GB, free: 71.79 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001906/0.768, allocations: 2.532 MB / 0.5366 GB, free: 70.55 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.003951/0.7719, allocations: 2.805 MB / 0.5393 GB, free: 68.93 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007742/0.7727, allocations: 372.8 kB / 0.5397 GB, free: 68.61 MB / 378.8 MB Notification: Performance of SimCode: time 2.154e-06/0.7727, allocations: 0 / 0.5397 GB, free: 68.61 MB / 378.8 MB Notification: Performance of Templates: time 0.07159/0.8443, allocations: 61.31 MB / 0.5996 GB, free: 9.801 MB / 378.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.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/QuasiStatic/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: 5.204308710992336]