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.001324/0.001324, allocations: 78.45 kB / 20.68 MB, free: 1.035 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.001339/0.001339, allocations: 155.5 kB / 23.94 MB, free: 4.176 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.395/1.395, allocations: 173.3 MB / 200.4 MB, free: 12.89 MB / 190.1 MB " [Timeout remaining time 179] 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 1.262e-06/1.262e-06, allocations: 0 / 318.9 MB, free: 3.586 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.968e-05/2.094e-05, allocations: 6.5 kB / 318.9 MB, free: 3.582 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.009322/0.009343, allocations: 8.699 MB / 327.6 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006978/0.01632, allocations: 3.193 MB / 330.8 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001345/0.01767, allocations: 82.62 kB / 330.9 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009327/0.02699, allocations: 3.799 MB / 334.7 MB, free: 9.273 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004606/0.0316, allocations: 1.571 MB / 336.3 MB, free: 8.074 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002597/0.0342, allocations: 1.012 MB / 337.3 MB, free: 7.328 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01195/0.04615, allocations: 9.509 MB / 346.8 MB, free: 15.78 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02263/0.06877, allocations: 12.85 MB / 359.6 MB, free: 2.789 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01308/0.08185, allocations: 7.52 MB / 367.2 MB, free: 11.26 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01009/0.09194, allocations: 5.505 MB / 372.7 MB, free: 5.742 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003489/0.09543, allocations: 1.398 MB / 374.1 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005199/0.1006, allocations: 1.632 MB / 375.7 MB, free: 2.711 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004353/0.105, allocations: 2.977 MB / 378.7 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008483/0.1135, allocations: 3.684 MB / 382.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03414/0.1476, allocations: 19.16 MB / 401.5 MB, free: 8.824 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.1476, allocations: 0 / 401.5 MB, free: 8.824 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1476, allocations: 3.938 kB / 401.5 MB, free: 8.82 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003986/0.148, allocations: 0 / 401.5 MB, free: 8.82 MB / 366.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.05165/0.1997, allocations: 12.3 MB / 413.8 MB, free: 12.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.1997, allocations: 8.922 kB / 413.8 MB, free: 12.44 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05036/0.2501, allocations: 8.542 MB / 422.4 MB, free: 3.883 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01458/0.2646, allocations: 6.004 MB / 428.4 MB, free: 13.81 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007506/0.2654, allocations: 0.6622 MB / 429 MB, free: 13.15 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003478/0.2689, allocations: 0.8671 MB / 429.9 MB, free: 12.29 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03247/0.3013, allocations: 16.23 MB / 446.1 MB, free: 11.95 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000175/0.3015, allocations: 19.89 kB / 446.2 MB, free: 11.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001164/0.3027, allocations: 372 kB / 446.5 MB, free: 11.57 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006196/0.3033, allocations: 0.5504 MB / 447.1 MB, free: 11.02 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02994/0.3332, allocations: 15.64 MB / 462.7 MB, free: 11.35 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3368/0.67, allocations: 41.65 MB / 0.4925 GB, free: 95.69 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01309/0.6831, allocations: 8.43 MB / 0.5008 GB, free: 92.72 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003865/0.687, allocations: 3.238 MB / 0.5039 GB, free: 91.04 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000285/0.6873, allocations: 84.16 kB / 0.504 GB, free: 91.02 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.75e-05/0.6873, allocations: 90.81 kB / 0.5041 GB, free: 90.94 MB / 430.1 MB Notification: Performance of pre-optimization done (n=468): time 7.774e-06/0.6873, allocations: 0 / 0.5041 GB, free: 90.94 MB / 430.1 MB Notification: Performance of matching and sorting (n=468): time 0.02036/0.7077, allocations: 11.07 MB / 0.5149 GB, free: 84.57 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.873e-05/0.7077, allocations: 129 kB / 0.515 GB, free: 84.42 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004561/0.7123, allocations: 3.972 MB / 0.5189 GB, free: 80.57 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007014/0.713, allocations: 101.6 kB / 0.519 GB, free: 80.46 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001648/0.7146, allocations: 4.02 MB / 0.5229 GB, free: 77.09 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00109/0.7157, allocations: 1.659 MB / 0.5246 GB, free: 75.54 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001742/0.7175, allocations: 1.465 MB / 0.526 GB, free: 74.07 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.998e-05/0.7175, allocations: 301.1 kB / 0.5263 GB, free: 73.77 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004261/0.7218, allocations: 3.684 MB / 0.5299 GB, free: 70.09 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005139/0.7269, allocations: 6.535 MB / 0.5363 GB, free: 62.25 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009718/0.7366, allocations: 10.82 MB / 0.5468 GB, free: 50.09 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.634e-05/0.7367, allocations: 27.94 kB / 0.5468 GB, free: 50.06 MB / 430.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01689/0.7536, allocations: 11.92 MB / 0.5585 GB, free: 38.07 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.077e-05/0.7536, allocations: 48 kB / 0.5585 GB, free: 38.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.95e-05/0.7537, allocations: 92 kB / 0.5586 GB, free: 37.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004633/0.7584, allocations: 1.621 MB / 0.5602 GB, free: 36.29 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005797/0.7642, allocations: 1.669 MB / 0.5618 GB, free: 34.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01535/0.7795, allocations: 16.73 MB / 0.5782 GB, free: 17.29 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00565/0.7852, allocations: 0.9665 MB / 0.5791 GB, free: 16.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001114/0.7863, allocations: 364 kB / 0.5795 GB, free: 15.96 MB / 430.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.005468/0.7918, allocations: 3.75 MB / 0.5831 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009118/0.7927, allocations: 409.3 kB / 0.5835 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01314/0.8058, allocations: 8.522 MB / 0.5918 GB, free: 3.188 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-05/0.8058, allocations: 48 kB / 0.5919 GB, free: 3.141 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.177e-05/0.8059, allocations: 12 kB / 0.5919 GB, free: 3.129 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-05/0.8059, allocations: 31.84 kB / 0.5919 GB, free: 3.098 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.028/0.8339, allocations: 14.84 MB / 0.6064 GB, free: 4.223 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.732e-05/0.8339, allocations: 12.25 kB / 0.6064 GB, free: 4.211 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003943/0.8379, allocations: 0.862 MB / 0.6073 GB, free: 3.348 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00544/0.8433, allocations: 1.515 MB / 0.6087 GB, free: 1.812 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007012/0.844, allocations: 99.97 kB / 0.6088 GB, free: 1.715 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02204/0.8661, allocations: 16.5 MB / 0.625 GB, free: 0.6133 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.8661, allocations: 3.938 kB / 0.625 GB, free: 0.6094 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02263/0.8887, allocations: 12.21 MB / 0.6369 GB, free: 4.199 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002975/0.8917, allocations: 1.082 MB / 0.6379 GB, free: 3.113 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008384/0.8925, allocations: 84 kB / 0.638 GB, free: 3.031 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002839/0.8953, allocations: 303.8 kB / 0.6383 GB, free: 2.734 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008635/0.8962, allocations: 335.4 kB / 0.6386 GB, free: 2.402 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003402/0.8966, allocations: 143.9 kB / 0.6388 GB, free: 2.262 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.1722/1.069, allocations: 2.534 MB / 0.6412 GB, free: 148.6 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.9e-07/1.069, allocations: 0.5938 kB / 0.6412 GB, free: 148.6 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00728/1.076, allocations: 2.405 MB / 0.6436 GB, free: 148.6 MB / 478.1 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.0006545/1.077, allocations: 263.5 kB / 0.6438 GB, free: 148.5 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01327/1.09, allocations: 8.991 MB / 0.6526 GB, free: 147 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.806e-06/1.09, allocations: 3.406 kB / 0.6526 GB, free: 147 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006872/1.097, allocations: 4.17 MB / 0.6567 GB, free: 145.1 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00357/1.1, allocations: 0.7153 MB / 0.6574 GB, free: 144.9 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02341/1.124, allocations: 17.12 MB / 0.6741 GB, free: 137.9 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004881/1.129, allocations: 5.584 MB / 0.6796 GB, free: 134.8 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.006011/1.135, allocations: 3.287 MB / 0.6828 GB, free: 132.8 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001139/1.136, allocations: 379.1 kB / 0.6831 GB, free: 132.4 MB / 478.1 MB Notification: Performance of SimCode: time 7.22e-07/1.136, allocations: 0 / 0.6831 GB, free: 132.4 MB / 478.1 MB Notification: Performance of Templates: time 0.09011/1.226, allocations: 61.09 MB / 0.7428 GB, free: 73.46 MB / 478.1 MB " [Timeout remaining time 659] 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: 7.657462280243635]