Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001052/0.001052, allocations: 179.2 kB / 16.41 MB, free: 5.707 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.719/1.719, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.0009348/0.0009352, allocations: 95.89 kB / 270.9 MB, free: 8.348 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003433/0.0003433, allocations: 8 kB / 327 MB, free: 168 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2588/0.2591, allocations: 47.57 MB / 374.6 MB, free: 45.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.007611/0.2668, allocations: 8.516 MB / 383.1 MB, free: 38.71 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005855/0.2727, allocations: 3.063 MB / 386.1 MB, free: 36.21 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001037/0.2737, allocations: 57.94 kB / 386.2 MB, free: 36.2 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001429/0.2752, allocations: 0.5324 MB / 386.7 MB, free: 35.79 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002479/0.2777, allocations: 1.195 MB / 387.9 MB, free: 34.9 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00168/0.2794, allocations: 0.9243 MB / 388.8 MB, free: 34.23 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0122/0.2916, allocations: 15.4 MB / 404.2 MB, free: 19.09 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01847/0.3101, allocations: 15.3 MB / 419.6 MB, free: 3.699 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004461/0.3146, allocations: 3.727 MB / 423.3 MB, free: 15.96 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006982/0.3216, allocations: 4.559 MB / 427.8 MB, free: 11.39 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001885/0.3235, allocations: 0.582 MB / 428.4 MB, free: 10.8 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003342/0.3268, allocations: 0.8044 MB / 429.2 MB, free: 10 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001558/0.3284, allocations: 1.869 MB / 431.1 MB, free: 8.125 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002665/0.3311, allocations: 1.783 MB / 432.9 MB, free: 6.332 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01548/0.3466, allocations: 15.68 MB / 448.6 MB, free: 6.605 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.788e-06/0.3466, allocations: 0 / 448.6 MB, free: 6.605 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.016e-06/0.3467, allocations: 3.938 kB / 448.6 MB, free: 6.602 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000525/0.3472, allocations: 0 / 448.6 MB, free: 6.602 MB / 330.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.02977/0.377, allocations: 10.85 MB / 459.4 MB, free: 11.67 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.377, allocations: 8.031 kB / 459.4 MB, free: 11.66 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04539/0.4224, allocations: 8.49 MB / 467.9 MB, free: 3.152 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01322/0.4357, allocations: 5.51 MB / 473.4 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000913/0.4367, allocations: 0.6585 MB / 474.1 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003852/0.4405, allocations: 0.871 MB / 475 MB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04017/0.4807, allocations: 15.9 MB / 490.9 MB, free: 12.1 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002275/0.481, allocations: 15.84 kB / 490.9 MB, free: 12.09 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001604/0.4826, allocations: 372 kB / 491.2 MB, free: 11.72 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005069/0.4831, allocations: 0.5583 MB / 491.8 MB, free: 11.16 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3295/0.8126, allocations: 15.63 MB / 0.4955 GB, free: 90.77 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05682/0.8695, allocations: 48.43 MB / 0.5428 GB, free: 54.81 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0132/0.8827, allocations: 19.3 MB / 0.5617 GB, free: 33.41 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003857/0.8866, allocations: 3.57 MB / 0.5652 GB, free: 29.84 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002798/0.8869, allocations: 180 kB / 0.5653 GB, free: 29.66 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.24e-05/0.8869, allocations: 90.56 kB / 0.5654 GB, free: 29.57 MB / 378.8 MB Notification: Performance of pre-optimization done (n=468): time 6.181e-06/0.887, allocations: 0 / 0.5654 GB, free: 29.57 MB / 378.8 MB Notification: Performance of matching and sorting (n=468): time 0.02559/0.9126, allocations: 13.48 MB / 0.5786 GB, free: 15.96 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.084e-05/0.9127, allocations: 125.1 kB / 0.5787 GB, free: 15.82 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004505/0.9172, allocations: 3.811 MB / 0.5824 GB, free: 12 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005472/0.9177, allocations: 101.7 kB / 0.5825 GB, free: 11.89 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001488/0.9192, allocations: 3.895 MB / 0.5863 GB, free: 7.98 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009863/0.9202, allocations: 1.617 MB / 0.5879 GB, free: 6.379 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002981/0.9205, allocations: 148 kB / 0.588 GB, free: 6.234 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 0.0002604/0.9208, allocations: 0.6039 MB / 0.5886 GB, free: 5.625 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004144/0.9249, allocations: 3.656 MB / 0.5922 GB, free: 1.965 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006251/0.9312, allocations: 6.504 MB / 0.5985 GB, free: 10.16 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007568/0.9388, allocations: 5.192 MB / 0.6036 GB, free: 4.945 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.408e-05/0.9389, allocations: 28 kB / 0.6036 GB, free: 4.918 MB / 394.8 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01895/0.9578, allocations: 11.87 MB / 0.6152 GB, free: 8.969 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.126e-05/0.9579, allocations: 48.94 kB / 0.6153 GB, free: 8.922 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.402e-05/0.958, allocations: 92 kB / 0.6154 GB, free: 8.832 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004337/0.9624, allocations: 1.637 MB / 0.617 GB, free: 7.176 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005335/0.9677, allocations: 1.657 MB / 0.6186 GB, free: 5.516 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01649/0.9842, allocations: 16.18 MB / 0.6344 GB, free: 4.531 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005076/0.9893, allocations: 0.9483 MB / 0.6353 GB, free: 3.574 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009479/0.9903, allocations: 364 kB / 0.6357 GB, free: 3.219 MB / 426.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 (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(8,100.0%) 30,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005959/0.9963, allocations: 3.754 MB / 0.6393 GB, free: 15.45 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007676/0.997, allocations: 391.1 kB / 0.6397 GB, free: 15.06 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0133/1.01, allocations: 8.557 MB / 0.6481 GB, free: 6.422 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.371e-05/1.01, allocations: 48 kB / 0.6481 GB, free: 6.375 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.42e-05/1.01, allocations: 12 kB / 0.6481 GB, free: 6.363 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.863e-05/1.01, allocations: 23.91 kB / 0.6481 GB, free: 6.34 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1809/1.191, allocations: 16.89 MB / 0.6646 GB, free: 137.5 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.471e-05/1.191, allocations: 2.906 kB / 0.6646 GB, free: 137.5 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003326/1.195, allocations: 0.8602 MB / 0.6655 GB, free: 137.5 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003909/1.199, allocations: 1.505 MB / 0.6669 GB, free: 137.2 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003987/1.199, allocations: 104.2 kB / 0.667 GB, free: 137.1 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01352/1.213, allocations: 15.98 MB / 0.6826 GB, free: 126 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/1.213, allocations: 3.812 kB / 0.6827 GB, free: 126 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0151/1.228, allocations: 12.17 MB / 0.6945 GB, free: 120.5 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00188/1.23, allocations: 1.114 MB / 0.6956 GB, free: 119.5 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005011/1.23, allocations: 87.66 kB / 0.6957 GB, free: 119.4 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002111/1.232, allocations: 307.6 kB / 0.696 GB, free: 119.2 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004856/1.233, allocations: 319.7 kB / 0.6963 GB, free: 119 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002439/1.233, allocations: 136 kB / 0.6964 GB, free: 118.9 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.002917/1.236, allocations: 2.55 MB / 0.6989 GB, free: 116.8 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.6e-07/1.236, allocations: 4 kB / 0.6989 GB, free: 116.8 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.005544/1.242, allocations: 2.38 MB / 0.7012 GB, free: 114.4 MB / 442.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 (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(8,100.0%) 30,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005056/1.242, allocations: 266.8 kB / 0.7015 GB, free: 114.2 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.01134/1.253, allocations: 9.304 MB / 0.7106 GB, free: 106.1 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/1.253, allocations: 3.938 kB / 0.7106 GB, free: 106.1 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.005443/1.259, allocations: 4.459 MB / 0.7149 GB, free: 101.7 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003126/1.262, allocations: 0.7132 MB / 0.7156 GB, free: 101 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02367/1.286, allocations: 19.93 MB / 0.7351 GB, free: 81.09 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004459/1.29, allocations: 5.941 MB / 0.7409 GB, free: 75.11 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001947/1.292, allocations: 431.3 kB / 0.7413 GB, free: 74.69 MB / 442.8 MB Notification: Performance of SimCode: time 3.407e-06/1.292, allocations: 0 / 0.7413 GB, free: 74.69 MB / 442.8 MB Notification: Performance of Templates: time 0.6799/1.972, allocations: 415.6 MB / 1.147 GB, free: 21.81 MB / 474.8 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches