Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001353/0.001353, allocations: 84.73 kB / 21.5 MB, free: 2.98 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001533/0.001533, allocations: 161.8 kB / 24.91 MB, free: 8.703 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9384/0.9384, allocations: 177 MB / 205.2 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 273.4 MB, free: 1.227 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.866e-05/2.041e-05, allocations: 2.312 kB / 273.4 MB, free: 1.223 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.007422/0.007443, allocations: 9.404 MB / 282.8 MB, free: 7.766 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004368/0.01181, allocations: 3.484 MB / 286.3 MB, free: 4.27 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004398/0.01225, allocations: 87.56 kB / 286.4 MB, free: 4.184 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003838/0.01609, allocations: 4.102 MB / 290.5 MB, free: 64 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1012/0.1173, allocations: 1.543 MB / 292 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001373/0.1187, allocations: 1.037 MB / 293.1 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005997/0.1247, allocations: 9.661 MB / 302.7 MB, free: 10.98 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00921/0.1339, allocations: 13.23 MB / 315.9 MB, free: 3.176 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005505/0.1394, allocations: 7.61 MB / 323.5 MB, free: 12.09 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00461/0.144, allocations: 6.348 MB / 329.9 MB, free: 6.168 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00106/0.145, allocations: 1.395 MB / 331.3 MB, free: 4.773 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00157/0.1466, allocations: 1.656 MB / 332.9 MB, free: 3.148 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001499/0.1481, allocations: 3.019 MB / 336 MB, free: 316 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002567/0.1507, allocations: 3.711 MB / 339.7 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00611/0.1568, allocations: 9.713 MB / 349.4 MB, free: 3.539 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.1568, allocations: 4 kB / 349.4 MB, free: 3.535 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1568, allocations: 0 / 349.4 MB, free: 3.535 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.471e-05/0.1569, allocations: 0 / 349.4 MB, free: 3.535 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.01273/0.1696, allocations: 11.21 MB / 360.6 MB, free: 8.855 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.1697, allocations: 15.98 kB / 360.6 MB, free: 8.84 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02139/0.191, allocations: 7.984 MB / 368.6 MB, free: 1.133 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005396/0.1964, allocations: 2.96 MB / 371.6 MB, free: 14.38 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000293/0.1967, allocations: 0.6711 MB / 372.2 MB, free: 13.72 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001045/0.1978, allocations: 0.8691 MB / 373.1 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008455/0.2062, allocations: 8.017 MB / 381.1 MB, free: 5.16 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001208/0.2064, allocations: 11.69 kB / 381.1 MB, free: 5.152 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006456/0.207, allocations: 367.7 kB / 381.5 MB, free: 4.801 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003349/0.2073, allocations: 0.5588 MB / 382.1 MB, free: 4.238 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005811/0.2131, allocations: 4.449 MB / 386.5 MB, free: 15.74 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02689/0.24, allocations: 27.85 MB / 414.4 MB, free: 3.512 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005108/0.2451, allocations: 4.437 MB / 418.8 MB, free: 15.07 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000972/0.2461, allocations: 0.9774 MB / 419.8 MB, free: 14.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000228/0.2463, allocations: 143.9 kB / 419.9 MB, free: 13.95 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.94e-05/0.2464, allocations: 86.56 kB / 420 MB, free: 13.86 MB / 378.7 MB Notification: Performance of pre-optimization done (n=468): time 5.791e-06/0.2464, allocations: 0 / 420 MB, free: 13.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=468): time 0.007465/0.2539, allocations: 4.525 MB / 424.5 MB, free: 9.359 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/0.2539, allocations: 129 kB / 424.6 MB, free: 9.219 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001772/0.2557, allocations: 2.431 MB / 427.1 MB, free: 6.773 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001905/0.2559, allocations: 101.7 kB / 427.2 MB, free: 6.668 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001371/0.2573, allocations: 3.784 MB / 431 MB, free: 2.848 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008049/0.2581, allocations: 1.669 MB / 432.6 MB, free: 1.164 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.1032/0.3613, allocations: 1.329 MB / 434 MB, free: 98.68 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 2.342e-05/0.3613, allocations: 304.4 kB / 434.3 MB, free: 98.38 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001725/0.3631, allocations: 1.079 MB / 435.3 MB, free: 98.35 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001903/0.365, allocations: 3.587 MB / 438.9 MB, free: 94.96 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003692/0.3686, allocations: 5.298 MB / 444.2 MB, free: 91.46 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-05/0.3687, allocations: 26.31 kB / 444.2 MB, free: 91.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.006338/0.375, allocations: 5.216 MB / 449.5 MB, free: 91.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.224e-05/0.3751, allocations: 45.78 kB / 449.5 MB, free: 91.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-05/0.3751, allocations: 100.3 kB / 449.6 MB, free: 91.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002418/0.3776, allocations: 1.381 MB / 451 MB, free: 91.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002516/0.3801, allocations: 1.495 MB / 452.5 MB, free: 91.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005624/0.3857, allocations: 10.89 MB / 463.4 MB, free: 83.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002065/0.3878, allocations: 0.7818 MB / 464.2 MB, free: 83.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002827/0.388, allocations: 294.2 kB / 464.4 MB, free: 83.39 MB / 378.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.001328/0.3894, allocations: 0.5969 MB / 465 MB, free: 83.21 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000407/0.3898, allocations: 376.4 kB / 465.4 MB, free: 83.21 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004065/0.3938, allocations: 3.686 MB / 469.1 MB, free: 82.86 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-05/0.3939, allocations: 47.38 kB / 469.1 MB, free: 82.86 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/0.3939, allocations: 14.7 kB / 469.2 MB, free: 82.86 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.28e-05/0.3939, allocations: 26.67 kB / 469.2 MB, free: 82.86 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008451/0.4023, allocations: 8.601 MB / 477.8 MB, free: 81.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.273e-06/0.4023, allocations: 4 kB / 477.8 MB, free: 81.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001413/0.4038, allocations: 0.7002 MB / 478.5 MB, free: 81.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002253/0.406, allocations: 1.272 MB / 479.8 MB, free: 80.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001664/0.4062, allocations: 92.56 kB / 479.8 MB, free: 80.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005029/0.4112, allocations: 10.7 MB / 490.6 MB, free: 70.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.4112, allocations: 7.562 kB / 490.6 MB, free: 70.19 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004458/0.4157, allocations: 4.306 MB / 494.9 MB, free: 66.72 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008097/0.4165, allocations: 0.6171 MB / 495.5 MB, free: 66.1 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003213/0.4168, allocations: 84 kB / 495.6 MB, free: 66.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008768/0.4177, allocations: 124 kB / 495.7 MB, free: 65.89 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003436/0.418, allocations: 330.7 kB / 496 MB, free: 65.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000164/0.4182, allocations: 95.95 kB / 496.1 MB, free: 65.48 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007756/0.419, allocations: 1.037 MB / 497.1 MB, free: 64.57 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.419, allocations: 0 / 497.1 MB, free: 64.57 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003981/0.4229, allocations: 2.415 MB / 499.6 MB, free: 62.15 MB / 378.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.0003607/0.4233, allocations: 250.9 kB / 499.8 MB, free: 61.93 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003774/0.4271, allocations: 4.342 MB / 0.4923 GB, free: 57.59 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.627e-05/0.4272, allocations: 71.88 kB / 0.4924 GB, free: 57.51 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001801/0.429, allocations: 2.375 MB / 0.4947 GB, free: 55.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001567/0.4305, allocations: 0.7366 MB / 0.4954 GB, free: 54.39 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01136/0.4419, allocations: 13.08 MB / 0.5082 GB, free: 41.28 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001161/0.443, allocations: 1.789 MB / 0.51 GB, free: 39.46 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001653/0.4447, allocations: 0.7626 MB / 0.5107 GB, free: 38.7 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001409/0.4461, allocations: 0.874 MB / 0.5116 GB, free: 37.82 MB / 378.7 MB Notification: Performance of SimCode: time 1.223e-06/0.4461, allocations: 4 kB / 0.5116 GB, free: 37.81 MB / 378.7 MB Notification: Performance of Templates: time 0.07152/0.5176, allocations: 67.98 MB / 0.5779 GB, free: 2.496 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.456150142941624]