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.0009172/0.0009172, allocations: 80.8 kB / 22.28 MB, free: 2.207 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.0009079/0.0009079, allocations: 164.6 kB / 25.69 MB, free: 8.406 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.8011/0.8011, allocations: 158.6 MB / 187.6 MB, free: 2.785 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 2.355e-06/2.355e-06, allocations: 3.938 kB / 251.5 MB, free: 7.266 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.94e-05/3.175e-05, allocations: 6.312 kB / 251.5 MB, free: 7.258 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.009797/0.009829, allocations: 9.332 MB / 260.9 MB, free: 13.88 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005632/0.01546, allocations: 3.434 MB / 264.3 MB, free: 10.43 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001213/0.01667, allocations: 71.62 kB / 264.4 MB, free: 10.36 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004764/0.02144, allocations: 4.11 MB / 268.5 MB, free: 6.23 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003334/0.02477, allocations: 1.449 MB / 269.9 MB, free: 4.773 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001841/0.02661, allocations: 1.137 MB / 271.1 MB, free: 3.633 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.008386/0.035, allocations: 9.536 MB / 280.6 MB, free: 10.06 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01688/0.05188, allocations: 13.22 MB / 293.8 MB, free: 12.65 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009935/0.06181, allocations: 7.61 MB / 301.4 MB, free: 5.031 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008119/0.06993, allocations: 6.352 MB / 307.8 MB, free: 14.66 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002777/0.07271, allocations: 1.395 MB / 309.2 MB, free: 13.27 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003231/0.07594, allocations: 1.628 MB / 310.8 MB, free: 11.64 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002295/0.07824, allocations: 3.02 MB / 313.8 MB, free: 8.617 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005096/0.08333, allocations: 3.723 MB / 317.6 MB, free: 4.887 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009331/0.09266, allocations: 9.685 MB / 327.2 MB, free: 11.18 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.391e-06/0.09267, allocations: 0 / 327.2 MB, free: 11.18 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.09267, allocations: 0 / 327.2 MB, free: 11.18 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002648/0.09293, allocations: 4 kB / 327.3 MB, free: 11.17 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.01609/0.109, allocations: 11.2 MB / 338.4 MB, free: 15.91 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.1091, allocations: 11.98 kB / 338.5 MB, free: 15.89 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02203/0.1311, allocations: 8.026 MB / 346.5 MB, free: 7.855 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006199/0.1373, allocations: 2.584 MB / 349.1 MB, free: 5.211 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003989/0.1377, allocations: 0.6584 MB / 349.7 MB, free: 4.551 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002178/0.1399, allocations: 0.871 MB / 350.6 MB, free: 3.68 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1891/0.329, allocations: 7.993 MB / 358.6 MB, free: 74.6 MB / 330.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001572/0.3292, allocations: 7.125 kB / 358.6 MB, free: 74.6 MB / 330.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007183/0.3299, allocations: 372 kB / 359 MB, free: 74.6 MB / 330.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000324/0.3302, allocations: 0.5546 MB / 359.5 MB, free: 74.58 MB / 330.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007941/0.3382, allocations: 4.425 MB / 363.9 MB, free: 74.29 MB / 330.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04243/0.3806, allocations: 27.78 MB / 391.7 MB, free: 58.24 MB / 330.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006896/0.3875, allocations: 4.426 MB / 396.1 MB, free: 53.98 MB / 330.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001461/0.3889, allocations: 0.9744 MB / 397.1 MB, free: 53.04 MB / 330.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002852/0.3892, allocations: 119.9 kB / 397.2 MB, free: 52.92 MB / 330.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.212e-05/0.3893, allocations: 82.56 kB / 397.3 MB, free: 52.83 MB / 330.8 MB Notification: Performance of pre-optimization done (n=468): time 8.346e-06/0.3893, allocations: 0 / 397.3 MB, free: 52.83 MB / 330.8 MB Notification: Performance of matching and sorting (n=468): time 0.01125/0.4005, allocations: 4.499 MB / 401.8 MB, free: 48.39 MB / 330.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.238e-05/0.4006, allocations: 132.7 kB / 401.9 MB, free: 48.25 MB / 330.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003278/0.4039, allocations: 2.424 MB / 404.4 MB, free: 46.43 MB / 330.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007191/0.4046, allocations: 101.7 kB / 404.5 MB, free: 46.32 MB / 330.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001947/0.4065, allocations: 3.791 MB / 408.3 MB, free: 43.18 MB / 330.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001545/0.4081, allocations: 1.664 MB / 409.9 MB, free: 41.61 MB / 330.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001617/0.4097, allocations: 1.323 MB / 411.2 MB, free: 40.42 MB / 330.8 MB Notification: Performance of setup shared object (initialization): time 2.707e-05/0.4097, allocations: 305.1 kB / 411.5 MB, free: 40.12 MB / 330.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001765/0.4115, allocations: 1.079 MB / 412.6 MB, free: 39.04 MB / 330.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002674/0.4142, allocations: 3.58 MB / 416.2 MB, free: 34.39 MB / 330.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005339/0.4195, allocations: 5.276 MB / 421.5 MB, free: 28.35 MB / 330.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.547e-05/0.4196, allocations: 24 kB / 421.5 MB, free: 28.32 MB / 330.8 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.009708/0.4293, allocations: 5.207 MB / 426.7 MB, free: 23.7 MB / 330.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.023e-05/0.4294, allocations: 44 kB / 426.8 MB, free: 23.66 MB / 330.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001057/0.4295, allocations: 92 kB / 426.8 MB, free: 23.57 MB / 330.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003942/0.4334, allocations: 1.393 MB / 428.2 MB, free: 22.18 MB / 330.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004958/0.4384, allocations: 1.492 MB / 429.7 MB, free: 20.8 MB / 330.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008945/0.4473, allocations: 10.88 MB / 440.6 MB, free: 9.617 MB / 330.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004504/0.4518, allocations: 0.7871 MB / 441.4 MB, free: 8.824 MB / 330.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007978/0.4526, allocations: 294.6 kB / 441.7 MB, free: 8.539 MB / 330.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.002561/0.4552, allocations: 0.5948 MB / 442.3 MB, free: 8.051 MB / 330.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008112/0.456, allocations: 387.6 kB / 442.7 MB, free: 7.672 MB / 330.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00615/0.4621, allocations: 3.707 MB / 446.4 MB, free: 3.957 MB / 330.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.701e-05/0.4622, allocations: 48 kB / 446.4 MB, free: 3.91 MB / 330.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.494e-05/0.4622, allocations: 12 kB / 446.4 MB, free: 3.898 MB / 330.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.475e-05/0.4622, allocations: 31.84 kB / 446.5 MB, free: 3.867 MB / 330.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01451/0.4767, allocations: 8.571 MB / 455 MB, free: 12.15 MB / 346.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.191e-05/0.4767, allocations: 7.875 kB / 455 MB, free: 12.14 MB / 346.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001773/0.4785, allocations: 0.6905 MB / 455.7 MB, free: 11.45 MB / 346.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002773/0.4813, allocations: 1.272 MB / 457 MB, free: 10.17 MB / 346.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004089/0.4817, allocations: 91.97 kB / 457.1 MB, free: 10.08 MB / 346.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007833/0.4895, allocations: 10.69 MB / 467.8 MB, free: 15.01 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.4895, allocations: 7.938 kB / 467.8 MB, free: 15 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006593/0.4961, allocations: 4.284 MB / 472.1 MB, free: 10.63 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00138/0.4975, allocations: 0.6207 MB / 472.7 MB, free: 10.01 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004401/0.498, allocations: 84 kB / 472.8 MB, free: 9.926 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009883/0.4989, allocations: 132 kB / 472.9 MB, free: 9.797 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000484/0.4994, allocations: 323.4 kB / 473.2 MB, free: 9.477 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001748/0.4996, allocations: 91.97 kB / 473.3 MB, free: 9.387 MB / 362.8 MB Notification: Performance of sorting global known variables: time 0.001143/0.5007, allocations: 1.034 MB / 474.3 MB, free: 8.477 MB / 362.8 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5007, allocations: 0 / 474.3 MB, free: 8.477 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.004926/0.5057, allocations: 2.403 MB / 476.7 MB, free: 6.066 MB / 362.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.0005378/0.5062, allocations: 249.8 kB / 477 MB, free: 5.82 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 0.006127/0.5123, allocations: 4.327 MB / 481.3 MB, free: 1.426 MB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0001671/0.5125, allocations: 67.94 kB / 481.4 MB, free: 1.352 MB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002979/0.5155, allocations: 2.361 MB / 483.7 MB, free: 14.9 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002614/0.5181, allocations: 0.7359 MB / 484.5 MB, free: 14.16 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01758/0.5357, allocations: 13.19 MB / 497.7 MB, free: 0.8359 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1045/0.6401, allocations: 1.793 MB / 499.5 MB, free: 107.5 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.002417/0.6426, allocations: 0.758 MB / 0.4885 GB, free: 107.4 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00148/0.644, allocations: 0.8496 MB / 0.4893 GB, free: 107.4 MB / 378.8 MB Notification: Performance of SimCode: time 1.563e-06/0.644, allocations: 6.562 kB / 0.4893 GB, free: 107.4 MB / 378.8 MB Notification: Performance of Templates: time 0.08737/0.7314, allocations: 66.94 MB / 0.5547 GB, free: 58.48 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: 4.5937566459178925]