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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.0009631/0.0009631, allocations: 187 kB / 17.92 MB, free: 3.852 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.147/1.147, allocations: 205.1 MB / 223.7 MB, free: 8.504 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009261/0.0009261, allocations: 101 kB / 271.2 MB, free: 8.457 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007506/0.0007507, allocations: 43.94 kB / 327.2 MB, free: 344 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1751/0.1759, allocations: 46.62 MB / 373.8 MB, free: 45.7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.007882/0.1838, allocations: 9.802 MB / 383.6 MB, free: 38.06 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005783/0.1896, allocations: 3.344 MB / 387 MB, free: 35.37 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001931/0.1916, allocations: 56.59 kB / 387 MB, free: 35.36 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00702/0.1987, allocations: 3.625 MB / 390.7 MB, free: 32.65 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003654/0.2023, allocations: 1.304 MB / 392 MB, free: 31.36 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002031/0.2044, allocations: 1.096 MB / 393.1 MB, free: 30.27 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.006154/0.2106, allocations: 9.207 MB / 402.3 MB, free: 21.03 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01626/0.2268, allocations: 17.29 MB / 419.6 MB, free: 3.613 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004677/0.2315, allocations: 4.519 MB / 424.1 MB, free: 15.08 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008014/0.2396, allocations: 5.931 MB / 430 MB, free: 9.133 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003153/0.2428, allocations: 1.031 MB / 431 MB, free: 8.102 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004166/0.247, allocations: 1.261 MB / 432.3 MB, free: 6.84 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00337/0.2504, allocations: 2.52 MB / 434.8 MB, free: 4.312 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007286/0.2577, allocations: 5.049 MB / 439.9 MB, free: 15.23 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01525/0.2729, allocations: 18.33 MB / 458.2 MB, free: 12.86 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.273, allocations: 0 / 458.2 MB, free: 12.86 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.273, allocations: 0 / 458.2 MB, free: 12.86 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003885/0.2734, allocations: 0 / 458.2 MB, free: 12.86 MB / 346.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.03168/0.3051, allocations: 12.31 MB / 470.5 MB, free: 476 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.3051, allocations: 8.031 kB / 470.5 MB, free: 468 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04124/0.3464, allocations: 8.463 MB / 479 MB, free: 7.969 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01222/0.3586, allocations: 5.376 MB / 484.3 MB, free: 2.527 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006045/0.3593, allocations: 0.6624 MB / 485 MB, free: 1.863 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002895/0.3622, allocations: 0.8633 MB / 485.9 MB, free: 1 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02976/0.392, allocations: 15.97 MB / 0.4901 GB, free: 0.9883 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001721/0.3922, allocations: 15.91 kB / 0.4901 GB, free: 0.9727 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001033/0.3932, allocations: 375.9 kB / 0.4905 GB, free: 0.6055 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004442/0.3937, allocations: 0.5582 MB / 0.491 GB, free: 44 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2705/0.6641, allocations: 15.71 MB / 0.5063 GB, free: 78.38 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05188/0.716, allocations: 48.24 MB / 0.5535 GB, free: 32.55 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01298/0.7291, allocations: 19.34 MB / 0.5723 GB, free: 11.12 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003899/0.733, allocations: 3.586 MB / 0.5758 GB, free: 7.535 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000345/0.7334, allocations: 181.8 kB / 0.576 GB, free: 7.355 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.141e-05/0.7334, allocations: 88.11 kB / 0.5761 GB, free: 7.266 MB / 378.8 MB Notification: Performance of pre-optimization done (n=468): time 5.851e-06/0.7334, allocations: 0 / 0.5761 GB, free: 7.266 MB / 378.8 MB Notification: Performance of matching and sorting (n=468): time 0.01894/0.7524, allocations: 11.52 MB / 0.5873 GB, free: 11.66 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.053e-05/0.7525, allocations: 125.1 kB / 0.5875 GB, free: 11.52 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004874/0.7574, allocations: 3.846 MB / 0.5912 GB, free: 7.668 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004477/0.7578, allocations: 101.7 kB / 0.5913 GB, free: 7.562 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002038/0.7599, allocations: 3.884 MB / 0.5951 GB, free: 3.66 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001357/0.7612, allocations: 1.616 MB / 0.5967 GB, free: 2.059 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001941/0.7632, allocations: 1.468 MB / 0.5981 GB, free: 0.582 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 7.79e-05/0.7633, allocations: 301.1 kB / 0.5984 GB, free: 292 kB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00481/0.7681, allocations: 3.687 MB / 0.602 GB, free: 12.6 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006427/0.7745, allocations: 6.52 MB / 0.6084 GB, free: 4.824 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01193/0.7865, allocations: 10.83 MB / 0.619 GB, free: 9.043 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.758e-05/0.7866, allocations: 28 kB / 0.619 GB, free: 9.016 MB / 426.8 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01903/0.8056, allocations: 11.93 MB / 0.6306 GB, free: 13.5 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.58e-05/0.8057, allocations: 48.25 kB / 0.6307 GB, free: 13.46 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001148/0.8058, allocations: 96 kB / 0.6308 GB, free: 13.36 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00458/0.8104, allocations: 1.609 MB / 0.6323 GB, free: 11.73 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005526/0.816, allocations: 1.673 MB / 0.634 GB, free: 10.06 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01684/0.8328, allocations: 16.1 MB / 0.6497 GB, free: 9.168 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004965/0.8378, allocations: 0.9523 MB / 0.6506 GB, free: 8.207 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007104/0.8385, allocations: 362.7 kB / 0.651 GB, free: 7.855 MB / 458.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.00463/0.8432, allocations: 3.75 MB / 0.6546 GB, free: 4.09 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000593/0.8438, allocations: 391.1 kB / 0.655 GB, free: 3.703 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1619/1.006, allocations: 8.576 MB / 0.6634 GB, free: 140.3 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.991e-05/1.006, allocations: 46.97 kB / 0.6634 GB, free: 140.3 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.213e-05/1.006, allocations: 11.78 kB / 0.6634 GB, free: 140.3 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.378e-05/1.006, allocations: 30.62 kB / 0.6635 GB, free: 140.3 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02707/1.033, allocations: 16.92 MB / 0.68 GB, free: 136.8 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.544e-05/1.033, allocations: 3.781 kB / 0.68 GB, free: 136.8 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003023/1.036, allocations: 0.8573 MB / 0.6808 GB, free: 136.8 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004161/1.04, allocations: 1.508 MB / 0.6823 GB, free: 136.5 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004621/1.041, allocations: 103.3 kB / 0.6824 GB, free: 136.4 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01308/1.054, allocations: 15.88 MB / 0.6979 GB, free: 125.3 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/1.054, allocations: 5.25 kB / 0.6979 GB, free: 125.3 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02186/1.076, allocations: 19.39 MB / 0.7169 GB, free: 108.8 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00193/1.078, allocations: 1.1 MB / 0.7179 GB, free: 107.7 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003926/1.078, allocations: 87.98 kB / 0.718 GB, free: 107.6 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002117/1.08, allocations: 313.2 kB / 0.7183 GB, free: 107.3 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005909/1.081, allocations: 319 kB / 0.7186 GB, free: 107 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002323/1.081, allocations: 136 kB / 0.7187 GB, free: 106.8 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.002428/1.083, allocations: 2.57 MB / 0.7213 GB, free: 104.3 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.2e-07/1.083, allocations: 1.641 kB / 0.7213 GB, free: 104.3 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.005002/1.088, allocations: 2.577 MB / 0.7238 GB, free: 101.7 MB / 458.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.0003962/1.089, allocations: 261.6 kB / 0.724 GB, free: 101.5 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.009962/1.099, allocations: 9.352 MB / 0.7332 GB, free: 92.34 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/1.099, allocations: 0 / 0.7332 GB, free: 92.34 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004914/1.104, allocations: 4.471 MB / 0.7375 GB, free: 87.89 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002585/1.106, allocations: 0.7021 MB / 0.7382 GB, free: 87.2 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02178/1.128, allocations: 23.28 MB / 0.7609 GB, free: 63.85 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004888/1.133, allocations: 6.17 MB / 0.767 GB, free: 57.64 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.006523/1.14, allocations: 3.255 MB / 0.7701 GB, free: 54.38 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009951/1.141, allocations: 375.3 kB / 0.7705 GB, free: 54.02 MB / 458.8 MB Notification: Performance of SimCode: time 1.062e-06/1.141, allocations: 0 / 0.7705 GB, free: 54.02 MB / 458.8 MB Notification: Performance of Templates: time 0.2307/1.371, allocations: 67.74 MB / 0.8367 GB, free: 148.7 MB / 474.8 MB 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/MultiPhaseInductance/MultiPhaseInductance.csv","../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