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.0009159/0.0009159, allocations: 80.8 kB / 22.29 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.0009373/0.0009373, allocations: 170.1 kB / 25.7 MB, free: 8.414 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.9392/0.9392, allocations: 158.6 MB / 187.6 MB, free: 2.797 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.322e-06/1.322e-06, allocations: 0 / 251.6 MB, free: 7.227 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.771e-05/1.904e-05, allocations: 2.312 kB / 251.6 MB, free: 7.223 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.01898/0.019, allocations: 9.391 MB / 261 MB, free: 13.78 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007054/0.02606, allocations: 3.427 MB / 264.4 MB, free: 10.34 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001538/0.02759, allocations: 79.62 kB / 264.5 MB, free: 10.26 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004847/0.03244, allocations: 4.063 MB / 268.5 MB, free: 6.18 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003407/0.03585, allocations: 1.434 MB / 270 MB, free: 4.738 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001664/0.03751, allocations: 1.129 MB / 271.1 MB, free: 3.605 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.007465/0.04498, allocations: 9.536 MB / 280.6 MB, free: 10.03 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01456/0.05953, allocations: 13.15 MB / 293.8 MB, free: 12.7 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01034/0.06987, allocations: 7.614 MB / 301.4 MB, free: 5.074 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008717/0.07859, allocations: 6.356 MB / 307.8 MB, free: 14.71 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003724/0.08231, allocations: 1.398 MB / 309.2 MB, free: 13.31 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00517/0.08748, allocations: 1.64 MB / 310.8 MB, free: 11.67 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004321/0.0918, allocations: 3.012 MB / 313.8 MB, free: 8.648 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007671/0.09947, allocations: 3.719 MB / 317.5 MB, free: 4.922 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01014/0.1096, allocations: 9.689 MB / 327.2 MB, free: 11.21 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1096, allocations: 0 / 327.2 MB, free: 11.21 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.285e-06/0.1096, allocations: 3.984 kB / 327.2 MB, free: 11.2 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000338/0.11, allocations: 0 / 327.2 MB, free: 11.2 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.01806/0.128, allocations: 11.19 MB / 338.4 MB, free: 15.94 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.1281, allocations: 11.98 kB / 338.4 MB, free: 15.93 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02695/0.155, allocations: 8.03 MB / 346.5 MB, free: 7.887 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005944/0.1609, allocations: 2.572 MB / 349 MB, free: 5.254 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004798/0.1614, allocations: 0.6623 MB / 349.7 MB, free: 4.59 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002575/0.164, allocations: 0.8632 MB / 350.6 MB, free: 3.727 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1467/0.3107, allocations: 7.998 MB / 358.5 MB, free: 76.86 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003024/0.311, allocations: 13.98 kB / 358.6 MB, free: 76.86 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001438/0.3124, allocations: 366.7 kB / 358.9 MB, free: 76.86 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004157/0.3128, allocations: 0.5539 MB / 359.5 MB, free: 76.84 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009356/0.3222, allocations: 4.427 MB / 363.9 MB, free: 76.55 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03857/0.3608, allocations: 27.78 MB / 391.7 MB, free: 60.5 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005006/0.3658, allocations: 4.441 MB / 396.1 MB, free: 56.22 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001233/0.367, allocations: 0.9715 MB / 397.1 MB, free: 55.29 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002339/0.3672, allocations: 119.9 kB / 397.2 MB, free: 55.17 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.734e-05/0.3673, allocations: 89.3 kB / 397.3 MB, free: 55.07 MB / 330.7 MB Notification: Performance of pre-optimization done (n=468): time 6.783e-06/0.3673, allocations: 0 / 397.3 MB, free: 55.07 MB / 330.7 MB Notification: Performance of matching and sorting (n=468): time 0.007524/0.3748, allocations: 4.507 MB / 401.8 MB, free: 50.63 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/0.3749, allocations: 125.1 kB / 401.9 MB, free: 50.49 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002242/0.3771, allocations: 2.421 MB / 404.3 MB, free: 48.54 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002583/0.3774, allocations: 101.7 kB / 404.4 MB, free: 48.43 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001078/0.3784, allocations: 3.79 MB / 408.2 MB, free: 44.77 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008455/0.3793, allocations: 1.669 MB / 409.9 MB, free: 43.2 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001164/0.3804, allocations: 1.314 MB / 411.2 MB, free: 42.02 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.903e-05/0.3805, allocations: 317 kB / 411.5 MB, free: 41.7 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0012/0.3817, allocations: 1.071 MB / 412.6 MB, free: 40.63 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001698/0.3834, allocations: 3.589 MB / 416.2 MB, free: 35.97 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00355/0.3869, allocations: 5.269 MB / 421.5 MB, free: 29.93 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.917e-05/0.387, allocations: 31.75 kB / 421.5 MB, free: 29.9 MB / 330.7 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.006474/0.3934, allocations: 5.194 MB / 426.7 MB, free: 25.29 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.799e-05/0.3935, allocations: 44 kB / 426.7 MB, free: 25.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-05/0.3936, allocations: 92 kB / 426.8 MB, free: 25.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002866/0.3964, allocations: 1.393 MB / 428.2 MB, free: 23.76 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003476/0.3999, allocations: 1.567 MB / 429.8 MB, free: 22.31 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006816/0.4067, allocations: 10.93 MB / 440.7 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003339/0.4101, allocations: 0.7988 MB / 441.5 MB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007078/0.4108, allocations: 284 kB / 441.8 MB, free: 10.01 MB / 330.7 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.001989/0.4128, allocations: 0.5939 MB / 442.4 MB, free: 9.52 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005505/0.4133, allocations: 383.6 kB / 442.8 MB, free: 9.145 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004485/0.4178, allocations: 3.711 MB / 446.5 MB, free: 5.426 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.86e-05/0.4178, allocations: 50.73 kB / 446.5 MB, free: 5.379 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.761e-05/0.4178, allocations: 12 kB / 446.5 MB, free: 5.367 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.669e-05/0.4179, allocations: 27.84 kB / 446.6 MB, free: 5.34 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01279/0.4307, allocations: 8.562 MB / 455.1 MB, free: 13.67 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.495e-05/0.4307, allocations: 15.92 kB / 455.1 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001916/0.4326, allocations: 0.7412 MB / 455.9 MB, free: 12.91 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002916/0.4355, allocations: 1.274 MB / 457.1 MB, free: 11.63 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004139/0.4359, allocations: 91.97 kB / 457.2 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008346/0.4443, allocations: 10.74 MB / 468 MB, free: 416 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.4443, allocations: 0 / 468 MB, free: 416 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006637/0.4509, allocations: 4.283 MB / 472.3 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001373/0.4523, allocations: 0.6191 MB / 472.9 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004593/0.4527, allocations: 88 kB / 473 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001026/0.4538, allocations: 124 kB / 473.1 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006233/0.4544, allocations: 327.3 kB / 473.4 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001913/0.4546, allocations: 95.97 kB / 473.5 MB, free: 10.79 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001282/0.4559, allocations: 1.039 MB / 474.5 MB, free: 9.875 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4559, allocations: 0 / 474.5 MB, free: 9.875 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.005879/0.4617, allocations: 2.403 MB / 476.9 MB, free: 7.465 MB / 362.7 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.0007915/0.4625, allocations: 247.5 kB / 477.2 MB, free: 7.219 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.006347/0.4689, allocations: 4.328 MB / 481.5 MB, free: 2.852 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001977/0.4691, allocations: 63.94 kB / 481.6 MB, free: 2.781 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003461/0.4725, allocations: 2.366 MB / 483.9 MB, free: 332 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002842/0.4754, allocations: 0.7316 MB / 484.7 MB, free: 15.59 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01922/0.4946, allocations: 13.2 MB / 497.9 MB, free: 2.258 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002114/0.4967, allocations: 1.793 MB / 499.7 MB, free: 448 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.1236/0.6204, allocations: 0.7571 MB / 0.4887 GB, free: 111.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002288/0.6226, allocations: 0.8487 MB / 0.4895 GB, free: 111.8 MB / 378.7 MB Notification: Performance of SimCode: time 1.874e-06/0.6227, allocations: 0 / 0.4895 GB, free: 111.8 MB / 378.7 MB Notification: Performance of Templates: time 0.07929/0.7019, allocations: 66.95 MB / 0.5549 GB, free: 64.29 MB / 378.7 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 -s gbode -gbm=radauIIA3 -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.511656920891255]