Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001713/0.001713, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00203/0.00203, allocations: 209.2 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.515/1.515, allocations: 230.6 MB / 257.5 MB, free: 7.789 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001539/0.001539, allocations: 51.91 kB / 378.2 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.24/0.2416, allocations: 53.37 MB / 431.6 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01178/0.2533, allocations: 8.717 MB / 440.3 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007233/0.2606, allocations: 3.24 MB / 443.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001605/0.2622, allocations: 83.62 kB / 443.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009578/0.2717, allocations: 3.592 MB / 447.2 MB, free: 7.043 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005009/0.2768, allocations: 1.543 MB / 448.8 MB, free: 5.496 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00276/0.2795, allocations: 1.018 MB / 449.8 MB, free: 4.484 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01127/0.2908, allocations: 9.341 MB / 459.1 MB, free: 11.11 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02178/0.3126, allocations: 12.96 MB / 472.1 MB, free: 14.01 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007779/0.3204, allocations: 5.179 MB / 477.3 MB, free: 8.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01059/0.3309, allocations: 6.161 MB / 483.4 MB, free: 2.641 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004019/0.335, allocations: 1.402 MB / 484.8 MB, free: 1.238 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00607/0.341, allocations: 1.652 MB / 486.5 MB, free: 15.59 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005201/0.3462, allocations: 2.923 MB / 489.4 MB, free: 12.66 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008454/0.3547, allocations: 4.273 MB / 493.7 MB, free: 8.367 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02185/0.3765, allocations: 18.99 MB / 0.5006 GB, free: 5.324 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.3765, allocations: 8 kB / 0.5006 GB, free: 5.316 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3765, allocations: 0 / 0.5006 GB, free: 5.316 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003988/0.3769, allocations: 0 / 0.5006 GB, free: 5.316 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.0361/0.413, allocations: 12.38 MB / 0.5127 GB, free: 8.859 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.4131, allocations: 8.031 kB / 0.5127 GB, free: 8.852 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05031/0.4634, allocations: 8.425 MB / 0.521 GB, free: 420 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01638/0.4798, allocations: 6.019 MB / 0.5268 GB, free: 10.33 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007972/0.4806, allocations: 0.6623 MB / 0.5275 GB, free: 9.664 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003709/0.4843, allocations: 0.8632 MB / 0.5283 GB, free: 8.801 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.424/0.9083, allocations: 16.27 MB / 0.5442 GB, free: 82.29 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003814/0.9087, allocations: 14.3 kB / 0.5442 GB, free: 82.29 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002726/0.9114, allocations: 368.2 kB / 0.5446 GB, free: 82.01 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004623/0.9119, allocations: 0.55 MB / 0.5451 GB, free: 81.95 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02904/0.9409, allocations: 15.69 MB / 0.5605 GB, free: 75.9 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07179/1.013, allocations: 41.73 MB / 0.6012 GB, free: 34.32 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01423/1.027, allocations: 8.45 MB / 0.6095 GB, free: 26.34 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004393/1.031, allocations: 3.249 MB / 0.6126 GB, free: 23.09 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004838/1.032, allocations: 119.9 kB / 0.6128 GB, free: 22.97 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.651e-05/1.032, allocations: 86.5 kB / 0.6128 GB, free: 22.88 MB / 446.1 MB Notification: Performance of pre-optimization done (n=468): time 8.546e-06/1.032, allocations: 0 / 0.6128 GB, free: 22.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=468): time 0.02412/1.056, allocations: 11.1 MB / 0.6237 GB, free: 11.76 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.892e-05/1.056, allocations: 125.1 kB / 0.6238 GB, free: 11.62 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006205/1.062, allocations: 3.967 MB / 0.6277 GB, free: 7.77 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000853/1.063, allocations: 101.7 kB / 0.6278 GB, free: 7.664 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001977/1.065, allocations: 4.034 MB / 0.6317 GB, free: 4 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001776/1.067, allocations: 1.691 MB / 0.6334 GB, free: 2.332 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004068/1.071, allocations: 1.489 MB / 0.6348 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.886e-05/1.071, allocations: 301.1 kB / 0.6351 GB, free: 0.5391 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006627/1.078, allocations: 3.691 MB / 0.6387 GB, free: 12.84 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009553/1.087, allocations: 6.535 MB / 0.6451 GB, free: 5.004 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01676/1.104, allocations: 10.85 MB / 0.6557 GB, free: 8.82 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001216/1.104, allocations: 32 kB / 0.6557 GB, free: 8.789 MB / 478.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02675/1.131, allocations: 11.96 MB / 0.6674 GB, free: 12.75 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000206/1.131, allocations: 44 kB / 0.6674 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002405/1.131, allocations: 92 kB / 0.6675 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005786/1.137, allocations: 1.621 MB / 0.6691 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007302/1.144, allocations: 1.681 MB / 0.6708 GB, free: 9.297 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02255/1.167, allocations: 16.72 MB / 0.6871 GB, free: 7.969 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006188/1.173, allocations: 0.9625 MB / 0.688 GB, free: 7 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001692/1.175, allocations: 367.9 kB / 0.6884 GB, free: 6.641 MB / 0.4982 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.007966/1.183, allocations: 3.758 MB / 0.692 GB, free: 2.867 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001362/1.184, allocations: 409.4 kB / 0.6924 GB, free: 2.465 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0192/1.203, allocations: 8.526 MB / 0.7008 GB, free: 9.852 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-05/1.203, allocations: 48 kB / 0.7008 GB, free: 9.805 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.586e-05/1.203, allocations: 12 kB / 0.7008 GB, free: 9.793 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001053/1.204, allocations: 23.91 kB / 0.7008 GB, free: 9.77 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03716/1.241, allocations: 14.9 MB / 0.7154 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.528e-05/1.241, allocations: 4 kB / 0.7154 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004418/1.245, allocations: 0.8659 MB / 0.7162 GB, free: 9.848 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005409/1.251, allocations: 1.507 MB / 0.7177 GB, free: 8.32 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00102/1.252, allocations: 115.9 kB / 0.7178 GB, free: 8.207 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02262/1.274, allocations: 16.55 MB / 0.734 GB, free: 7.051 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/1.274, allocations: 3.938 kB / 0.734 GB, free: 7.047 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3013/1.576, allocations: 12.24 MB / 0.7459 GB, free: 172.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003691/1.579, allocations: 1.079 MB / 0.747 GB, free: 172.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009636/1.58, allocations: 84.91 kB / 0.7471 GB, free: 172.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002763/1.583, allocations: 298.2 kB / 0.7474 GB, free: 172.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007347/1.584, allocations: 346 kB / 0.7477 GB, free: 172.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002845/1.584, allocations: 145.3 kB / 0.7478 GB, free: 172.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003623/1.588, allocations: 2.542 MB / 0.7503 GB, free: 171.8 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/1.588, allocations: 0 / 0.7503 GB, free: 171.8 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007951/1.596, allocations: 2.408 MB / 0.7527 GB, free: 171.6 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.0007865/1.596, allocations: 276.2 kB / 0.7529 GB, free: 171.4 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01391/1.61, allocations: 9.011 MB / 0.7617 GB, free: 167.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.257e-05/1.61, allocations: 0 / 0.7617 GB, free: 167.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006686/1.617, allocations: 4.182 MB / 0.7658 GB, free: 165.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003835/1.621, allocations: 0.7155 MB / 0.7665 GB, free: 165.7 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02938/1.65, allocations: 17.07 MB / 0.7832 GB, free: 155.4 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00974/1.66, allocations: 5.582 MB / 0.7886 GB, free: 151.2 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.008705/1.669, allocations: 3.295 MB / 0.7918 GB, free: 149.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002375/1.671, allocations: 397.5 kB / 0.7922 GB, free: 148.7 MB / 0.545 GB Notification: Performance of SimCode: time 1.212e-06/1.671, allocations: 0 / 0.7922 GB, free: 148.7 MB / 0.545 GB Notification: Performance of Templates: time 0.1076/1.779, allocations: 74.45 MB / 0.8649 GB, free: 76.04 MB / 0.545 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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.445938451681286]