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.001773/0.001773, allocations: 122.5 kB / 18.51 MB, free: 4.539 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.002089/0.002089, allocations: 215.2 kB / 21.46 MB, free: 1.59 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.457/1.457, allocations: 230.2 MB / 254.5 MB, free: 15.38 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.001826/0.001826, allocations: 59.91 kB / 373.8 MB, free: 9.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09584/0.09767, allocations: 53.32 MB / 427.2 MB, free: 4.453 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01193/0.1096, allocations: 10.05 MB / 437.2 MB, free: 10.35 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008071/0.1177, allocations: 3.404 MB / 440.6 MB, free: 6.938 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002065/0.1197, allocations: 71.81 kB / 440.7 MB, free: 6.867 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009814/0.1295, allocations: 3.867 MB / 444.6 MB, free: 2.992 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005633/0.1352, allocations: 1.507 MB / 446.1 MB, free: 1.48 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003082/0.1383, allocations: 1.05 MB / 447.1 MB, free: 444 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.2545/0.3928, allocations: 9.255 MB / 456.4 MB, free: 8.387 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02464/0.4174, allocations: 15.81 MB / 472.2 MB, free: 1.711 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01059/0.428, allocations: 5.2 MB / 477.4 MB, free: 0 / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01311/0.4411, allocations: 6.145 MB / 483.5 MB, free: 13.28 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005492/0.4466, allocations: 1.403 MB / 484.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008743/0.4553, allocations: 1.662 MB / 486.6 MB, free: 11.35 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006257/0.4616, allocations: 2.923 MB / 489.5 MB, free: 8.891 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01125/0.4728, allocations: 5.451 MB / 495 MB, free: 3.766 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02324/0.4961, allocations: 18.91 MB / 0.5018 GB, free: 1.934 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.4961, allocations: 4 kB / 0.5018 GB, free: 1.93 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4961, allocations: 0 / 0.5018 GB, free: 1.93 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004339/0.4965, allocations: 0 / 0.5018 GB, free: 1.93 MB / 398.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.0431/0.5396, allocations: 12.46 MB / 0.514 GB, free: 5.469 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.5397, allocations: 8.031 kB / 0.514 GB, free: 5.461 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05153/0.5912, allocations: 8.418 MB / 0.5222 GB, free: 13.14 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01538/0.6066, allocations: 5.918 MB / 0.528 GB, free: 7.434 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008319/0.6074, allocations: 0.6615 MB / 0.5287 GB, free: 6.777 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004382/0.6118, allocations: 0.8656 MB / 0.5295 GB, free: 5.922 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04209/0.6539, allocations: 16.02 MB / 0.5451 GB, free: 5.883 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004492/0.6543, allocations: 7.953 kB / 0.5452 GB, free: 5.875 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003129/0.6575, allocations: 374.8 kB / 0.5455 GB, free: 5.516 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006863/0.6581, allocations: 0.5555 MB / 0.5461 GB, free: 4.957 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03493/0.6931, allocations: 15.77 MB / 0.5614 GB, free: 5.164 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09473/0.7878, allocations: 48.68 MB / 0.609 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0219/0.8097, allocations: 18.87 MB / 0.6274 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005648/0.8154, allocations: 3.246 MB / 0.6306 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006263/0.816, allocations: 305.8 kB / 0.6309 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.364e-05/0.8161, allocations: 86.56 kB / 0.631 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=468): time 6.802e-06/0.8161, allocations: 0 / 0.631 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of matching and sorting (n=468): time 0.4197/1.236, allocations: 11.55 MB / 0.6422 GB, free: 160.7 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.136e-05/1.236, allocations: 139.7 kB / 0.6424 GB, free: 160.6 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005946/1.242, allocations: 3.843 MB / 0.6461 GB, free: 160.3 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0009357/1.243, allocations: 102.7 kB / 0.6462 GB, free: 160.3 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002602/1.245, allocations: 4.046 MB / 0.6502 GB, free: 158.9 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001667/1.247, allocations: 1.691 MB / 0.6518 GB, free: 157.9 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002487/1.25, allocations: 1.493 MB / 0.6533 GB, free: 157.2 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.502e-05/1.25, allocations: 301.7 kB / 0.6536 GB, free: 156.9 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006069/1.256, allocations: 3.697 MB / 0.6572 GB, free: 155.6 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007793/1.263, allocations: 6.526 MB / 0.6636 GB, free: 150.8 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01475/1.278, allocations: 10.86 MB / 0.6742 GB, free: 143.7 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001986/1.278, allocations: 26.69 kB / 0.6742 GB, free: 143.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02103/1.299, allocations: 11.97 MB / 0.6859 GB, free: 139.2 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.681e-05/1.3, allocations: 45.97 kB / 0.6859 GB, free: 139.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001461/1.3, allocations: 89.91 kB / 0.686 GB, free: 139.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004421/1.304, allocations: 1.618 MB / 0.6876 GB, free: 138.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005656/1.31, allocations: 1.677 MB / 0.6892 GB, free: 138.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01524/1.325, allocations: 17.67 MB / 0.7065 GB, free: 126 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006325/1.331, allocations: 0.9671 MB / 0.7074 GB, free: 125.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001327/1.333, allocations: 368.8 kB / 0.7078 GB, free: 125.4 MB / 0.5294 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.005487/1.338, allocations: 3.755 MB / 0.7114 GB, free: 123.7 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007615/1.339, allocations: 413.8 kB / 0.7118 GB, free: 123.5 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01222/1.351, allocations: 8.529 MB / 0.7202 GB, free: 116 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-05/1.351, allocations: 48 kB / 0.7202 GB, free: 115.9 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-05/1.351, allocations: 12 kB / 0.7202 GB, free: 115.9 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-05/1.351, allocations: 23.91 kB / 0.7202 GB, free: 115.9 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02561/1.377, allocations: 16.8 MB / 0.7366 GB, free: 99.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.727e-05/1.377, allocations: 4 kB / 0.7366 GB, free: 99.07 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003264/1.38, allocations: 0.8698 MB / 0.7375 GB, free: 98.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004356/1.384, allocations: 1.508 MB / 0.739 GB, free: 96.67 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006084/1.385, allocations: 111.9 kB / 0.7391 GB, free: 96.56 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01523/1.4, allocations: 17.47 MB / 0.7561 GB, free: 78.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/1.4, allocations: 0 / 0.7561 GB, free: 78.27 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0179/1.418, allocations: 12.26 MB / 0.7681 GB, free: 65.8 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002638/1.421, allocations: 1.122 MB / 0.7692 GB, free: 64.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009143/1.422, allocations: 89.2 kB / 0.7693 GB, free: 64.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002671/1.424, allocations: 299.7 kB / 0.7696 GB, free: 64.28 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007359/1.425, allocations: 331.5 kB / 0.7699 GB, free: 63.96 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000276/1.425, allocations: 148 kB / 0.77 GB, free: 63.81 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003162/1.429, allocations: 2.574 MB / 0.7725 GB, free: 61.24 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.01e-07/1.429, allocations: 0 / 0.7725 GB, free: 61.24 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006375/1.435, allocations: 2.403 MB / 0.7749 GB, free: 58.83 MB / 0.5294 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.0005923/1.436, allocations: 269.8 kB / 0.7751 GB, free: 58.56 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01306/1.449, allocations: 9.018 MB / 0.784 GB, free: 49.44 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.059e-05/1.449, allocations: 4 kB / 0.784 GB, free: 49.44 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006214/1.455, allocations: 4.179 MB / 0.788 GB, free: 45.18 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003712/1.459, allocations: 0.7413 MB / 0.7888 GB, free: 44.45 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02412/1.483, allocations: 16.92 MB / 0.8053 GB, free: 27.46 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004967/1.488, allocations: 6.053 MB / 0.8112 GB, free: 21.37 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00621/1.494, allocations: 3.259 MB / 0.8144 GB, free: 18.11 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001192/1.495, allocations: 399.3 kB / 0.8148 GB, free: 17.71 MB / 0.5294 GB Notification: Performance of SimCode: time 1.052e-06/1.495, allocations: 0 / 0.8148 GB, free: 17.71 MB / 0.5294 GB Notification: Performance of Templates: time 0.3625/1.858, allocations: 67.21 MB / 0.8804 GB, free: 151.5 MB / 0.545 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.17281934991479]