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.001388/0.001388, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001718/0.001718, allocations: 170.3 kB / 24.82 MB, free: 9.266 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.978/0.978, allocations: 177.1 MB / 205.3 MB, free: 5.465 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.854e-06/1.854e-06, allocations: 0 / 273.4 MB, free: 1.254 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.552e-05/2.737e-05, allocations: 2.312 kB / 273.4 MB, free: 1.25 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.007676/0.007703, allocations: 9.407 MB / 282.8 MB, free: 7.797 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003671/0.01137, allocations: 3.322 MB / 286.1 MB, free: 4.465 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004444/0.01182, allocations: 79.62 kB / 286.2 MB, free: 4.387 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003844/0.01566, allocations: 3.974 MB / 290.2 MB, free: 404 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1104/0.126, allocations: 1.54 MB / 291.7 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001536/0.1276, allocations: 1.027 MB / 292.8 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.007139/0.1347, allocations: 9.648 MB / 302.4 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01263/0.1473, allocations: 12.85 MB / 315.3 MB, free: 4.031 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007141/0.1545, allocations: 7.563 MB / 322.8 MB, free: 13.07 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007819/0.1623, allocations: 6.269 MB / 329.1 MB, free: 7.191 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003054/0.1653, allocations: 1.398 MB / 330.5 MB, free: 5.793 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002748/0.1681, allocations: 1.65 MB / 332.1 MB, free: 4.184 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002198/0.1703, allocations: 3.021 MB / 335.2 MB, free: 1.34 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004309/0.1746, allocations: 3.716 MB / 338.9 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01202/0.1866, allocations: 9.71 MB / 348.6 MB, free: 4.59 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1866, allocations: 0 / 348.6 MB, free: 4.59 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1866, allocations: 0.75 kB / 348.6 MB, free: 4.59 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001516/0.1868, allocations: 0 / 348.6 MB, free: 4.59 MB / 298.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.0207/0.2075, allocations: 12.15 MB / 360.7 MB, free: 8.898 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.2075, allocations: 8.031 kB / 360.7 MB, free: 8.891 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02496/0.2325, allocations: 7.316 MB / 368.1 MB, free: 1.684 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007468/0.2399, allocations: 4.96 MB / 373 MB, free: 12.94 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003687/0.2403, allocations: 0.6648 MB / 373.7 MB, free: 12.28 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001389/0.2417, allocations: 0.8688 MB / 374.6 MB, free: 11.42 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01095/0.2527, allocations: 7.849 MB / 382.4 MB, free: 3.883 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001371/0.2528, allocations: 11 kB / 382.4 MB, free: 3.875 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006202/0.2534, allocations: 370.5 kB / 382.8 MB, free: 3.523 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000361/0.2538, allocations: 0.5543 MB / 383.3 MB, free: 2.965 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006539/0.2603, allocations: 3.975 MB / 387.3 MB, free: 14.95 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03852/0.2988, allocations: 36.44 MB / 423.7 MB, free: 10.45 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007694/0.3065, allocations: 5.283 MB / 429 MB, free: 5.617 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001611/0.3081, allocations: 1.17 MB / 430.2 MB, free: 4.441 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003157/0.3085, allocations: 187.8 kB / 430.4 MB, free: 4.258 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.713e-05/0.3085, allocations: 93.14 kB / 430.5 MB, free: 4.16 MB / 378.7 MB Notification: Performance of pre-optimization done (n=468): time 7.935e-06/0.3085, allocations: 0 / 430.5 MB, free: 4.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=468): time 0.2356/0.5442, allocations: 5.436 MB / 435.9 MB, free: 93.16 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.015e-05/0.5442, allocations: 126.7 kB / 436 MB, free: 93.07 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004323/0.5486, allocations: 3.763 MB / 439.8 MB, free: 92.75 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006797/0.5492, allocations: 101.7 kB / 439.9 MB, free: 92.72 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001953/0.5512, allocations: 4.369 MB / 444.3 MB, free: 91.18 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001213/0.5524, allocations: 1.749 MB / 446 MB, free: 90.31 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001544/0.554, allocations: 1.717 MB / 447.7 MB, free: 90.18 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 4.467e-05/0.554, allocations: 483.8 kB / 448.2 MB, free: 89.71 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001094/0.5551, allocations: 0.8669 MB / 449.1 MB, free: 89.69 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002336/0.5574, allocations: 5.197 MB / 454.3 MB, free: 84.64 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004198/0.5616, allocations: 6.785 MB / 461 MB, free: 79.48 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-05/0.5617, allocations: 27.31 kB / 461.1 MB, free: 79.48 MB / 378.8 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.007248/0.5689, allocations: 6.299 MB / 467.4 MB, free: 78.91 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.709e-05/0.569, allocations: 53.38 kB / 467.4 MB, free: 78.91 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.605e-05/0.5691, allocations: 93.06 kB / 467.5 MB, free: 78.91 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002645/0.5717, allocations: 1.45 MB / 469 MB, free: 78.79 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00272/0.5744, allocations: 1.518 MB / 470.5 MB, free: 78.79 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007217/0.5816, allocations: 15.27 MB / 485.8 MB, free: 67 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003671/0.5853, allocations: 0.788 MB / 486.5 MB, free: 66.55 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005914/0.5859, allocations: 307.9 kB / 486.8 MB, free: 66.55 MB / 378.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.001884/0.5878, allocations: 0.6431 MB / 487.5 MB, free: 66.33 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006075/0.5884, allocations: 0.5422 MB / 488 MB, free: 66.11 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005039/0.5934, allocations: 4.397 MB / 492.4 MB, free: 65.14 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.85e-05/0.5935, allocations: 53.5 kB / 492.5 MB, free: 65.13 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.798e-05/0.5935, allocations: 15.03 kB / 492.5 MB, free: 65.13 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-05/0.5935, allocations: 31.84 kB / 492.5 MB, free: 65.12 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01268/0.6062, allocations: 11.3 MB / 0.492 GB, free: 56.71 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.137e-05/0.6062, allocations: 7.516 kB / 0.492 GB, free: 56.71 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001518/0.6077, allocations: 0.7229 MB / 0.4927 GB, free: 56.08 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002472/0.6102, allocations: 1.338 MB / 0.494 GB, free: 54.75 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001743/0.6104, allocations: 108 kB / 0.4941 GB, free: 54.64 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006555/0.6169, allocations: 15.09 MB / 0.5089 GB, free: 39.02 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.6169, allocations: 4 kB / 0.5089 GB, free: 39.02 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006531/0.6235, allocations: 5.169 MB / 0.5139 GB, free: 33.71 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001315/0.6248, allocations: 0.8475 MB / 0.5147 GB, free: 32.86 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003286/0.6251, allocations: 87.94 kB / 0.5148 GB, free: 32.78 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009679/0.6261, allocations: 128 kB / 0.515 GB, free: 32.65 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004292/0.6265, allocations: 339.4 kB / 0.5153 GB, free: 32.32 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001616/0.6267, allocations: 115.9 kB / 0.5154 GB, free: 32.21 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.001246/0.6279, allocations: 1.46 MB / 0.5168 GB, free: 30.88 MB / 378.8 MB Notification: Performance of sort global known variables: time 8e-08/0.6279, allocations: 0 / 0.5168 GB, free: 30.88 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.004553/0.6325, allocations: 2.411 MB / 0.5192 GB, free: 28.46 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.0004082/0.6329, allocations: 276.4 kB / 0.5194 GB, free: 28.19 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.005292/0.6382, allocations: 5.296 MB / 0.5246 GB, free: 22.85 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.6382, allocations: 0 / 0.5246 GB, free: 22.85 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002394/0.6406, allocations: 2.952 MB / 0.5275 GB, free: 19.83 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002078/0.6426, allocations: 0.7522 MB / 0.5282 GB, free: 19.11 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01523/0.6579, allocations: 13.33 MB / 0.5412 GB, free: 5.738 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001788/0.6597, allocations: 2.527 MB / 0.5437 GB, free: 3.184 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.002263/0.6619, allocations: 0.7587 MB / 0.5444 GB, free: 2.422 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001468/0.6634, allocations: 0.9627 MB / 0.5454 GB, free: 1.457 MB / 378.8 MB Notification: Performance of SimCode: time 1.593e-06/0.6634, allocations: 0 / 0.5454 GB, free: 1.457 MB / 378.8 MB Notification: Performance of Templates: time 0.1989/0.8623, allocations: 67.72 MB / 0.6115 GB, free: 103.5 MB / 410.8 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: 4.8524139216169715]