Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.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.0009974/0.0009974, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 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.0009993/0.0009993, allocations: 142.7 kB / 24.89 MB, free: 8.777 MB / 18.57 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.8835/0.8835, allocations: 173.4 MB / 201.5 MB, free: 8.227 MB / 186.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.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 268.5 MB, free: 9.742 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.805e-05/1.958e-05, allocations: 2.312 kB / 268.5 MB, free: 9.738 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.007319/0.007338, allocations: 9.436 MB / 278 MB, free: 272 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00622/0.01356, allocations: 3.417 MB / 281.4 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00117/0.01473, allocations: 91.5 kB / 281.5 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004212/0.01894, allocations: 4.067 MB / 285.5 MB, free: 8.668 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003159/0.0221, allocations: 1.55 MB / 287.1 MB, free: 7.109 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001372/0.02347, allocations: 1.032 MB / 288.1 MB, free: 6.074 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00726/0.03073, allocations: 9.535 MB / 297.7 MB, free: 12.5 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01452/0.04525, allocations: 13.16 MB / 310.8 MB, free: 15.16 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009565/0.05482, allocations: 7.614 MB / 318.4 MB, free: 7.531 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008007/0.06282, allocations: 6.352 MB / 324.8 MB, free: 1.168 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003085/0.06591, allocations: 1.398 MB / 326.2 MB, free: 15.77 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0046/0.07051, allocations: 1.64 MB / 327.8 MB, free: 14.13 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003674/0.07418, allocations: 3.02 MB / 330.8 MB, free: 11.1 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0061/0.08028, allocations: 3.719 MB / 334.6 MB, free: 7.375 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1296/0.2098, allocations: 9.688 MB / 344.3 MB, free: 47.86 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.2099, allocations: 1.062 kB / 344.3 MB, free: 47.86 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2099, allocations: 0 / 344.3 MB, free: 47.86 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0004297/0.2103, allocations: 2.969 kB / 344.3 MB, free: 47.86 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.023/0.2333, allocations: 11.2 MB / 355.5 MB, free: 44.96 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.2333, allocations: 11.56 kB / 355.5 MB, free: 44.96 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02751/0.2608, allocations: 8.018 MB / 363.5 MB, free: 44.38 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008619/0.2695, allocations: 2.939 MB / 366.4 MB, free: 43.04 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004597/0.2699, allocations: 0.664 MB / 367.1 MB, free: 42.73 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003696/0.2736, allocations: 0.8694 MB / 368 MB, free: 42.45 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0195/0.2931, allocations: 7.99 MB / 375.9 MB, free: 35.55 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001978/0.2933, allocations: 7.953 kB / 376 MB, free: 35.55 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001276/0.2946, allocations: 370.7 kB / 376.3 MB, free: 35.19 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002835/0.2949, allocations: 0.5582 MB / 376.9 MB, free: 34.63 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009086/0.3039, allocations: 4.417 MB / 381.3 MB, free: 30.16 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03971/0.3437, allocations: 27.78 MB / 409.1 MB, free: 3.168 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005041/0.3487, allocations: 4.428 MB / 413.5 MB, free: 14.84 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001207/0.3499, allocations: 0.977 MB / 414.5 MB, free: 13.91 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002543/0.3502, allocations: 123.6 kB / 414.6 MB, free: 13.79 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.675e-05/0.3502, allocations: 86.56 kB / 414.7 MB, free: 13.7 MB / 330.7 MB Notification: Performance of pre-optimization done (n=468): time 6.131e-06/0.3502, allocations: 0 / 414.7 MB, free: 13.7 MB / 330.7 MB Notification: Performance of matching and sorting (n=468): time 0.008355/0.3586, allocations: 4.497 MB / 419.2 MB, free: 9.246 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.049e-05/0.3586, allocations: 129.1 kB / 419.3 MB, free: 9.102 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002325/0.361, allocations: 2.42 MB / 421.7 MB, free: 7.152 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003317/0.3613, allocations: 101.7 kB / 421.8 MB, free: 7.047 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001872/0.3632, allocations: 3.786 MB / 425.6 MB, free: 3.387 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001096/0.3643, allocations: 1.671 MB / 427.3 MB, free: 1.809 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0014/0.3657, allocations: 1.32 MB / 428.6 MB, free: 0.625 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.624e-05/0.3657, allocations: 305.1 kB / 428.9 MB, free: 332 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001411/0.3671, allocations: 1.079 MB / 430 MB, free: 15.24 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002679/0.3698, allocations: 3.584 MB / 433.6 MB, free: 10.58 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005839/0.3757, allocations: 5.271 MB / 438.8 MB, free: 4.512 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001013/0.3758, allocations: 32 kB / 438.9 MB, free: 4.48 MB / 346.7 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.008485/0.3842, allocations: 5.201 MB / 444.1 MB, free: 15.87 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.333e-05/0.3843, allocations: 44 kB / 444.1 MB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.78e-05/0.3844, allocations: 92 kB / 444.2 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003253/0.3876, allocations: 1.395 MB / 445.6 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004463/0.3921, allocations: 1.574 MB / 447.2 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0105/0.4026, allocations: 10.93 MB / 458.1 MB, free: 1.578 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005135/0.4077, allocations: 0.7988 MB / 458.9 MB, free: 0.7734 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001629/0.4094, allocations: 291.9 kB / 459.2 MB, free: 500 kB / 362.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.002519/0.4119, allocations: 0.6001 MB / 459.8 MB, free: 15.88 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008776/0.4128, allocations: 379.8 kB / 460.1 MB, free: 15.51 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007021/0.4198, allocations: 3.706 MB / 463.9 MB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.603e-05/0.4198, allocations: 52 kB / 463.9 MB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.756e-05/0.4199, allocations: 12 kB / 463.9 MB, free: 11.69 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.726e-05/0.4199, allocations: 23.91 kB / 463.9 MB, free: 11.67 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01854/0.4385, allocations: 8.576 MB / 472.5 MB, free: 3.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.838e-05/0.4385, allocations: 4 kB / 472.5 MB, free: 3.336 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002586/0.4411, allocations: 0.7451 MB / 473.3 MB, free: 2.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00339/0.4445, allocations: 1.265 MB / 474.5 MB, free: 1.305 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009083/0.4454, allocations: 99.97 kB / 474.6 MB, free: 1.207 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009021/0.4544, allocations: 10.75 MB / 485.4 MB, free: 5.938 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.4544, allocations: 0 / 485.4 MB, free: 5.938 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006977/0.4614, allocations: 4.283 MB / 489.7 MB, free: 1.477 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001501/0.4629, allocations: 0.6171 MB / 490.3 MB, free: 0.8555 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005675/0.4635, allocations: 84 kB / 490.4 MB, free: 0.7734 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001271/0.4647, allocations: 132 kB / 490.5 MB, free: 0.6445 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005655/0.4653, allocations: 319.4 kB / 490.8 MB, free: 336 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002055/0.4655, allocations: 99.97 kB / 490.9 MB, free: 236 kB / 394.7 MB Notification: Performance of sorting global known variables: time 0.1528/0.6183, allocations: 1.037 MB / 491.9 MB, free: 111.9 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.6183, allocations: 0 / 491.9 MB, free: 111.9 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.006569/0.6248, allocations: 2.405 MB / 494.3 MB, free: 111.9 MB / 394.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.001098/0.6259, allocations: 249 kB / 494.6 MB, free: 111.9 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006283/0.6322, allocations: 4.318 MB / 498.9 MB, free: 111 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000192/0.6324, allocations: 63.38 kB / 499 MB, free: 111 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002958/0.6354, allocations: 2.371 MB / 0.4896 GB, free: 110.2 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002546/0.6379, allocations: 0.7351 MB / 0.4903 GB, free: 110.2 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01986/0.6578, allocations: 13.18 MB / 0.5032 GB, free: 105.6 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002356/0.6601, allocations: 1.801 MB / 0.5049 GB, free: 104.8 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002559/0.6627, allocations: 0.7547 MB / 0.5057 GB, free: 104.3 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001565/0.6643, allocations: 0.854 MB / 0.5065 GB, free: 103.6 MB / 394.7 MB Notification: Performance of SimCode: time 1.664e-06/0.6643, allocations: 0 / 0.5065 GB, free: 103.6 MB / 394.7 MB Notification: Performance of Templates: time 0.07876/0.743, allocations: 66.96 MB / 0.5719 GB, free: 43.31 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.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.629152894020081]