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.001118/0.001118, allocations: 72.08 kB / 21.69 MB, free: 2.863 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.001066/0.001066, allocations: 147.8 kB / 24.98 MB, free: 8.816 MB / 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 0.9838/0.9838, allocations: 173.4 MB / 201.5 MB, free: 9.332 MB / 186.7 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.793e-06/1.793e-06, allocations: 0 / 268.1 MB, free: 6.723 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.493e-05/2.672e-05, allocations: 2.312 kB / 268.1 MB, free: 6.719 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.009037/0.009064, allocations: 9.697 MB / 277.8 MB, free: 12.97 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004699/0.01376, allocations: 3.283 MB / 281.1 MB, free: 9.676 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008505/0.01461, allocations: 87.56 kB / 281.1 MB, free: 9.59 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003961/0.01857, allocations: 4.092 MB / 285.2 MB, free: 5.48 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002227/0.0208, allocations: 1.57 MB / 286.8 MB, free: 3.902 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001246/0.02205, allocations: 1.028 MB / 287.8 MB, free: 2.871 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1183/0.1404, allocations: 9.49 MB / 297.3 MB, free: 13.51 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.017/0.1574, allocations: 12.86 MB / 310.2 MB, free: 7.785 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01071/0.1681, allocations: 7.559 MB / 317.7 MB, free: 4.176 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006969/0.175, allocations: 6.033 MB / 323.8 MB, free: 14.96 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003222/0.1783, allocations: 1.398 MB / 325.2 MB, free: 13.56 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004407/0.1827, allocations: 1.625 MB / 326.8 MB, free: 11.97 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003359/0.186, allocations: 3.022 MB / 329.8 MB, free: 9.125 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006536/0.1926, allocations: 3.713 MB / 333.5 MB, free: 5.59 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01137/0.2039, allocations: 9.696 MB / 343.2 MB, free: 12.45 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.2039, allocations: 0 / 343.2 MB, free: 12.45 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2039, allocations: 0 / 343.2 MB, free: 12.45 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0003581/0.2043, allocations: 2.656 kB / 343.2 MB, free: 12.45 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.02563/0.2299, allocations: 13.27 MB / 356.5 MB, free: 15.24 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.697e-05/0.23, allocations: 12.92 kB / 356.5 MB, free: 15.23 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03782/0.2678, allocations: 10.18 MB / 366.7 MB, free: 5.156 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01063/0.2784, allocations: 5.448 MB / 372.1 MB, free: 15.92 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000601/0.279, allocations: 0.6601 MB / 372.8 MB, free: 15.26 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002831/0.2819, allocations: 0.8635 MB / 373.7 MB, free: 14.41 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02527/0.3071, allocations: 8.528 MB / 382.2 MB, free: 5.805 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000327/0.3075, allocations: 7.953 kB / 382.2 MB, free: 5.797 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002185/0.3097, allocations: 369.3 kB / 382.6 MB, free: 5.445 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005607/0.3102, allocations: 0.5651 MB / 383.1 MB, free: 4.883 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01369/0.3239, allocations: 5.05 MB / 388.2 MB, free: 15.8 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05069/0.3746, allocations: 37.38 MB / 425.6 MB, free: 10.25 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008504/0.3831, allocations: 6.2 MB / 431.8 MB, free: 4.5 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001845/0.3849, allocations: 1.38 MB / 433.1 MB, free: 3.113 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002367/0.3852, allocations: 115.9 kB / 433.3 MB, free: 3 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.302e-05/0.3852, allocations: 89.39 kB / 433.3 MB, free: 2.902 MB / 378.7 MB Notification: Performance of pre-optimization done (n=468): time 7.444e-06/0.3853, allocations: 0 / 433.3 MB, free: 2.902 MB / 378.7 MB Notification: Performance of matching and sorting (n=468): time 0.2246/0.6099, allocations: 6.084 MB / 439.4 MB, free: 111.1 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.929e-05/0.61, allocations: 130 kB / 439.6 MB, free: 111 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004951/0.6149, allocations: 4.039 MB / 443.6 MB, free: 110.7 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005413/0.6155, allocations: 100.7 kB / 443.7 MB, free: 110.6 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002203/0.6177, allocations: 4.361 MB / 448.1 MB, free: 108.9 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001367/0.619, allocations: 1.736 MB / 449.8 MB, free: 107.9 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002033/0.6211, allocations: 1.687 MB / 451.5 MB, free: 107.8 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 8.359e-05/0.6211, allocations: 476.8 kB / 451.9 MB, free: 107.3 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002207/0.6233, allocations: 1.133 MB / 453.1 MB, free: 107.3 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002951/0.6263, allocations: 5.42 MB / 458.5 MB, free: 102.2 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005372/0.6317, allocations: 7.189 MB / 465.7 MB, free: 96.68 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.726e-05/0.6317, allocations: 27.38 kB / 465.7 MB, free: 96.68 MB / 378.8 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.009292/0.641, allocations: 6.921 MB / 472.6 MB, free: 94.67 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.082e-05/0.6411, allocations: 50.59 kB / 472.7 MB, free: 94.67 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.09e-05/0.6412, allocations: 91.41 kB / 472.8 MB, free: 94.67 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00316/0.6443, allocations: 1.537 MB / 474.3 MB, free: 94.48 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003028/0.6474, allocations: 1.667 MB / 476 MB, free: 94.3 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008838/0.6562, allocations: 15.7 MB / 491.7 MB, free: 79.65 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004461/0.6607, allocations: 0.9669 MB / 492.6 MB, free: 78.77 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007677/0.6614, allocations: 363.2 kB / 493 MB, free: 78.42 MB / 378.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.002472/0.6639, allocations: 0.6427 MB / 493.6 MB, free: 77.77 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006569/0.6646, allocations: 0.5441 MB / 494.2 MB, free: 77.22 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006455/0.671, allocations: 4.869 MB / 499.1 MB, free: 73.33 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.556e-05/0.671, allocations: 48 kB / 499.1 MB, free: 73.28 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.163e-05/0.6711, allocations: 15.94 kB / 499.1 MB, free: 73.27 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-05/0.6711, allocations: 25.75 kB / 499.1 MB, free: 73.26 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01803/0.6891, allocations: 12.32 MB / 0.4995 GB, free: 61.78 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.348e-05/0.6891, allocations: 4 kB / 0.4995 GB, free: 61.78 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002078/0.6912, allocations: 0.862 MB / 0.5003 GB, free: 60.91 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003194/0.6944, allocations: 1.426 MB / 0.5017 GB, free: 59.46 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005623/0.695, allocations: 104 kB / 0.5018 GB, free: 59.36 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008332/0.7033, allocations: 15.5 MB / 0.5169 GB, free: 43.14 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.7033, allocations: 7.938 kB / 0.517 GB, free: 43.14 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008676/0.712, allocations: 5.821 MB / 0.5226 GB, free: 37.09 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001618/0.7136, allocations: 0.9489 MB / 0.5236 GB, free: 36.14 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005068/0.7141, allocations: 84 kB / 0.5236 GB, free: 36.05 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001295/0.7154, allocations: 307.7 kB / 0.5239 GB, free: 35.75 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005598/0.716, allocations: 343.3 kB / 0.5243 GB, free: 35.42 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001795/0.7161, allocations: 136 kB / 0.5244 GB, free: 35.29 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.001901/0.718, allocations: 1.586 MB / 0.5259 GB, free: 33.7 MB / 378.8 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7181, allocations: 0 / 0.5259 GB, free: 33.7 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.005803/0.7239, allocations: 2.407 MB / 0.5283 GB, free: 31.29 MB / 378.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.0007061/0.7246, allocations: 273.1 kB / 0.5286 GB, free: 31.02 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.008933/0.7335, allocations: 5.781 MB / 0.5342 GB, free: 25.1 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 8.255e-06/0.7335, allocations: 0 / 0.5342 GB, free: 25.1 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003644/0.7371, allocations: 3.154 MB / 0.5373 GB, free: 21.82 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002423/0.7396, allocations: 0.7427 MB / 0.538 GB, free: 21.1 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01622/0.7558, allocations: 13.62 MB / 0.5513 GB, free: 7.34 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00156/0.7574, allocations: 2.527 MB / 0.5538 GB, free: 4.785 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.003936/0.7613, allocations: 2.805 MB / 0.5565 GB, free: 1.973 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007103/0.762, allocations: 368.4 kB / 0.5569 GB, free: 1.609 MB / 378.8 MB Notification: Performance of SimCode: time 2.605e-06/0.762, allocations: 4 kB / 0.5569 GB, free: 1.605 MB / 378.8 MB Notification: Performance of Templates: time 0.1991/0.9611, allocations: 61.35 MB / 0.6168 GB, free: 97.41 MB / 394.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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.974844367010519]