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.001885/0.001885, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.001942/0.001942, allocations: 169.3 kB / 24.28 MB, free: 152 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.553/1.553, allocations: 177.1 MB / 204.6 MB, free: 5.602 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.343e-06/1.343e-06, allocations: 0 / 272.3 MB, free: 1.824 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.191e-05/2.325e-05, allocations: 2.312 kB / 272.3 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01373/0.01375, allocations: 9.673 MB / 282 MB, free: 8.102 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007072/0.02082, allocations: 3.341 MB / 285.3 MB, free: 4.75 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007424/0.02157, allocations: 87.56 kB / 285.4 MB, free: 4.664 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009924/0.03149, allocations: 4.088 MB / 289.5 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1123/0.1438, allocations: 1.544 MB / 291.1 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002193/0.146, allocations: 1.037 MB / 292.1 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.009812/0.1558, allocations: 9.628 MB / 301.7 MB, free: 11.05 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0189/0.1747, allocations: 12.87 MB / 314.6 MB, free: 4.184 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01183/0.1866, allocations: 7.553 MB / 322.1 MB, free: 13.22 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01173/0.1983, allocations: 6.035 MB / 328.2 MB, free: 7.582 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004835/0.2031, allocations: 1.395 MB / 329.6 MB, free: 6.188 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005664/0.2088, allocations: 1.653 MB / 331.2 MB, free: 4.574 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004187/0.213, allocations: 3.02 MB / 334.2 MB, free: 1.73 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008201/0.2212, allocations: 3.714 MB / 338 MB, free: 14.2 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02543/0.2466, allocations: 19.32 MB / 357.3 MB, free: 11.35 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.2466, allocations: 5.5 kB / 357.3 MB, free: 11.34 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2466, allocations: 0 / 357.3 MB, free: 11.34 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.00041/0.247, allocations: 0 / 357.3 MB, free: 11.34 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.04076/0.2878, allocations: 14.03 MB / 371.3 MB, free: 13.33 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.2878, allocations: 12.03 kB / 371.3 MB, free: 13.32 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0522/0.34, allocations: 10.02 MB / 381.3 MB, free: 3.398 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01696/0.357, allocations: 5.467 MB / 386.8 MB, free: 14.15 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009611/0.358, allocations: 0.6645 MB / 387.5 MB, free: 13.49 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004756/0.3627, allocations: 0.8682 MB / 388.3 MB, free: 12.63 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04379/0.4065, allocations: 16.25 MB / 404.6 MB, free: 12.31 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004066/0.4069, allocations: 4.938 kB / 404.6 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002974/0.4099, allocations: 366.2 kB / 405 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006991/0.4106, allocations: 0.5621 MB / 405.5 MB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02946/0.44, allocations: 13.86 MB / 419.4 MB, free: 13.5 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3058/0.7459, allocations: 67.33 MB / 486.7 MB, free: 68.94 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01278/0.7587, allocations: 7.801 MB / 494.5 MB, free: 61.88 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003402/0.7621, allocations: 2.736 MB / 497.2 MB, free: 59.13 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003608/0.7624, allocations: 147.9 kB / 497.4 MB, free: 58.99 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.516e-05/0.7625, allocations: 89.11 kB / 497.5 MB, free: 58.89 MB / 378.8 MB Notification: Performance of pre-optimization done (n=468): time 8.135e-06/0.7625, allocations: 0 / 497.5 MB, free: 58.89 MB / 378.8 MB Notification: Performance of matching and sorting (n=468): time 0.01983/0.7823, allocations: 9.767 MB / 0.4954 GB, free: 49.11 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.058e-05/0.7824, allocations: 125.1 kB / 0.4955 GB, free: 48.96 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007531/0.7899, allocations: 5.982 MB / 0.5013 GB, free: 43.09 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0008894/0.7908, allocations: 101.7 kB / 0.5014 GB, free: 42.98 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002513/0.7933, allocations: 4.576 MB / 0.5059 GB, free: 39.05 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001843/0.7952, allocations: 1.801 MB / 0.5076 GB, free: 37.38 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002501/0.7977, allocations: 1.943 MB / 0.5095 GB, free: 35.43 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 6.33e-05/0.7977, allocations: 480.7 kB / 0.51 GB, free: 34.96 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003909/0.8016, allocations: 2.993 MB / 0.5129 GB, free: 31.96 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005825/0.8075, allocations: 7.503 MB / 0.5202 GB, free: 22.68 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01124/0.8187, allocations: 11.45 MB / 0.5314 GB, free: 9.406 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001424/0.8188, allocations: 28 kB / 0.5315 GB, free: 9.379 MB / 378.8 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.0223/0.8411, allocations: 10.98 MB / 0.5422 GB, free: 14.32 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001885/0.8413, allocations: 47.94 kB / 0.5422 GB, free: 14.27 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002179/0.8416, allocations: 92 kB / 0.5423 GB, free: 14.18 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00769/0.8492, allocations: 1.875 MB / 0.5441 GB, free: 12.28 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007435/0.8567, allocations: 1.681 MB / 0.5458 GB, free: 10.6 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02861/0.8853, allocations: 20.21 MB / 0.5655 GB, free: 5.672 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006312/0.8916, allocations: 0.9703 MB / 0.5665 GB, free: 4.695 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001207/0.8928, allocations: 371.9 kB / 0.5668 GB, free: 4.332 MB / 410.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.00751/0.9003, allocations: 3.425 MB / 0.5702 GB, free: 0.8906 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001351/0.9017, allocations: 0.5482 MB / 0.5707 GB, free: 348 kB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1833/1.085, allocations: 7.41 MB / 0.5779 GB, free: 116.4 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.986e-05/1.085, allocations: 48.84 kB / 0.578 GB, free: 116.4 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.539e-05/1.085, allocations: 11.53 kB / 0.578 GB, free: 116.4 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001019/1.085, allocations: 27.17 kB / 0.578 GB, free: 116.4 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04024/1.125, allocations: 17.61 MB / 0.5952 GB, free: 113.8 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.909e-05/1.126, allocations: 3.75 kB / 0.5952 GB, free: 113.8 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003642/1.129, allocations: 0.8652 MB / 0.5961 GB, free: 113.7 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006511/1.136, allocations: 1.768 MB / 0.5978 GB, free: 113.4 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001004/1.137, allocations: 113.7 kB / 0.5979 GB, free: 113.4 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01778/1.154, allocations: 20.01 MB / 0.6174 GB, free: 98.04 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/1.154, allocations: 1.969 kB / 0.6174 GB, free: 98.04 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01982/1.174, allocations: 10.43 MB / 0.6276 GB, free: 89.23 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003548/1.178, allocations: 0.9579 MB / 0.6286 GB, free: 88.34 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00151/1.179, allocations: 87.94 kB / 0.6287 GB, free: 88.25 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003502/1.183, allocations: 297.6 kB / 0.6289 GB, free: 87.96 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001124/1.184, allocations: 343.4 kB / 0.6293 GB, free: 87.62 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006146/1.185, allocations: 144 kB / 0.6294 GB, free: 87.48 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.005017/1.19, allocations: 2.827 MB / 0.6322 GB, free: 84.66 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/1.19, allocations: 3.594 kB / 0.6322 GB, free: 84.66 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.009154/1.199, allocations: 2.408 MB / 0.6345 GB, free: 82.47 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.001244/1.2, allocations: 268.7 kB / 0.6348 GB, free: 82.21 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.01523/1.215, allocations: 8.966 MB / 0.6435 GB, free: 73.09 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.162e-05/1.215, allocations: 0 / 0.6435 GB, free: 73.09 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.007434/1.223, allocations: 4.312 MB / 0.6477 GB, free: 68.67 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005977/1.229, allocations: 0.7639 MB / 0.6485 GB, free: 67.95 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03032/1.259, allocations: 15.58 MB / 0.6637 GB, free: 52.25 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008766/1.268, allocations: 4.979 MB / 0.6686 GB, free: 47.23 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.007648/1.275, allocations: 2.813 MB / 0.6713 GB, free: 44.41 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002003/1.277, allocations: 396.4 kB / 0.6717 GB, free: 44.02 MB / 410.8 MB Notification: Performance of SimCode: time 2.334e-06/1.277, allocations: 0 / 0.6717 GB, free: 44.02 MB / 410.8 MB Notification: Performance of Templates: time 0.2405/1.518, allocations: 62.26 MB / 0.7325 GB, free: 118 MB / 426.8 MB " [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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 240] 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.282960942015052]