Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 194.6 kB / 23.71 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 225.7 MB / 252.5 MB, free: 12.79 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001709/0.001709, allocations: 47.92 kB / 370.9 MB, free: 9.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.2431, allocations: 52.18 MB / 423.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.0114/0.2545, allocations: 8.715 MB / 431.8 MB, free: 5.699 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007068/0.2616, allocations: 3.19 MB / 435 MB, free: 2.5 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001542/0.2631, allocations: 83.62 kB / 435.1 MB, free: 2.418 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009278/0.2724, allocations: 3.592 MB / 438.7 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004737/0.2771, allocations: 1.524 MB / 440.2 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00269/0.2798, allocations: 1.016 MB / 441.2 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01109/0.2909, allocations: 9.224 MB / 450.4 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02264/0.3135, allocations: 12.83 MB / 463.2 MB, free: 6.059 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007506/0.321, allocations: 5.175 MB / 468.4 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00997/0.331, allocations: 6.044 MB / 474.5 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003406/0.3344, allocations: 1.398 MB / 475.9 MB, free: 9.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004929/0.3394, allocations: 1.613 MB / 477.5 MB, free: 7.797 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00465/0.344, allocations: 2.93 MB / 480.4 MB, free: 4.859 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009465/0.3535, allocations: 4.261 MB / 484.7 MB, free: 0.582 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02195/0.3754, allocations: 18.98 MB / 0.4918 GB, free: 13.55 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.3754, allocations: 0 / 0.4918 GB, free: 13.55 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3754, allocations: 0 / 0.4918 GB, free: 13.55 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003825/0.3758, allocations: 0 / 0.4918 GB, free: 13.55 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.03728/0.4131, allocations: 12.38 MB / 0.5039 GB, free: 1.09 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.4131, allocations: 8.031 kB / 0.5039 GB, free: 1.082 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05201/0.4651, allocations: 8.546 MB / 0.5123 GB, free: 8.52 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01519/0.4803, allocations: 6.007 MB / 0.5181 GB, free: 2.449 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007315/0.4811, allocations: 0.6623 MB / 0.5188 GB, free: 1.785 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003268/0.4843, allocations: 0.8671 MB / 0.5196 GB, free: 0.918 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0372/0.5215, allocations: 16.23 MB / 0.5355 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003762/0.5219, allocations: 11.94 kB / 0.5355 GB, free: 0.5742 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003278/0.5252, allocations: 371.9 kB / 0.5359 GB, free: 216 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.406/0.9312, allocations: 0.5508 MB / 0.5364 GB, free: 95.44 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02977/0.961, allocations: 15.65 MB / 0.5517 GB, free: 90.52 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07537/1.036, allocations: 41.63 MB / 0.5923 GB, free: 49.61 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01413/1.05, allocations: 8.433 MB / 0.6006 GB, free: 41.65 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004588/1.055, allocations: 3.241 MB / 0.6037 GB, free: 38.4 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005709/1.056, allocations: 91.88 kB / 0.6038 GB, free: 38.31 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001066/1.056, allocations: 86.56 kB / 0.6039 GB, free: 38.21 MB / 446.1 MB Notification: Performance of pre-optimization done (n=468): time 1.373e-05/1.056, allocations: 0 / 0.6039 GB, free: 38.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=468): time 0.02399/1.08, allocations: 11.07 MB / 0.6147 GB, free: 27.14 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.579e-05/1.08, allocations: 125.1 kB / 0.6148 GB, free: 27 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006131/1.086, allocations: 3.969 MB / 0.6187 GB, free: 23.14 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000774/1.087, allocations: 101.7 kB / 0.6188 GB, free: 23.04 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001903/1.089, allocations: 4.038 MB / 0.6227 GB, free: 19.38 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00167/1.09, allocations: 1.685 MB / 0.6244 GB, free: 17.72 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003571/1.094, allocations: 1.477 MB / 0.6258 GB, free: 16.23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.674e-05/1.094, allocations: 301.1 kB / 0.6261 GB, free: 15.94 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004914/1.099, allocations: 3.691 MB / 0.6297 GB, free: 12.24 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00622/1.105, allocations: 6.523 MB / 0.6361 GB, free: 4.418 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01407/1.119, allocations: 10.82 MB / 0.6467 GB, free: 8.25 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001086/1.119, allocations: 32 kB / 0.6467 GB, free: 8.219 MB / 462.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02494/1.144, allocations: 11.92 MB / 0.6583 GB, free: 12.23 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001556/1.144, allocations: 47.94 kB / 0.6584 GB, free: 12.18 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002088/1.145, allocations: 92 kB / 0.6585 GB, free: 12.09 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005605/1.15, allocations: 1.617 MB / 0.66 GB, free: 10.45 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007037/1.157, allocations: 1.669 MB / 0.6617 GB, free: 8.781 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02283/1.18, allocations: 16.72 MB / 0.678 GB, free: 7.441 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006097/1.186, allocations: 0.9665 MB / 0.679 GB, free: 6.469 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001357/1.187, allocations: 364 kB / 0.6793 GB, free: 6.113 MB / 494.1 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.007324/1.195, allocations: 3.756 MB / 0.683 GB, free: 2.344 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001125/1.196, allocations: 409.3 kB / 0.6834 GB, free: 1.941 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01795/1.214, allocations: 8.529 MB / 0.6917 GB, free: 9.324 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-05/1.214, allocations: 51.94 kB / 0.6917 GB, free: 9.273 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-05/1.214, allocations: 12 kB / 0.6917 GB, free: 9.262 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.661e-05/1.214, allocations: 23.91 kB / 0.6918 GB, free: 9.238 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03347/1.247, allocations: 14.85 MB / 0.7063 GB, free: 10.23 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.791e-05/1.248, allocations: 0 / 0.7063 GB, free: 10.23 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004131/1.252, allocations: 0.862 MB / 0.7071 GB, free: 9.371 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005322/1.257, allocations: 1.511 MB / 0.7086 GB, free: 7.84 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008119/1.258, allocations: 108 kB / 0.7087 GB, free: 7.734 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02277/1.281, allocations: 16.51 MB / 0.7248 GB, free: 6.613 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/1.281, allocations: 4 kB / 0.7248 GB, free: 6.609 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02488/1.305, allocations: 12.21 MB / 0.7368 GB, free: 10.18 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003973/1.309, allocations: 1.082 MB / 0.7378 GB, free: 9.098 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001514/1.311, allocations: 84 kB / 0.7379 GB, free: 9.016 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003533/1.314, allocations: 303.7 kB / 0.7382 GB, free: 8.719 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001224/1.316, allocations: 339.3 kB / 0.7385 GB, free: 8.387 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006777/1.316, allocations: 139.9 kB / 0.7386 GB, free: 8.25 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004468/1.321, allocations: 2.546 MB / 0.7411 GB, free: 5.707 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/1.321, allocations: 0 / 0.7411 GB, free: 5.707 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.009187/1.33, allocations: 2.403 MB / 0.7435 GB, free: 3.297 MB / 0.545 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.001151/1.331, allocations: 262.6 kB / 0.7437 GB, free: 3.027 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.2549/1.586, allocations: 8.99 MB / 0.7525 GB, free: 187.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.144e-05/1.586, allocations: 1.438 kB / 0.7525 GB, free: 187.7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007429/1.594, allocations: 4.172 MB / 0.7566 GB, free: 186.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004281/1.598, allocations: 0.7097 MB / 0.7573 GB, free: 186.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03043/1.628, allocations: 17.19 MB / 0.7741 GB, free: 178.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006372/1.635, allocations: 5.578 MB / 0.7795 GB, free: 174.4 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.007281/1.642, allocations: 3.294 MB / 0.7827 GB, free: 172.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001595/1.643, allocations: 374.2 kB / 0.7831 GB, free: 172 MB / 0.545 GB Notification: Performance of SimCode: time 1.202e-06/1.643, allocations: 0 / 0.7831 GB, free: 172 MB / 0.545 GB Notification: Performance of Templates: time 0.09871/1.742, allocations: 69.7 MB / 0.8511 GB, free: 103.8 MB / 0.545 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.226915219798684]