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.002023/0.002023, allocations: 92.31 kB / 20.96 MB, free: 3.477 MB / 18.57 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.002521/0.002521, allocations: 161.7 kB / 24.26 MB, free: 176 kB / 18.57 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.44/1.44, allocations: 177.2 MB / 204.6 MB, free: 5.586 MB / 186.7 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 1.303e-06/1.303e-06, allocations: 0 / 272.3 MB, free: 1.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.221e-05/2.351e-05, allocations: 2.312 kB / 272.3 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.0128/0.01282, allocations: 8.728 MB / 281.1 MB, free: 9.027 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0071/0.01992, allocations: 3.26 MB / 284.3 MB, free: 5.758 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001237/0.02116, allocations: 87.56 kB / 284.4 MB, free: 5.672 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009727/0.03089, allocations: 3.791 MB / 288.2 MB, free: 1.863 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004326/0.03521, allocations: 1.535 MB / 289.7 MB, free: 328 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1041/0.1393, allocations: 1.017 MB / 290.7 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.008788/0.1481, allocations: 9.629 MB / 300.4 MB, free: 11.64 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01446/0.1626, allocations: 12.86 MB / 313.2 MB, free: 4.738 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009441/0.172, allocations: 7.51 MB / 320.7 MB, free: 14.21 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009376/0.1814, allocations: 5.512 MB / 326.3 MB, free: 9.043 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00272/0.1841, allocations: 1.395 MB / 327.7 MB, free: 7.648 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003806/0.1879, allocations: 1.649 MB / 329.3 MB, free: 6.035 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003356/0.1913, allocations: 2.985 MB / 332.3 MB, free: 3.23 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00667/0.1979, allocations: 3.676 MB / 336 MB, free: 15.73 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02353/0.2215, allocations: 19.19 MB / 355.2 MB, free: 13.07 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.2215, allocations: 3.938 kB / 355.2 MB, free: 13.07 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2215, allocations: 3.5 kB / 355.2 MB, free: 13.07 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003904/0.2218, allocations: 0 / 355.2 MB, free: 13.07 MB / 314.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.03331/0.2552, allocations: 12.29 MB / 367.5 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.2552, allocations: 8.031 kB / 367.5 MB, free: 0.793 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05041/0.3056, allocations: 10.02 MB / 377.5 MB, free: 6.879 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01444/0.3201, allocations: 6.211 MB / 383.7 MB, free: 0.8867 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007082/0.3208, allocations: 0.6651 MB / 384.4 MB, free: 232 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002779/0.3235, allocations: 0.8706 MB / 385.2 MB, free: 15.36 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03372/0.3573, allocations: 16.28 MB / 401.5 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002312/0.3575, allocations: 11.95 kB / 401.5 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001746/0.3592, allocations: 363 kB / 401.9 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006817/0.3599, allocations: 0.5582 MB / 402.4 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03484/0.3948, allocations: 15.69 MB / 418.1 MB, free: 14.38 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2042/0.599, allocations: 42.86 MB / 461 MB, free: 76.44 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01286/0.6118, allocations: 8.48 MB / 469.5 MB, free: 73.96 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003571/0.6154, allocations: 3.246 MB / 472.7 MB, free: 72.81 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000306/0.6157, allocations: 141.8 kB / 472.9 MB, free: 72.79 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.363e-05/0.6158, allocations: 91.59 kB / 472.9 MB, free: 72.72 MB / 378.7 MB Notification: Performance of pre-optimization done (n=468): time 7.564e-06/0.6158, allocations: 0 / 472.9 MB, free: 72.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=468): time 0.01952/0.6353, allocations: 11.26 MB / 484.2 MB, free: 67.86 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.135e-05/0.6353, allocations: 127.9 kB / 484.3 MB, free: 67.76 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005082/0.6404, allocations: 3.968 MB / 488.3 MB, free: 64.73 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003558/0.6408, allocations: 101.7 kB / 488.4 MB, free: 64.62 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001499/0.6423, allocations: 4.014 MB / 492.4 MB, free: 60.67 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001017/0.6433, allocations: 1.666 MB / 494.1 MB, free: 59.02 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002108/0.6454, allocations: 1.481 MB / 495.6 MB, free: 57.54 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.311e-05/0.6454, allocations: 301.1 kB / 495.8 MB, free: 57.24 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004374/0.6498, allocations: 3.688 MB / 499.5 MB, free: 53.55 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005554/0.6554, allocations: 6.534 MB / 0.4942 GB, free: 45.76 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0116/0.667, allocations: 10.85 MB / 0.5048 GB, free: 33.96 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001054/0.6671, allocations: 28 kB / 0.5048 GB, free: 33.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02044/0.6875, allocations: 12.3 MB / 0.5169 GB, free: 22.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001023/0.6876, allocations: 45.61 kB / 0.5169 GB, free: 22.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001541/0.6878, allocations: 92 kB / 0.517 GB, free: 22.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005993/0.6938, allocations: 1.905 MB / 0.5188 GB, free: 20.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005857/0.6996, allocations: 1.672 MB / 0.5205 GB, free: 18.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01561/0.7152, allocations: 16.77 MB / 0.5369 GB, free: 1.305 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005372/0.7206, allocations: 0.9749 MB / 0.5378 GB, free: 332 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001397/0.722, allocations: 368 kB / 0.5382 GB, free: 15.96 MB / 394.7 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.008716/0.7307, allocations: 3.758 MB / 0.5418 GB, free: 12.31 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001881/0.7326, allocations: 0.5443 MB / 0.5424 GB, free: 11.76 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01995/0.7525, allocations: 8.525 MB / 0.5507 GB, free: 3.148 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.71e-05/0.7526, allocations: 52 kB / 0.5507 GB, free: 3.098 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.926e-05/0.7527, allocations: 16 kB / 0.5507 GB, free: 3.082 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001406/0.7528, allocations: 24.78 kB / 0.5508 GB, free: 3.059 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0387/0.7915, allocations: 14.9 MB / 0.5653 GB, free: 4.145 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.41e-05/0.7916, allocations: 0 / 0.5653 GB, free: 4.145 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004409/0.796, allocations: 0.8698 MB / 0.5662 GB, free: 3.273 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007162/0.8031, allocations: 1.788 MB / 0.5679 GB, free: 1.465 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001123/0.8043, allocations: 112 kB / 0.568 GB, free: 1.355 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02476/0.829, allocations: 16.6 MB / 0.5842 GB, free: 160 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.829, allocations: 0 / 0.5842 GB, free: 160 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1716/1.001, allocations: 12.39 MB / 0.5963 GB, free: 138.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002622/1.003, allocations: 1.079 MB / 0.5974 GB, free: 137.9 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006442/1.004, allocations: 89 kB / 0.5975 GB, free: 137.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002273/1.006, allocations: 298.8 kB / 0.5978 GB, free: 137.7 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007686/1.007, allocations: 341.6 kB / 0.5981 GB, free: 137.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003005/1.007, allocations: 141.5 kB / 0.5982 GB, free: 137.7 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003259/1.01, allocations: 2.548 MB / 0.6007 GB, free: 136.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 1e-07/1.01, allocations: 0 / 0.6007 GB, free: 136.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00595/1.016, allocations: 2.404 MB / 0.6031 GB, free: 136.2 MB / 426.7 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.0006146/1.017, allocations: 262 kB / 0.6033 GB, free: 136 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01194/1.029, allocations: 9.017 MB / 0.6121 GB, free: 132.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/1.029, allocations: 0 / 0.6121 GB, free: 132.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006038/1.035, allocations: 4.194 MB / 0.6162 GB, free: 130.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003571/1.039, allocations: 0.7467 MB / 0.6169 GB, free: 130.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02388/1.062, allocations: 17.23 MB / 0.6338 GB, free: 115.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005183/1.068, allocations: 5.586 MB / 0.6392 GB, free: 111.3 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.006543/1.074, allocations: 3.293 MB / 0.6424 GB, free: 109.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001179/1.075, allocations: 398.5 kB / 0.6428 GB, free: 108.9 MB / 426.7 MB Notification: Performance of SimCode: time 1.623e-06/1.075, allocations: 0 / 0.6428 GB, free: 108.9 MB / 426.7 MB Notification: Performance of Templates: time 0.08939/1.165, allocations: 62.38 MB / 0.7037 GB, free: 47.31 MB / 426.7 MB " [Timeout remaining time 659] 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: 7.977373218978755]