Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.004766/0.004766, allocations: 106.2 kB / 21.98 MB, free: 5.223 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.001328/0.001328, allocations: 212.6 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.536/1.536, allocations: 230.6 MB / 259 MB, free: 8.293 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 68.75 kB / 379.8 MB, free: 2.723 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.307/0.3089, allocations: 53.37 MB / 433.2 MB, free: 7.168 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01175/0.3207, allocations: 10.07 MB / 443.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007039/0.3277, allocations: 3.423 MB / 446.7 MB, free: 9.617 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001514/0.3292, allocations: 83.62 kB / 446.8 MB, free: 9.535 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008873/0.3381, allocations: 3.885 MB / 450.6 MB, free: 5.641 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004568/0.3427, allocations: 1.566 MB / 452.2 MB, free: 4.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002692/0.3453, allocations: 1.067 MB / 453.3 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0118/0.3572, allocations: 9.353 MB / 462.6 MB, free: 9.621 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02036/0.3775, allocations: 12.96 MB / 475.6 MB, free: 12.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007752/0.3853, allocations: 5.179 MB / 480.8 MB, free: 7.332 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009948/0.3952, allocations: 6.161 MB / 486.9 MB, free: 1.152 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004175/0.3994, allocations: 1.398 MB / 488.3 MB, free: 15.75 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004527/0.4039, allocations: 1.66 MB / 490 MB, free: 14.09 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003794/0.4077, allocations: 2.93 MB / 492.9 MB, free: 11.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008087/0.4158, allocations: 5.451 MB / 498.4 MB, free: 5.684 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02181/0.4376, allocations: 18.91 MB / 0.5052 GB, free: 2.719 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.4376, allocations: 0 / 0.5052 GB, free: 2.719 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4376, allocations: 4 kB / 0.5052 GB, free: 2.715 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000396/0.438, allocations: 0 / 0.5052 GB, free: 2.715 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.03496/0.473, allocations: 12.38 MB / 0.5172 GB, free: 6.258 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.473, allocations: 8.031 kB / 0.5173 GB, free: 6.25 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04933/0.5223, allocations: 8.421 MB / 0.5255 GB, free: 13.81 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01548/0.5378, allocations: 6.023 MB / 0.5314 GB, free: 7.727 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007721/0.5386, allocations: 0.6584 MB / 0.532 GB, free: 7.066 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004159/0.5428, allocations: 0.871 MB / 0.5328 GB, free: 6.195 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5075/1.05, allocations: 16.01 MB / 0.5485 GB, free: 81.43 MB / 446.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003518/1.051, allocations: 8.172 kB / 0.5485 GB, free: 81.43 MB / 446.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002984/1.054, allocations: 370.4 kB / 0.5488 GB, free: 81.14 MB / 446.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004659/1.054, allocations: 0.5598 MB / 0.5494 GB, free: 81.09 MB / 446.2 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02965/1.084, allocations: 15.77 MB / 0.5648 GB, free: 74.39 MB / 446.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07338/1.157, allocations: 46.69 MB / 0.6104 GB, free: 27.57 MB / 446.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01364/1.171, allocations: 8.503 MB / 0.6187 GB, free: 19.53 MB / 446.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004396/1.175, allocations: 3.246 MB / 0.6219 GB, free: 16.29 MB / 446.2 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000386/1.175, allocations: 150.6 kB / 0.622 GB, free: 16.17 MB / 446.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.251e-05/1.176, allocations: 86.56 kB / 0.6221 GB, free: 16.08 MB / 446.2 MB Notification: Performance of pre-optimization done (n=468): time 6.021e-06/1.176, allocations: 0 / 0.6221 GB, free: 16.08 MB / 446.2 MB Notification: Performance of matching and sorting (n=468): time 0.02272/1.198, allocations: 11.1 MB / 0.6329 GB, free: 4.957 MB / 446.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.552e-05/1.198, allocations: 125.1 kB / 0.6331 GB, free: 4.816 MB / 446.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006348/1.205, allocations: 3.85 MB / 0.6368 GB, free: 1.023 MB / 446.2 MB Notification: Performance of collectPreVariables (initialization): time 0.001141/1.206, allocations: 101.7 kB / 0.6369 GB, free: 0.918 MB / 446.2 MB Notification: Performance of collectInitialEqns (initialization): time 0.003494/1.209, allocations: 4.047 MB / 0.6409 GB, free: 13.29 MB / 462.2 MB Notification: Performance of collectInitialBindings (initialization): time 0.0034/1.213, allocations: 1.681 MB / 0.6425 GB, free: 11.59 MB / 462.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003934/1.217, allocations: 1.492 MB / 0.644 GB, free: 10.09 MB / 462.2 MB Notification: Performance of setup shared object (initialization): time 0.0001628/1.217, allocations: 309.1 kB / 0.6443 GB, free: 9.785 MB / 462.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007085/1.224, allocations: 3.691 MB / 0.6479 GB, free: 6.09 MB / 462.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01158/1.235, allocations: 6.535 MB / 0.6542 GB, free: 14.25 MB / 478.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01855/1.254, allocations: 10.85 MB / 0.6648 GB, free: 2.062 MB / 478.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000115/1.254, allocations: 31.75 kB / 0.6649 GB, free: 2.035 MB / 478.2 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02777/1.282, allocations: 11.95 MB / 0.6765 GB, free: 6.004 MB / 494.2 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001054/1.282, allocations: 47.94 kB / 0.6766 GB, free: 5.957 MB / 494.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002053/1.282, allocations: 92 kB / 0.6767 GB, free: 5.867 MB / 494.2 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005268/1.287, allocations: 1.624 MB / 0.6783 GB, free: 4.223 MB / 494.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006886/1.294, allocations: 1.673 MB / 0.6799 GB, free: 2.547 MB / 494.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02187/1.316, allocations: 17.06 MB / 0.6966 GB, free: 0.7969 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006683/1.323, allocations: 0.9666 MB / 0.6975 GB, free: 15.82 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001706/1.325, allocations: 364 kB / 0.6979 GB, free: 15.46 MB / 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.007947/1.333, allocations: 3.76 MB / 0.7015 GB, free: 11.69 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001022/1.334, allocations: 413.3 kB / 0.7019 GB, free: 11.29 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01624/1.35, allocations: 8.522 MB / 0.7102 GB, free: 2.676 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.543e-05/1.35, allocations: 55.94 kB / 0.7103 GB, free: 2.621 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.17e-05/1.35, allocations: 15.94 kB / 0.7103 GB, free: 2.605 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.741e-05/1.35, allocations: 23.91 kB / 0.7103 GB, free: 2.582 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03573/1.386, allocations: 16.86 MB / 0.7268 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.898e-05/1.386, allocations: 4 kB / 0.7268 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004002/1.39, allocations: 0.866 MB / 0.7276 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004876/1.395, allocations: 1.518 MB / 0.7291 GB, free: 15.14 MB / 0.5451 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001047/1.396, allocations: 108 kB / 0.7292 GB, free: 15.04 MB / 0.5451 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.344/1.74, allocations: 16.85 MB / 0.7457 GB, free: 172.8 MB / 0.5451 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/1.74, allocations: 3.969 kB / 0.7457 GB, free: 172.8 MB / 0.5451 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02094/1.761, allocations: 12.25 MB / 0.7577 GB, free: 170 MB / 0.5451 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003249/1.764, allocations: 1.091 MB / 0.7587 GB, free: 169.7 MB / 0.5451 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000989/1.765, allocations: 83.59 kB / 0.7588 GB, free: 169.7 MB / 0.5451 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00275/1.768, allocations: 306.3 kB / 0.7591 GB, free: 169.6 MB / 0.5451 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007058/1.768, allocations: 336.8 kB / 0.7594 GB, free: 169.6 MB / 0.5451 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002745/1.769, allocations: 145.5 kB / 0.7596 GB, free: 169.5 MB / 0.5451 GB Notification: Performance of sorting global known variables: time 0.003709/1.772, allocations: 2.573 MB / 0.7621 GB, free: 168.6 MB / 0.5451 GB Notification: Performance of sort global known variables: time 8e-08/1.772, allocations: 1.188 kB / 0.7621 GB, free: 168.6 MB / 0.5451 GB Notification: Performance of remove unused functions: time 0.009702/1.782, allocations: 2.4 MB / 0.7644 GB, free: 168.2 MB / 0.5451 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.001347/1.783, allocations: 274 kB / 0.7647 GB, free: 168 MB / 0.5451 GB Notification: Performance of simCode: created initialization part: time 0.01494/1.798, allocations: 9.024 MB / 0.7735 GB, free: 164.5 MB / 0.5451 GB Notification: Performance of simCode: created event and clocks part: time 1.213e-05/1.798, allocations: 0 / 0.7735 GB, free: 164.5 MB / 0.5451 GB Notification: Performance of simCode: created simulation system equations: time 0.007358/1.806, allocations: 4.178 MB / 0.7776 GB, free: 162.6 MB / 0.5451 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004989/1.811, allocations: 0.7513 MB / 0.7783 GB, free: 162.3 MB / 0.5451 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02921/1.84, allocations: 17.02 MB / 0.7949 GB, free: 147.7 MB / 0.5451 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006591/1.846, allocations: 5.933 MB / 0.8007 GB, free: 143.1 MB / 0.5451 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002201/1.849, allocations: 469.5 kB / 0.8012 GB, free: 142.7 MB / 0.5451 GB Notification: Performance of SimCode: time 1.813e-06/1.849, allocations: 0 / 0.8012 GB, free: 142.7 MB / 0.5451 GB Notification: Performance of Templates: time 0.9394/2.788, allocations: 420.1 MB / 1.211 GB, free: 175.4 MB / 0.5763 GB " [Timeout remaining time 657] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 18.729071020148695]