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.001276/0.001276, allocations: 106.2 kB / 19.8 MB, free: 2.5 MB / 14.72 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.001386/0.001386, allocations: 219.9 kB / 23 MB, free: 5.574 MB / 14.72 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 1.517/1.517, allocations: 230.2 MB / 256.2 MB, free: 8.531 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001862/0.001862, allocations: 67.88 kB / 376.5 MB, free: 3.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2521, allocations: 53.32 MB / 429.8 MB, free: 7.523 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01226/0.2643, allocations: 10.06 MB / 439.9 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007524/0.2718, allocations: 3.427 MB / 443.3 MB, free: 9.973 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001584/0.2734, allocations: 71.81 kB / 443.4 MB, free: 9.902 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009122/0.2825, allocations: 3.853 MB / 447.2 MB, free: 6.043 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004572/0.2871, allocations: 1.508 MB / 448.7 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002676/0.2898, allocations: 1.051 MB / 449.8 MB, free: 3.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01132/0.3011, allocations: 9.286 MB / 459.1 MB, free: 10.16 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02188/0.323, allocations: 12.2 MB / 471.3 MB, free: 13.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007922/0.3309, allocations: 5.081 MB / 476.3 MB, free: 8.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01045/0.3414, allocations: 6.153 MB / 482.5 MB, free: 2.559 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003616/0.345, allocations: 1.398 MB / 483.9 MB, free: 1.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004845/0.3498, allocations: 1.652 MB / 485.6 MB, free: 15.51 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004561/0.3544, allocations: 2.938 MB / 488.5 MB, free: 12.56 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009324/0.3637, allocations: 5.455 MB / 493.9 MB, free: 7.086 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02862/0.3923, allocations: 18.91 MB / 0.5008 GB, free: 4.125 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3923, allocations: 0 / 0.5008 GB, free: 4.125 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3923, allocations: 0 / 0.5008 GB, free: 4.125 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004304/0.3928, allocations: 4 kB / 0.5008 GB, free: 4.121 MB / 414.1 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.04943/0.4422, allocations: 12.45 MB / 0.513 GB, free: 7.582 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.4422, allocations: 12.03 kB / 0.513 GB, free: 7.57 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05001/0.4923, allocations: 8.421 MB / 0.5212 GB, free: 15.13 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01268/0.5049, allocations: 5.923 MB / 0.527 GB, free: 9.145 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007354/0.5057, allocations: 0.6584 MB / 0.5277 GB, free: 8.484 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003681/0.5094, allocations: 0.8671 MB / 0.5285 GB, free: 7.617 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4241/0.9334, allocations: 16.02 MB / 0.5441 GB, free: 81.81 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002554/0.9337, allocations: 7.781 kB / 0.5441 GB, free: 81.81 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001688/0.9354, allocations: 365.8 kB / 0.5445 GB, free: 81.53 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004162/0.9358, allocations: 0.5622 MB / 0.545 GB, free: 81.48 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02619/0.962, allocations: 15.78 MB / 0.5605 GB, free: 75.17 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06295/1.025, allocations: 48.68 MB / 0.608 GB, free: 26.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01387/1.039, allocations: 18.87 MB / 0.6264 GB, free: 5.883 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004058/1.043, allocations: 3.246 MB / 0.6296 GB, free: 2.637 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003997/1.043, allocations: 292.6 kB / 0.6299 GB, free: 2.344 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.445e-05/1.043, allocations: 90.55 kB / 0.63 GB, free: 2.246 MB / 446.1 MB Notification: Performance of pre-optimization done (n=468): time 5.71e-06/1.043, allocations: 0 / 0.63 GB, free: 2.246 MB / 446.1 MB Notification: Performance of matching and sorting (n=468): time 0.02559/1.069, allocations: 11.56 MB / 0.6412 GB, free: 6.551 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.683e-05/1.069, allocations: 129.1 kB / 0.6414 GB, free: 6.406 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006342/1.075, allocations: 3.85 MB / 0.6451 GB, free: 2.613 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008042/1.076, allocations: 101.7 kB / 0.6452 GB, free: 2.508 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002975/1.079, allocations: 4.047 MB / 0.6492 GB, free: 14.89 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002131/1.081, allocations: 1.685 MB / 0.6508 GB, free: 13.19 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002397/1.084, allocations: 1.496 MB / 0.6523 GB, free: 11.68 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/1.084, allocations: 301.1 kB / 0.6526 GB, free: 11.39 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005965/1.09, allocations: 3.695 MB / 0.6562 GB, free: 7.688 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008574/1.098, allocations: 6.538 MB / 0.6626 GB, free: 15.86 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01505/1.113, allocations: 10.85 MB / 0.6732 GB, free: 3.668 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.241e-05/1.113, allocations: 31.75 kB / 0.6732 GB, free: 3.641 MB / 494.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02436/1.138, allocations: 11.95 MB / 0.6849 GB, free: 7.617 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001004/1.138, allocations: 51.94 kB / 0.6849 GB, free: 7.566 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001732/1.138, allocations: 92 kB / 0.685 GB, free: 7.477 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005036/1.143, allocations: 1.617 MB / 0.6866 GB, free: 5.84 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006485/1.15, allocations: 1.677 MB / 0.6882 GB, free: 4.16 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02132/1.171, allocations: 17.67 MB / 0.7055 GB, free: 1.648 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005422/1.176, allocations: 0.9703 MB / 0.7064 GB, free: 0.6719 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001084/1.177, allocations: 368.1 kB / 0.7068 GB, free: 320 kB / 0.5138 GB 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.006486/1.184, allocations: 3.75 MB / 0.7104 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008314/1.185, allocations: 421.2 kB / 0.7108 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01565/1.2, allocations: 8.53 MB / 0.7192 GB, free: 3.516 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.708e-05/1.2, allocations: 51.94 kB / 0.7192 GB, free: 3.465 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.378e-05/1.2, allocations: 12 kB / 0.7192 GB, free: 3.453 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.688e-05/1.201, allocations: 23.91 kB / 0.7192 GB, free: 3.43 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03245/1.233, allocations: 16.79 MB / 0.7356 GB, free: 2.465 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-05/1.233, allocations: 0 / 0.7356 GB, free: 2.465 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003607/1.237, allocations: 0.8698 MB / 0.7365 GB, free: 1.594 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004723/1.241, allocations: 1.515 MB / 0.738 GB, free: 60 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005669/1.242, allocations: 112 kB / 0.7381 GB, free: 15.95 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2445/1.486, allocations: 17.46 MB / 0.7551 GB, free: 188.1 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.204e-06/1.486, allocations: 5.969 kB / 0.7551 GB, free: 188.1 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01817/1.505, allocations: 12.25 MB / 0.7671 GB, free: 185.6 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002159/1.507, allocations: 1.123 MB / 0.7682 GB, free: 185.2 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007779/1.508, allocations: 83.84 kB / 0.7683 GB, free: 185.1 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002384/1.51, allocations: 300 kB / 0.7686 GB, free: 185.1 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007926/1.511, allocations: 337.2 kB / 0.7689 GB, free: 185 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002814/1.511, allocations: 138.7 kB / 0.769 GB, free: 185 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.003462/1.514, allocations: 2.573 MB / 0.7715 GB, free: 184.1 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1.01e-07/1.514, allocations: 0 / 0.7715 GB, free: 184.1 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.006796/1.521, allocations: 2.407 MB / 0.7739 GB, free: 183.6 MB / 0.5607 GB 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.0007319/1.522, allocations: 272.2 kB / 0.7741 GB, free: 183.4 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01245/1.534, allocations: 9.02 MB / 0.783 GB, free: 179.9 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-05/1.534, allocations: 3.938 kB / 0.783 GB, free: 179.9 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.006381/1.541, allocations: 4.183 MB / 0.787 GB, free: 178 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003931/1.545, allocations: 0.7401 MB / 0.7878 GB, free: 177.7 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02528/1.57, allocations: 17.07 MB / 0.8044 GB, free: 163.4 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005033/1.575, allocations: 6.048 MB / 0.8103 GB, free: 158.7 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.006371/1.581, allocations: 3.253 MB / 0.8135 GB, free: 156.7 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001149/1.583, allocations: 406.1 kB / 0.8139 GB, free: 156.3 MB / 0.5607 GB Notification: Performance of SimCode: time 1.012e-06/1.583, allocations: 0 / 0.8139 GB, free: 156.3 MB / 0.5607 GB Notification: Performance of Templates: time 0.09731/1.68, allocations: 69.25 MB / 0.8815 GB, free: 87.54 MB / 0.5607 GB " [Timeout remaining time 658] 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.090026973746717]