Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.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.001082/0.001082, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001173/0.001173, allocations: 168.7 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9438/0.9438, allocations: 177.1 MB / 206 MB, free: 4.477 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 274.2 MB, free: 4.395 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.969e-05/2.143e-05, allocations: 3.031 kB / 274.2 MB, free: 4.391 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01168/0.0117, allocations: 9.393 MB / 283.6 MB, free: 10.96 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007062/0.01876, allocations: 3.32 MB / 286.9 MB, free: 7.641 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001322/0.02009, allocations: 87.56 kB / 287 MB, free: 7.555 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005324/0.02541, allocations: 3.986 MB / 291 MB, free: 3.551 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002815/0.02823, allocations: 1.539 MB / 292.5 MB, free: 2.004 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001371/0.0296, allocations: 1.032 MB / 293.6 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.007642/0.03724, allocations: 9.649 MB / 303.2 MB, free: 7.285 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01472/0.05196, allocations: 12.85 MB / 316.1 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008438/0.0604, allocations: 7.556 MB / 323.6 MB, free: 2.723 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006329/0.06672, allocations: 6.27 MB / 329.9 MB, free: 12.44 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002994/0.06972, allocations: 1.398 MB / 331.3 MB, free: 11.04 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002782/0.0725, allocations: 1.656 MB / 332.9 MB, free: 9.387 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002044/0.07454, allocations: 3.016 MB / 336 MB, free: 6.363 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003955/0.0785, allocations: 3.716 MB / 339.7 MB, free: 2.641 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1417/0.2202, allocations: 9.708 MB / 349.4 MB, free: 46.64 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.2202, allocations: 0.7188 kB / 349.4 MB, free: 46.64 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2203, allocations: 0 / 349.4 MB, free: 46.64 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0005157/0.2208, allocations: 2.219 kB / 349.4 MB, free: 46.64 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.02397/0.2447, allocations: 12.14 MB / 361.5 MB, free: 42.91 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.2448, allocations: 11.47 kB / 361.5 MB, free: 42.91 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02322/0.268, allocations: 7.311 MB / 368.8 MB, free: 40.82 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009975/0.278, allocations: 4.956 MB / 373.8 MB, free: 37.54 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00044/0.2784, allocations: 0.6658 MB / 374.5 MB, free: 37.05 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002833/0.2812, allocations: 0.8652 MB / 375.3 MB, free: 36.2 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01434/0.2956, allocations: 7.853 MB / 383.2 MB, free: 28.66 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001967/0.2958, allocations: 10.92 kB / 383.2 MB, free: 28.65 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008884/0.2967, allocations: 370.7 kB / 383.6 MB, free: 28.3 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003236/0.297, allocations: 0.5504 MB / 384.1 MB, free: 27.74 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007833/0.3048, allocations: 3.975 MB / 388.1 MB, free: 23.72 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04699/0.3518, allocations: 36.43 MB / 424.5 MB, free: 4.277 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007676/0.3595, allocations: 5.272 MB / 429.8 MB, free: 15.56 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001521/0.361, allocations: 1.162 MB / 430.9 MB, free: 14.43 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002724/0.3613, allocations: 155.9 kB / 431.1 MB, free: 14.28 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.255e-05/0.3613, allocations: 85.39 kB / 431.2 MB, free: 14.18 MB / 346.7 MB Notification: Performance of pre-optimization done (n=468): time 6.843e-06/0.3614, allocations: 0 / 431.2 MB, free: 14.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=468): time 0.01026/0.3716, allocations: 5.462 MB / 436.6 MB, free: 8.762 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.391e-05/0.3717, allocations: 127.8 kB / 436.8 MB, free: 8.621 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004791/0.3765, allocations: 3.764 MB / 440.5 MB, free: 5.316 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003683/0.3768, allocations: 97.7 kB / 440.6 MB, free: 5.215 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002476/0.3793, allocations: 4.365 MB / 445 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001479/0.3808, allocations: 1.751 MB / 446.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002152/0.3829, allocations: 1.712 MB / 448.5 MB, free: 13.74 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.3831, allocations: 476.8 kB / 448.9 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001281/0.3843, allocations: 0.8729 MB / 449.8 MB, free: 12.39 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004008/0.3883, allocations: 5.198 MB / 455 MB, free: 5.637 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00602/0.3944, allocations: 6.782 MB / 461.8 MB, free: 13.6 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.014e-05/0.3944, allocations: 28 kB / 461.8 MB, free: 13.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.009829/0.4043, allocations: 6.305 MB / 468.1 MB, free: 7.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.448e-05/0.4043, allocations: 44 kB / 468.1 MB, free: 7.777 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.733e-05/0.4044, allocations: 92 kB / 468.2 MB, free: 7.688 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003245/0.4076, allocations: 1.46 MB / 469.7 MB, free: 6.215 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003417/0.4111, allocations: 1.525 MB / 471.2 MB, free: 4.688 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01065/0.4217, allocations: 15.26 MB / 486.5 MB, free: 4.891 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004454/0.4262, allocations: 0.7793 MB / 487.3 MB, free: 4.105 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008171/0.427, allocations: 315.9 kB / 487.6 MB, free: 3.797 MB / 394.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.003293/0.4303, allocations: 0.635 MB / 488.2 MB, free: 3.148 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008846/0.4312, allocations: 0.5404 MB / 488.7 MB, free: 2.605 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1558/0.5869, allocations: 4.41 MB / 493.2 MB, free: 107.8 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.208e-05/0.587, allocations: 50.34 kB / 493.2 MB, free: 107.8 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.371e-05/0.587, allocations: 11.44 kB / 493.2 MB, free: 107.8 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.477e-05/0.587, allocations: 27.94 kB / 493.2 MB, free: 107.8 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01625/0.6033, allocations: 11.29 MB / 0.4927 GB, free: 106.8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.129e-05/0.6033, allocations: 3.969 kB / 0.4927 GB, free: 106.8 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001694/0.605, allocations: 0.7272 MB / 0.4934 GB, free: 106.8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002775/0.6078, allocations: 1.341 MB / 0.4947 GB, free: 106.8 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002518/0.608, allocations: 110.8 kB / 0.4948 GB, free: 106.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006939/0.615, allocations: 15.07 MB / 0.5096 GB, free: 95.23 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.615, allocations: 0 / 0.5096 GB, free: 95.23 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006694/0.6217, allocations: 5.168 MB / 0.5146 GB, free: 94.16 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001323/0.623, allocations: 0.8463 MB / 0.5154 GB, free: 93.72 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004816/0.6235, allocations: 83 kB / 0.5155 GB, free: 93.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001122/0.6246, allocations: 127.8 kB / 0.5156 GB, free: 93.65 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004672/0.6251, allocations: 347.3 kB / 0.516 GB, free: 93.53 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001905/0.6253, allocations: 112.6 kB / 0.5161 GB, free: 93.46 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001712/0.627, allocations: 1.463 MB / 0.5175 GB, free: 92.58 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.627, allocations: 0 / 0.5175 GB, free: 92.58 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005168/0.6321, allocations: 2.411 MB / 0.5199 GB, free: 90.38 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.0004863/0.6326, allocations: 273.4 kB / 0.5201 GB, free: 90.16 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005632/0.6383, allocations: 5.301 MB / 0.5253 GB, free: 85.73 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.6383, allocations: 0 / 0.5253 GB, free: 85.73 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002693/0.641, allocations: 2.947 MB / 0.5282 GB, free: 83.13 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002297/0.6432, allocations: 0.7545 MB / 0.5289 GB, free: 82.51 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01508/0.6583, allocations: 13.32 MB / 0.5419 GB, free: 69.72 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001686/0.66, allocations: 2.531 MB / 0.5444 GB, free: 67.16 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002292/0.6623, allocations: 0.7587 MB / 0.5451 GB, free: 66.4 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001522/0.6638, allocations: 0.9666 MB / 0.5461 GB, free: 65.43 MB / 394.7 MB Notification: Performance of SimCode: time 2.094e-06/0.6638, allocations: 0 / 0.5461 GB, free: 65.43 MB / 394.7 MB Notification: Performance of Templates: time 0.0798/0.7436, allocations: 69 MB / 0.6135 GB, free: 13.35 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 5.270469491835684]