Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.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.001676/0.001676, allocations: 84.88 kB / 22 MB, free: 4.754 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.001709/0.001709, allocations: 153.8 kB / 25.24 MB, free: 2.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.298/1.298, allocations: 158.6 MB / 187 MB, free: 6.348 MB / 174.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.MultiPhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002829/0.002829, allocations: 55.92 kB / 299.4 MB, free: 6.848 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2242, allocations: 49.14 MB / 348.5 MB, free: 15.53 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.0112/0.2354, allocations: 8.629 MB / 357.1 MB, free: 6.859 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006973/0.2423, allocations: 3.23 MB / 360.4 MB, free: 3.621 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001357/0.2437, allocations: 71.62 kB / 360.4 MB, free: 3.551 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009467/0.2532, allocations: 3.777 MB / 364.2 MB, free: 15.76 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004526/0.2577, allocations: 1.419 MB / 365.6 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002687/0.2604, allocations: 1.106 MB / 366.7 MB, free: 13.22 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01093/0.2713, allocations: 9.22 MB / 376 MB, free: 3.965 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01869/0.29, allocations: 12.83 MB / 388.8 MB, free: 6.996 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00696/0.297, allocations: 5.179 MB / 394 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009675/0.3066, allocations: 6.028 MB / 400 MB, free: 11.76 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003409/0.31, allocations: 1.395 MB / 401.4 MB, free: 10.36 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004678/0.3147, allocations: 1.621 MB / 403 MB, free: 8.742 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003916/0.3186, allocations: 2.926 MB / 405.9 MB, free: 5.809 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006733/0.3254, allocations: 4.273 MB / 410.2 MB, free: 1.52 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02/0.3454, allocations: 18.83 MB / 429 MB, free: 14.63 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3454, allocations: 4 kB / 429.1 MB, free: 14.63 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3454, allocations: 0 / 429.1 MB, free: 14.63 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003272/0.3457, allocations: 0 / 429.1 MB, free: 14.63 MB / 398.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.03416/0.3799, allocations: 12.37 MB / 441.4 MB, free: 2.184 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.86e-05/0.3799, allocations: 19.97 kB / 441.4 MB, free: 2.164 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05076/0.4307, allocations: 8.542 MB / 450 MB, free: 9.605 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01345/0.4441, allocations: 5.497 MB / 455.5 MB, free: 4.051 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007212/0.4449, allocations: 0.6584 MB / 456.1 MB, free: 3.391 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003259/0.4481, allocations: 0.8671 MB / 457 MB, free: 2.523 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0349/0.483, allocations: 16.23 MB / 473.2 MB, free: 2.188 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002049/0.4832, allocations: 11.94 kB / 473.3 MB, free: 2.176 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001219/0.4844, allocations: 372 kB / 473.6 MB, free: 1.812 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006085/0.485, allocations: 0.5582 MB / 474.2 MB, free: 1.25 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3377/0.8227, allocations: 15.63 MB / 489.8 MB, free: 92.19 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0535/0.8762, allocations: 41.67 MB / 0.519 GB, free: 52.31 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01217/0.8884, allocations: 8.417 MB / 0.5272 GB, free: 44.35 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003478/0.8919, allocations: 3.245 MB / 0.5304 GB, free: 41.11 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002689/0.8921, allocations: 83.94 kB / 0.5305 GB, free: 41.03 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.582e-05/0.8922, allocations: 86.56 kB / 0.5306 GB, free: 40.93 MB / 430.1 MB Notification: Performance of pre-optimization done (n=468): time 7.534e-06/0.8922, allocations: 7.938 kB / 0.5306 GB, free: 40.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=468): time 0.01897/0.9112, allocations: 11.06 MB / 0.5414 GB, free: 29.85 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/0.9112, allocations: 133.1 kB / 0.5415 GB, free: 29.7 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00423/0.9154, allocations: 3.959 MB / 0.5454 GB, free: 25.86 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004604/0.9159, allocations: 105.7 kB / 0.5455 GB, free: 25.75 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001475/0.9174, allocations: 4.045 MB / 0.5494 GB, free: 22.09 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001066/0.9184, allocations: 1.685 MB / 0.5511 GB, free: 20.41 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001676/0.9201, allocations: 1.473 MB / 0.5525 GB, free: 18.93 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.174e-05/0.9202, allocations: 301.1 kB / 0.5528 GB, free: 18.64 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004279/0.9244, allocations: 3.688 MB / 0.5564 GB, free: 14.95 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005657/0.9301, allocations: 6.527 MB / 0.5628 GB, free: 7.117 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01199/0.9421, allocations: 10.82 MB / 0.5733 GB, free: 10.95 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.204e-05/0.9422, allocations: 24 kB / 0.5734 GB, free: 10.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02184/0.964, allocations: 11.93 MB / 0.585 GB, free: 14.93 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.595e-05/0.9641, allocations: 52.06 kB / 0.5851 GB, free: 14.88 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001354/0.9642, allocations: 92 kB / 0.5851 GB, free: 14.79 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005126/0.9693, allocations: 1.618 MB / 0.5867 GB, free: 13.15 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006198/0.9755, allocations: 1.673 MB / 0.5884 GB, free: 11.48 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02163/0.9972, allocations: 16.71 MB / 0.6047 GB, free: 10.15 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005857/1.003, allocations: 0.982 MB / 0.6056 GB, free: 9.16 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001444/1.004, allocations: 356 kB / 0.606 GB, free: 8.812 MB / 478.1 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.006414/1.011, allocations: 3.75 MB / 0.6096 GB, free: 5.047 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008187/1.012, allocations: 409.3 kB / 0.61 GB, free: 4.645 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01583/1.028, allocations: 8.522 MB / 0.6184 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.642e-05/1.028, allocations: 55.92 kB / 0.6184 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.258e-05/1.028, allocations: 12 kB / 0.6184 GB, free: 11.97 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.998e-05/1.028, allocations: 27.91 kB / 0.6184 GB, free: 11.95 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02741/1.055, allocations: 14.85 MB / 0.6329 GB, free: 12.95 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.856e-05/1.055, allocations: 4 kB / 0.6329 GB, free: 12.95 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004053/1.059, allocations: 0.8581 MB / 0.6338 GB, free: 12.09 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005214/1.064, allocations: 1.519 MB / 0.6353 GB, free: 10.55 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006842/1.065, allocations: 99.97 kB / 0.6354 GB, free: 10.45 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02087/1.086, allocations: 16.53 MB / 0.6515 GB, free: 9.305 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/1.086, allocations: 0 / 0.6515 GB, free: 9.305 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2042/1.29, allocations: 12.2 MB / 0.6634 GB, free: 166.3 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002828/1.293, allocations: 1.083 MB / 0.6645 GB, free: 166.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008707/1.294, allocations: 85.88 kB / 0.6646 GB, free: 166.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002795/1.297, allocations: 302.2 kB / 0.6648 GB, free: 166.3 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006284/1.297, allocations: 340.2 kB / 0.6652 GB, free: 166.3 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002764/1.297, allocations: 137.8 kB / 0.6653 GB, free: 166.3 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.003182/1.301, allocations: 2.543 MB / 0.6678 GB, free: 166.2 MB / 0.5138 GB Notification: Performance of sort global known variables: time 9e-08/1.301, allocations: 3.188 kB / 0.6678 GB, free: 166.2 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.006309/1.307, allocations: 2.403 MB / 0.6701 GB, free: 166 MB / 0.5138 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.0006837/1.308, allocations: 256.5 kB / 0.6704 GB, free: 165.8 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01188/1.32, allocations: 8.994 MB / 0.6792 GB, free: 162.3 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/1.32, allocations: 3 kB / 0.6792 GB, free: 162.3 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.005673/1.325, allocations: 4.165 MB / 0.6832 GB, free: 160.4 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003231/1.328, allocations: 0.7158 MB / 0.6839 GB, free: 160.1 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02192/1.35, allocations: 17.18 MB / 0.7007 GB, free: 149.3 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004553/1.355, allocations: 5.578 MB / 0.7062 GB, free: 145.1 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.00595/1.361, allocations: 3.299 MB / 0.7094 GB, free: 143 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001005/1.362, allocations: 372.4 kB / 0.7097 GB, free: 142.7 MB / 0.5138 GB Notification: Performance of SimCode: time 1.122e-06/1.362, allocations: 0 / 0.7097 GB, free: 142.7 MB / 0.5138 GB Notification: Performance of Templates: time 0.08334/1.445, allocations: 61.33 MB / 0.7696 GB, free: 82.79 MB / 0.5138 GB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/MultiPhaseInductance/MultiPhaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.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.662422641995363]