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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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.MultiPhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,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=20000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 110.6 kB / 17.73 MB, free: 5.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009791/0.0009791, allocations: 190.9 kB / 18.67 MB, free: 4.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.329/1.329, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 44.3 kB / 328.5 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1256, allocations: 46.62 MB / 375.2 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.2914/0.417, allocations: 9.923 MB / 385.1 MB, free: 7.82 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008133/0.4252, allocations: 3.342 MB / 388.4 MB, free: 6.051 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001121/0.4264, allocations: 60.28 kB / 388.5 MB, free: 6.039 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008291/0.4348, allocations: 3.83 MB / 392.3 MB, free: 3.746 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00436/0.4391, allocations: 1.403 MB / 393.7 MB, free: 2.926 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003012/0.4422, allocations: 1.141 MB / 394.9 MB, free: 2.238 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01122/0.4534, allocations: 9.14 MB / 404 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02828/0.4817, allocations: 20.34 MB / 424.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009792/0.4915, allocations: 5.058 MB / 429.4 MB, free: 9.316 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01172/0.5033, allocations: 6.079 MB / 435.5 MB, free: 3.219 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004306/0.5076, allocations: 1.398 MB / 436.9 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007045/0.5147, allocations: 1.633 MB / 438.5 MB, free: 192 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006154/0.5209, allocations: 2.927 MB / 441.4 MB, free: 13.25 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01394/0.5348, allocations: 5.451 MB / 446.9 MB, free: 7.781 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0274/0.5623, allocations: 18.7 MB / 465.6 MB, free: 5.039 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.5623, allocations: 0 / 465.6 MB, free: 5.039 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.5624, allocations: 0 / 465.6 MB, free: 5.039 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0006596/0.563, allocations: 0 / 465.6 MB, free: 5.039 MB / 382.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.0423/0.6053, allocations: 12.26 MB / 477.8 MB, free: 8.695 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.6054, allocations: 8.031 kB / 477.8 MB, free: 8.688 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04748/0.6529, allocations: 8.506 MB / 486.4 MB, free: 164 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01546/0.6684, allocations: 5.396 MB / 491.8 MB, free: 10.7 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009322/0.6694, allocations: 0.6584 MB / 492.4 MB, free: 10.04 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005659/0.6751, allocations: 0.8632 MB / 493.3 MB, free: 9.176 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04602/0.7211, allocations: 15.97 MB / 0.4973 GB, free: 9.16 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003259/0.7215, allocations: 7.906 kB / 0.4973 GB, free: 9.152 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002622/0.7241, allocations: 368 kB / 0.4977 GB, free: 8.793 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005628/0.7247, allocations: 0.5659 MB / 0.4982 GB, free: 8.223 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03348/0.7582, allocations: 15.72 MB / 0.5136 GB, free: 8.477 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5615/1.32, allocations: 47.71 MB / 0.5602 GB, free: 119.6 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01858/1.338, allocations: 19.33 MB / 0.579 GB, free: 106.5 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005407/1.344, allocations: 3.587 MB / 0.5825 GB, free: 106.4 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003486/1.344, allocations: 182 kB / 0.5827 GB, free: 106.3 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.873e-05/1.344, allocations: 82.25 kB / 0.5828 GB, free: 106.3 MB / 478.1 MB Notification: Performance of pre-optimization done (n=468): time 8.296e-06/1.344, allocations: 4.812 kB / 0.5828 GB, free: 106.3 MB / 478.1 MB Notification: Performance of matching and sorting (n=468): time 0.02059/1.365, allocations: 11.54 MB / 0.5941 GB, free: 104 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.271e-05/1.365, allocations: 128 kB / 0.5942 GB, free: 103.9 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00549/1.371, allocations: 3.842 MB / 0.5979 GB, free: 102.5 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003438/1.371, allocations: 101.1 kB / 0.598 GB, free: 102.4 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001799/1.373, allocations: 3.894 MB / 0.6018 GB, free: 99.52 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009944/1.374, allocations: 1.613 MB / 0.6034 GB, free: 98.29 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001757/1.375, allocations: 1.467 MB / 0.6049 GB, free: 97.6 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.488e-05/1.376, allocations: 305.1 kB / 0.6051 GB, free: 97.3 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004278/1.38, allocations: 3.688 MB / 0.6087 GB, free: 96.01 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005216/1.385, allocations: 6.523 MB / 0.6151 GB, free: 91.03 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009868/1.395, allocations: 10.83 MB / 0.6257 GB, free: 82.92 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.101e-05/1.395, allocations: 25.22 kB / 0.6257 GB, free: 82.92 MB / 478.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.0157/1.411, allocations: 11.95 MB / 0.6374 GB, free: 72.39 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.005e-05/1.411, allocations: 51.94 kB / 0.6374 GB, free: 72.34 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000115/1.411, allocations: 92 kB / 0.6375 GB, free: 72.25 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004118/1.415, allocations: 1.615 MB / 0.6391 GB, free: 70.61 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005142/1.42, allocations: 1.677 MB / 0.6407 GB, free: 68.93 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01478/1.435, allocations: 17.64 MB / 0.658 GB, free: 50.48 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005875/1.441, allocations: 0.9601 MB / 0.6589 GB, free: 49.51 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000867/1.442, allocations: 360 kB / 0.6592 GB, free: 49.16 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.005855/1.448, allocations: 3.754 MB / 0.6629 GB, free: 45.39 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007451/1.448, allocations: 391.1 kB / 0.6633 GB, free: 45 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01193/1.46, allocations: 8.569 MB / 0.6717 GB, free: 36.35 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.629e-05/1.46, allocations: 48 kB / 0.6717 GB, free: 36.3 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.572e-05/1.46, allocations: 15.94 kB / 0.6717 GB, free: 36.29 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.675e-05/1.46, allocations: 27.91 kB / 0.6717 GB, free: 36.26 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02512/1.486, allocations: 16.79 MB / 0.6881 GB, free: 19.43 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.374e-05/1.486, allocations: 0 / 0.6881 GB, free: 19.43 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00293/1.489, allocations: 0.862 MB / 0.689 GB, free: 18.57 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003988/1.493, allocations: 1.523 MB / 0.6905 GB, free: 17.03 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003409/1.493, allocations: 95.98 kB / 0.6906 GB, free: 16.93 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01538/1.508, allocations: 17.47 MB / 0.7076 GB, free: 14.68 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/1.508, allocations: 4 kB / 0.7076 GB, free: 14.67 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01873/1.527, allocations: 12.23 MB / 0.7196 GB, free: 2.223 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003141/1.53, allocations: 1.104 MB / 0.7207 GB, free: 1.094 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006096/1.531, allocations: 84 kB / 0.7207 GB, free: 1.012 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002286/1.533, allocations: 307.7 kB / 0.721 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008065/1.534, allocations: 315.5 kB / 0.7213 GB, free: 412 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002928/1.534, allocations: 146.5 kB / 0.7215 GB, free: 268 kB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003973/1.538, allocations: 2.573 MB / 0.724 GB, free: 13.7 MB / 0.4982 GB Notification: Performance of sort global known variables: time 1.61e-07/1.538, allocations: 0 / 0.724 GB, free: 13.7 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.009919/1.548, allocations: 2.377 MB / 0.7263 GB, free: 11.31 MB / 0.4982 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.001038/1.549, allocations: 262.1 kB / 0.7266 GB, free: 11.04 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.01513/1.564, allocations: 9.368 MB / 0.7357 GB, free: 1.57 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/1.564, allocations: 8.062 kB / 0.7357 GB, free: 1.562 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.006892/1.571, allocations: 4.477 MB / 0.7401 GB, free: 13.01 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003723/1.575, allocations: 0.739 MB / 0.7408 GB, free: 12.27 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2746/1.85, allocations: 16.81 MB / 0.7572 GB, free: 165.5 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008874/1.859, allocations: 6.048 MB / 0.7631 GB, free: 164.6 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.008674/1.867, allocations: 3.253 MB / 0.7663 GB, free: 164.6 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001276/1.869, allocations: 372.5 kB / 0.7667 GB, free: 164.6 MB / 0.5138 GB Notification: Performance of SimCode: time 1.233e-06/1.869, allocations: 0 / 0.7667 GB, free: 164.6 MB / 0.5138 GB Notification: Performance of Templates: time 0.1054/1.974, allocations: 65.54 MB / 0.8307 GB, free: 122.4 MB / 0.5138 GB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.makefile (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 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat","/var/lib/jenkins/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/jenkins/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) Reference file matches