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.001801/0.001801, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002268/0.002268, allocations: 209 kB / 24.48 MB, free: 3.938 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.475/1.475, allocations: 230.6 MB / 258.3 MB, free: 7.773 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.001756/0.001756, allocations: 47.92 kB / 379 MB, free: 2.422 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2371/0.2389, allocations: 53.37 MB / 432.3 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01151/0.2504, allocations: 8.709 MB / 441.1 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007182/0.2575, allocations: 3.252 MB / 444.3 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00165/0.2592, allocations: 87.62 kB / 444.4 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009357/0.2685, allocations: 3.581 MB / 448 MB, free: 6.996 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005347/0.2739, allocations: 1.512 MB / 449.5 MB, free: 5.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002914/0.2768, allocations: 1.028 MB / 450.5 MB, free: 4.453 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01167/0.2885, allocations: 9.34 MB / 459.9 MB, free: 11.08 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.022/0.3105, allocations: 12.84 MB / 472.7 MB, free: 14.1 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008085/0.3186, allocations: 5.175 MB / 477.9 MB, free: 8.914 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01008/0.3286, allocations: 6.056 MB / 483.9 MB, free: 2.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003681/0.3323, allocations: 1.395 MB / 485.3 MB, free: 1.445 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005562/0.3379, allocations: 1.64 MB / 487 MB, free: 15.8 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004678/0.3426, allocations: 2.934 MB / 489.9 MB, free: 12.86 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008787/0.3514, allocations: 4.265 MB / 494.2 MB, free: 8.582 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02157/0.3729, allocations: 19 MB / 0.5011 GB, free: 5.531 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.3729, allocations: 0 / 0.5011 GB, free: 5.531 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.3729, allocations: 0 / 0.5011 GB, free: 5.531 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004051/0.3733, allocations: 0 / 0.5011 GB, free: 5.531 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.03706/0.4104, allocations: 12.37 MB / 0.5132 GB, free: 9.082 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.02e-05/0.4105, allocations: 16.02 kB / 0.5132 GB, free: 9.066 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04937/0.4598, allocations: 8.421 MB / 0.5215 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01505/0.4749, allocations: 6.027 MB / 0.5273 GB, free: 10.54 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000816/0.4757, allocations: 0.6584 MB / 0.528 GB, free: 9.879 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004499/0.4802, allocations: 0.8671 MB / 0.5288 GB, free: 9.012 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4587/0.9389, allocations: 16.27 MB / 0.5447 GB, free: 82.29 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003401/0.9393, allocations: 15.97 kB / 0.5447 GB, free: 82.29 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002302/0.9416, allocations: 366.1 kB / 0.5451 GB, free: 82.01 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004523/0.942, allocations: 0.5556 MB / 0.5456 GB, free: 81.96 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02689/0.9689, allocations: 15.69 MB / 0.5609 GB, free: 75.88 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06319/1.032, allocations: 41.73 MB / 0.6017 GB, free: 34.54 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.013/1.045, allocations: 8.46 MB / 0.61 GB, free: 26.54 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003909/1.049, allocations: 3.253 MB / 0.6131 GB, free: 23.29 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003417/1.049, allocations: 111.9 kB / 0.6132 GB, free: 23.18 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.989e-05/1.049, allocations: 86.56 kB / 0.6133 GB, free: 23.08 MB / 446.1 MB Notification: Performance of pre-optimization done (n=468): time 8.215e-06/1.049, allocations: 0 / 0.6133 GB, free: 23.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=468): time 0.0207/1.07, allocations: 11.1 MB / 0.6242 GB, free: 11.96 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.827e-05/1.07, allocations: 125.1 kB / 0.6243 GB, free: 11.82 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005412/1.076, allocations: 3.965 MB / 0.6282 GB, free: 7.973 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008136/1.076, allocations: 97.7 kB / 0.6283 GB, free: 7.871 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001774/1.078, allocations: 4.047 MB / 0.6322 GB, free: 4.199 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001523/1.08, allocations: 1.685 MB / 0.6338 GB, free: 2.512 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001989/1.082, allocations: 1.485 MB / 0.6353 GB, free: 1.02 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.921e-05/1.082, allocations: 309.1 kB / 0.6356 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006083/1.088, allocations: 3.691 MB / 0.6392 GB, free: 13.02 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01005/1.098, allocations: 6.531 MB / 0.6456 GB, free: 5.184 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01617/1.114, allocations: 10.86 MB / 0.6562 GB, free: 8.988 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000126/1.114, allocations: 28 kB / 0.6562 GB, free: 8.961 MB / 478.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02609/1.14, allocations: 11.95 MB / 0.6679 GB, free: 12.93 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.995e-05/1.14, allocations: 48 kB / 0.6679 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001861/1.141, allocations: 92 kB / 0.668 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005411/1.146, allocations: 1.625 MB / 0.6696 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007126/1.153, allocations: 1.681 MB / 0.6712 GB, free: 9.469 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02192/1.175, allocations: 16.72 MB / 0.6876 GB, free: 8.145 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006264/1.181, allocations: 0.9626 MB / 0.6885 GB, free: 7.176 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001615/1.183, allocations: 368.1 kB / 0.6889 GB, free: 6.816 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.007569/1.19, allocations: 3.758 MB / 0.6925 GB, free: 3.043 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009837/1.191, allocations: 405.4 kB / 0.6929 GB, free: 2.645 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01687/1.208, allocations: 8.522 MB / 0.7012 GB, free: 10.04 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.398e-05/1.208, allocations: 52 kB / 0.7013 GB, free: 9.984 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.474e-05/1.208, allocations: 19.88 kB / 0.7013 GB, free: 9.965 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-05/1.208, allocations: 27.91 kB / 0.7013 GB, free: 9.938 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03309/1.242, allocations: 14.89 MB / 0.7159 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.182e-05/1.242, allocations: 0 / 0.7159 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004103/1.246, allocations: 0.8698 MB / 0.7167 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005307/1.251, allocations: 1.514 MB / 0.7182 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00096/1.252, allocations: 104 kB / 0.7183 GB, free: 8.391 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02146/1.273, allocations: 16.54 MB / 0.7345 GB, free: 7.238 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.396e-06/1.273, allocations: 11.94 kB / 0.7345 GB, free: 7.227 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2622/1.536, allocations: 12.23 MB / 0.7464 GB, free: 172.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003943/1.54, allocations: 1.077 MB / 0.7475 GB, free: 172.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009697/1.541, allocations: 87.06 kB / 0.7475 GB, free: 172.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002608/1.543, allocations: 296.2 kB / 0.7478 GB, free: 172.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006193/1.544, allocations: 351.1 kB / 0.7482 GB, free: 172.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002549/1.544, allocations: 144.9 kB / 0.7483 GB, free: 172.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003391/1.547, allocations: 2.539 MB / 0.7508 GB, free: 171.9 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/1.547, allocations: 0 / 0.7508 GB, free: 171.9 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008652/1.556, allocations: 2.413 MB / 0.7531 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.001497/1.558, allocations: 268.1 kB / 0.7534 GB, free: 171.4 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01454/1.572, allocations: 9.008 MB / 0.7622 GB, free: 167.9 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.026e-05/1.572, allocations: 0 / 0.7622 GB, free: 167.9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006837/1.579, allocations: 4.189 MB / 0.7663 GB, free: 166 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004202/1.583, allocations: 0.7089 MB / 0.767 GB, free: 165.7 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02786/1.611, allocations: 17.03 MB / 0.7836 GB, free: 155.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005931/1.617, allocations: 5.469 MB / 0.7889 GB, free: 151.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002147/1.619, allocations: 470 kB / 0.7894 GB, free: 151 MB / 0.545 GB Notification: Performance of SimCode: time 1.393e-06/1.619, allocations: 0 / 0.7894 GB, free: 151 MB / 0.545 GB Notification: Performance of Templates: time 0.8835/2.503, allocations: 422.7 MB / 1.202 GB, free: 186.9 MB / 0.5763 GB " [Timeout remaining time 657] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins1/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: 17.640774555969983]