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.0009189/0.0009189, allocations: 84.73 kB / 21.5 MB, free: 2.984 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.0008966/0.0008966, allocations: 161.7 kB / 24.91 MB, free: 8.68 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.9696/0.9696, allocations: 177 MB / 205.2 MB, free: 5.461 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.733e-06/1.733e-06, allocations: 0 / 273.4 MB, free: 1.184 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.831e-05/2.005e-05, allocations: 2.312 kB / 273.4 MB, free: 1.18 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.007303/0.007323, allocations: 9.451 MB / 282.9 MB, free: 7.676 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005357/0.01268, allocations: 3.48 MB / 286.4 MB, free: 4.184 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007182/0.0134, allocations: 83.56 kB / 286.4 MB, free: 4.102 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003896/0.01729, allocations: 4.063 MB / 290.5 MB, free: 20 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1279/0.1452, allocations: 1.521 MB / 292 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001525/0.1467, allocations: 1.043 MB / 293.1 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.007051/0.1538, allocations: 9.664 MB / 302.7 MB, free: 10.96 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0123/0.1661, allocations: 13.16 MB / 315.9 MB, free: 3.215 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006827/0.1729, allocations: 7.603 MB / 323.5 MB, free: 12.12 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006832/0.1797, allocations: 6.353 MB / 329.8 MB, free: 6.199 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002027/0.1818, allocations: 1.395 MB / 331.2 MB, free: 4.805 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002342/0.1841, allocations: 1.669 MB / 332.9 MB, free: 3.168 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001496/0.1856, allocations: 3.019 MB / 335.9 MB, free: 336 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003157/0.1888, allocations: 3.715 MB / 339.6 MB, free: 12.79 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008473/0.1972, allocations: 9.718 MB / 349.4 MB, free: 3.551 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1972, allocations: 0 / 349.4 MB, free: 3.551 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1972, allocations: 0 / 349.4 MB, free: 3.551 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0002936/0.1975, allocations: 0 / 349.4 MB, free: 3.551 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.01678/0.2143, allocations: 11.21 MB / 360.6 MB, free: 8.867 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.2143, allocations: 11.98 kB / 360.6 MB, free: 8.855 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02734/0.2417, allocations: 7.992 MB / 368.6 MB, free: 1.145 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006799/0.2485, allocations: 2.957 MB / 371.5 MB, free: 14.4 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00038/0.2489, allocations: 0.6688 MB / 372.2 MB, free: 13.74 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001295/0.2502, allocations: 0.8642 MB / 373.1 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009499/0.2597, allocations: 8.029 MB / 381.1 MB, free: 5.172 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001254/0.2598, allocations: 11.78 kB / 381.1 MB, free: 5.164 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006327/0.2604, allocations: 365.6 kB / 381.5 MB, free: 4.812 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003443/0.2608, allocations: 0.5582 MB / 382 MB, free: 4.25 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006178/0.2669, allocations: 4.442 MB / 386.5 MB, free: 15.76 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03579/0.3027, allocations: 27.85 MB / 414.3 MB, free: 3.516 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006931/0.3097, allocations: 4.436 MB / 418.8 MB, free: 15.08 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00137/0.311, allocations: 0.9813 MB / 419.7 MB, free: 14.1 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000272/0.3113, allocations: 151.8 kB / 419.9 MB, free: 13.95 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.365e-05/0.3114, allocations: 86.41 kB / 420 MB, free: 13.86 MB / 378.7 MB Notification: Performance of pre-optimization done (n=468): time 7.964e-06/0.3114, allocations: 0 / 420 MB, free: 13.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=468): time 0.01035/0.3217, allocations: 4.526 MB / 424.5 MB, free: 9.363 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.683e-05/0.3218, allocations: 125.1 kB / 424.6 MB, free: 9.223 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002753/0.3245, allocations: 2.42 MB / 427 MB, free: 6.789 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002373/0.3248, allocations: 105.7 kB / 427.1 MB, free: 6.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002012/0.3268, allocations: 3.788 MB / 430.9 MB, free: 2.855 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001168/0.328, allocations: 1.665 MB / 432.6 MB, free: 1.176 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2297/0.5576, allocations: 1.337 MB / 433.9 MB, free: 96.46 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 3.231e-05/0.5577, allocations: 302.4 kB / 434.2 MB, free: 96.16 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001821/0.5595, allocations: 1.081 MB / 435.3 MB, free: 96.13 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002219/0.5617, allocations: 3.585 MB / 438.9 MB, free: 92.74 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004464/0.5662, allocations: 5.3 MB / 444.2 MB, free: 89.25 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.108e-05/0.5662, allocations: 27.5 kB / 444.2 MB, free: 89.25 MB / 378.8 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.006938/0.5731, allocations: 5.213 MB / 449.4 MB, free: 88.95 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.148e-05/0.5732, allocations: 44.53 kB / 449.5 MB, free: 88.95 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.205e-05/0.5733, allocations: 97.62 kB / 449.6 MB, free: 88.95 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002466/0.5757, allocations: 1.385 MB / 451 MB, free: 88.86 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002571/0.5783, allocations: 1.579 MB / 452.5 MB, free: 88.86 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006315/0.5846, allocations: 10.93 MB / 463.5 MB, free: 81.21 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002269/0.5869, allocations: 0.7768 MB / 464.2 MB, free: 81.2 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003071/0.5872, allocations: 298.2 kB / 464.5 MB, free: 81.2 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.001594/0.5888, allocations: 0.6008 MB / 465.1 MB, free: 81.08 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004231/0.5892, allocations: 378.2 kB / 465.5 MB, free: 81.08 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004257/0.5935, allocations: 3.678 MB / 469.2 MB, free: 80.75 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.589e-05/0.5935, allocations: 50.28 kB / 469.2 MB, free: 80.75 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.5935, allocations: 11 kB / 469.2 MB, free: 80.75 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.428e-05/0.5935, allocations: 25.83 kB / 469.3 MB, free: 80.75 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009345/0.6029, allocations: 8.605 MB / 477.9 MB, free: 79.82 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/0.6029, allocations: 7.031 kB / 477.9 MB, free: 79.82 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001571/0.6044, allocations: 0.7516 MB / 478.6 MB, free: 79.29 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002321/0.6068, allocations: 1.267 MB / 479.9 MB, free: 78.5 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001825/0.607, allocations: 99.11 kB / 480 MB, free: 78.42 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005568/0.6125, allocations: 10.75 MB / 490.7 MB, free: 68.08 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.6125, allocations: 4.547 kB / 490.7 MB, free: 68.08 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004797/0.6173, allocations: 4.309 MB / 495.1 MB, free: 64.25 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009672/0.6183, allocations: 0.6146 MB / 495.7 MB, free: 63.71 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003157/0.6186, allocations: 84 kB / 495.8 MB, free: 63.62 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009939/0.6196, allocations: 124 kB / 495.9 MB, free: 63.5 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005697/0.6202, allocations: 336.3 kB / 496.2 MB, free: 63.18 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000238/0.6204, allocations: 95.95 kB / 496.3 MB, free: 63.08 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.001097/0.6215, allocations: 1.037 MB / 497.3 MB, free: 62.17 MB / 378.8 MB Notification: Performance of sort global known variables: time 1.81e-07/0.6215, allocations: 0 / 497.3 MB, free: 62.17 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.005755/0.6273, allocations: 2.408 MB / 499.7 MB, free: 59.98 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.0004307/0.6277, allocations: 256.4 kB / 500 MB, free: 59.73 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.005563/0.6332, allocations: 4.335 MB / 0.4925 GB, free: 55.39 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 0.000126/0.6334, allocations: 67.94 kB / 0.4926 GB, free: 55.32 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002551/0.6359, allocations: 2.378 MB / 0.4949 GB, free: 52.9 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002121/0.638, allocations: 0.7404 MB / 0.4956 GB, free: 52.2 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01433/0.6524, allocations: 13.08 MB / 0.5084 GB, free: 39.09 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001549/0.6539, allocations: 1.789 MB / 0.5101 GB, free: 37.28 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.002158/0.6561, allocations: 0.7626 MB / 0.5109 GB, free: 36.51 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001915/0.658, allocations: 0.874 MB / 0.5117 GB, free: 35.63 MB / 378.8 MB Notification: Performance of SimCode: time 1.543e-06/0.658, allocations: 0 / 0.5117 GB, free: 35.63 MB / 378.8 MB Notification: Performance of Templates: time 0.07669/0.7347, allocations: 68 MB / 0.5781 GB, free: 308 kB / 410.8 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 -s gbode -gbm=radauIIA3 -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.8024807497859]