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.00261/0.00261, allocations: 99.86 kB / 20.96 MB, free: 3.461 MB / 18.57 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.002909/0.002909, allocations: 149.1 kB / 24.26 MB, free: 172 kB / 18.57 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.504/1.504, allocations: 173.3 MB / 200.8 MB, free: 9.328 MB / 186.7 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 2.986e-06/2.986e-06, allocations: 0 / 267.3 MB, free: 6.734 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.845e-05/5.144e-05, allocations: 2.312 kB / 267.3 MB, free: 6.73 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01473/0.01478, allocations: 9.666 MB / 277 MB, free: 13.01 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007847/0.02262, allocations: 3.283 MB / 280.3 MB, free: 9.719 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00212/0.02474, allocations: 83.62 kB / 280.4 MB, free: 9.637 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01092/0.03567, allocations: 4.095 MB / 284.4 MB, free: 5.523 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005562/0.04123, allocations: 1.566 MB / 286 MB, free: 3.949 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002987/0.04422, allocations: 1.044 MB / 287.1 MB, free: 2.902 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1351/0.1793, allocations: 9.491 MB / 296.5 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01741/0.1967, allocations: 12.87 MB / 309.4 MB, free: 7.836 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01156/0.2082, allocations: 7.553 MB / 317 MB, free: 4.234 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01021/0.2184, allocations: 6.03 MB / 323 MB, free: 14.96 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004865/0.2233, allocations: 1.395 MB / 324.4 MB, free: 13.57 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007379/0.2307, allocations: 1.631 MB / 326 MB, free: 11.97 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006229/0.2369, allocations: 3.015 MB / 329 MB, free: 9.137 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01134/0.2483, allocations: 3.718 MB / 332.8 MB, free: 5.594 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02649/0.2748, allocations: 19.3 MB / 352.1 MB, free: 2.82 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.084e-06/0.2748, allocations: 3.125 kB / 352.1 MB, free: 2.82 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2748, allocations: 0 / 352.1 MB, free: 2.82 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0005437/0.2753, allocations: 0 / 352.1 MB, free: 2.82 MB / 298.7 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.0439/0.3192, allocations: 14.02 MB / 366.1 MB, free: 4.824 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.3192, allocations: 12.92 kB / 366.1 MB, free: 4.812 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0561/0.3753, allocations: 10.17 MB / 376.3 MB, free: 10.75 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01671/0.3921, allocations: 5.45 MB / 381.7 MB, free: 5.508 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001065/0.3931, allocations: 0.6611 MB / 382.4 MB, free: 4.852 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004173/0.3973, allocations: 0.8701 MB / 383.2 MB, free: 3.992 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04483/0.4421, allocations: 16.2 MB / 399.4 MB, free: 3.711 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004079/0.4425, allocations: 11.89 kB / 399.5 MB, free: 3.699 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003303/0.4458, allocations: 370.8 kB / 399.8 MB, free: 3.344 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000772/0.4466, allocations: 0.5543 MB / 400.4 MB, free: 2.785 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0339/0.4805, allocations: 13.81 MB / 414.2 MB, free: 4.945 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3445/0.825, allocations: 67.23 MB / 481.4 MB, free: 79.48 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01329/0.8383, allocations: 7.774 MB / 489.2 MB, free: 74.1 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003666/0.842, allocations: 2.728 MB / 491.9 MB, free: 71.37 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003594/0.8423, allocations: 119.9 kB / 492 MB, free: 71.25 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.211e-05/0.8424, allocations: 85.33 kB / 492.1 MB, free: 71.16 MB / 378.8 MB Notification: Performance of pre-optimization done (n=468): time 8.345e-06/0.8424, allocations: 0 / 492.1 MB, free: 71.16 MB / 378.8 MB Notification: Performance of matching and sorting (n=468): time 0.01946/0.8619, allocations: 9.727 MB / 0.4901 GB, free: 61.41 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.1e-05/0.8619, allocations: 129 kB / 0.4902 GB, free: 61.26 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007483/0.8694, allocations: 5.989 MB / 0.4961 GB, free: 55.38 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007864/0.8702, allocations: 97.7 kB / 0.4962 GB, free: 55.28 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002262/0.8725, allocations: 4.577 MB / 0.5006 GB, free: 51.35 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001578/0.874, allocations: 1.794 MB / 0.5024 GB, free: 49.7 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002339/0.8764, allocations: 1.931 MB / 0.5043 GB, free: 47.76 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 5.954e-05/0.8764, allocations: 484.7 kB / 0.5047 GB, free: 47.29 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004113/0.8805, allocations: 2.985 MB / 0.5076 GB, free: 44.3 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005425/0.886, allocations: 7.488 MB / 0.515 GB, free: 35.02 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01031/0.8963, allocations: 11.44 MB / 0.5261 GB, free: 21.77 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002004/0.8965, allocations: 28 kB / 0.5261 GB, free: 21.74 MB / 378.8 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02047/0.9169, allocations: 10.94 MB / 0.5368 GB, free: 10.71 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.289e-05/0.917, allocations: 44 kB / 0.5369 GB, free: 10.67 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001682/0.9172, allocations: 96 kB / 0.537 GB, free: 10.58 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005841/0.923, allocations: 1.87 MB / 0.5388 GB, free: 8.68 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006106/0.9292, allocations: 1.673 MB / 0.5404 GB, free: 7.004 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02331/0.9525, allocations: 20.22 MB / 0.5602 GB, free: 2.059 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006319/0.9588, allocations: 0.9665 MB / 0.5611 GB, free: 1.086 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001434/0.9602, allocations: 360 kB / 0.5615 GB, free: 0.7344 MB / 394.8 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.007249/0.9675, allocations: 3.433 MB / 0.5648 GB, free: 13.29 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001391/0.9689, allocations: 0.5443 MB / 0.5653 GB, free: 12.74 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01743/0.9863, allocations: 7.418 MB / 0.5726 GB, free: 5.23 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-05/0.9864, allocations: 48 kB / 0.5726 GB, free: 5.184 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.003e-05/0.9864, allocations: 12 kB / 0.5726 GB, free: 5.172 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000119/0.9865, allocations: 27.97 kB / 0.5727 GB, free: 5.145 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2306/1.217, allocations: 17.58 MB / 0.5898 GB, free: 118.1 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.717e-05/1.217, allocations: 0 / 0.5898 GB, free: 118.1 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003647/1.221, allocations: 0.8596 MB / 0.5907 GB, free: 118 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00629/1.227, allocations: 1.758 MB / 0.5924 GB, free: 118 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009291/1.228, allocations: 102.2 kB / 0.5925 GB, free: 118 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01646/1.245, allocations: 20.01 MB / 0.612 GB, free: 105.4 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/1.245, allocations: 3.969 kB / 0.612 GB, free: 105.4 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01589/1.26, allocations: 10.4 MB / 0.6222 GB, free: 101.5 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003152/1.264, allocations: 0.9539 MB / 0.6231 GB, free: 101.1 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008072/1.264, allocations: 86.97 kB / 0.6232 GB, free: 101 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002616/1.267, allocations: 302.9 kB / 0.6235 GB, free: 100.9 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007224/1.268, allocations: 337.8 kB / 0.6238 GB, free: 100.9 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002821/1.268, allocations: 136 kB / 0.624 GB, free: 100.8 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.003987/1.272, allocations: 2.827 MB / 0.6267 GB, free: 99.71 MB / 410.8 MB Notification: Performance of sort global known variables: time 9.1e-08/1.272, allocations: 0 / 0.6267 GB, free: 99.71 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.008099/1.28, allocations: 2.408 MB / 0.6291 GB, free: 98.39 MB / 410.8 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.0009106/1.281, allocations: 262.4 kB / 0.6293 GB, free: 98.14 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.01392/1.295, allocations: 8.946 MB / 0.6381 GB, free: 89.59 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.419e-05/1.295, allocations: 0 / 0.6381 GB, free: 89.59 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.007418/1.302, allocations: 4.303 MB / 0.6423 GB, free: 85.17 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006354/1.309, allocations: 0.7518 MB / 0.643 GB, free: 84.48 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03247/1.341, allocations: 15.67 MB / 0.6583 GB, free: 68.68 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00534/1.347, allocations: 4.987 MB / 0.6632 GB, free: 63.65 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.006129/1.353, allocations: 2.805 MB / 0.6659 GB, free: 60.84 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001173/1.354, allocations: 372.4 kB / 0.6663 GB, free: 60.48 MB / 410.8 MB Notification: Performance of SimCode: time 1.683e-06/1.354, allocations: 4 kB / 0.6663 GB, free: 60.47 MB / 410.8 MB Notification: Performance of Templates: time 0.09835/1.452, allocations: 61.3 MB / 0.7261 GB, free: 15.93 MB / 426.8 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 240] 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.353982493048534]