Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.singlePhaseElectroMagneticConverter.1..Phi.re|converter_m.singlePhaseElectroMagneticConverter.2..Phi.im|inductor_e.inductor.1..i|inductor_e.inductor.2..i|inductor_e.inductor.3..i",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.singlePhaseElectroMagneticConverter.1..Phi.re|converter_m.singlePhaseElectroMagneticConverter.2..Phi.im|inductor_e.inductor.1..i|inductor_e.inductor.2..i|inductor_e.inductor.3..i",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001071/0.001071, allocations: 191.8 kB / 17.37 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.304/1.304, allocations: 226.6 MB / 244.7 MB, free: 8.109 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000748/0.000748, allocations: 99.42 kB / 296.8 MB, free: 6.891 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002104/0.0002104, allocations: 8 kB / 356.8 MB, free: 10.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1899/0.1901, allocations: 51.3 MB / 408.1 MB, free: 27.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.004144/0.1943, allocations: 5.742 MB / 413.8 MB, free: 21.96 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00268/0.197, allocations: 2.055 MB / 415.9 MB, free: 19.91 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003614/0.1973, allocations: 35.88 kB / 415.9 MB, free: 19.88 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004913/0.1978, allocations: 270.3 kB / 416.2 MB, free: 19.61 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001218/0.1991, allocations: 0.7175 MB / 416.9 MB, free: 18.89 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000441/0.1995, allocations: 242.2 kB / 417.1 MB, free: 18.66 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002148/0.2017, allocations: 3.258 MB / 420.4 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00127/0.203, allocations: 1.651 MB / 422 MB, free: 13.68 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000783/0.2038, allocations: 0.9689 MB / 423 MB, free: 12.71 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001027/0.2048, allocations: 1.342 MB / 424.3 MB, free: 11.36 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001789/0.205, allocations: 136 kB / 424.5 MB, free: 11.23 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005058/0.2055, allocations: 267.8 kB / 424.7 MB, free: 10.97 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003901/0.2059, allocations: 0.6501 MB / 425.4 MB, free: 10.32 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007895/0.2067, allocations: 1.211 MB / 426.6 MB, free: 9.094 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001727/0.2084, allocations: 3.223 MB / 429.8 MB, free: 5.863 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.2084, allocations: 4 kB / 429.8 MB, free: 5.859 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.2085, allocations: 3.938 kB / 429.8 MB, free: 5.855 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.254e-05/0.2085, allocations: 3.938 kB / 429.8 MB, free: 5.852 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 588 * Number of variables: 588 Notification: Performance of Generate backend data structure: time 0.005467/0.214, allocations: 3.019 MB / 432.8 MB, free: 2.77 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.214, allocations: 8.031 kB / 432.8 MB, free: 2.762 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00356/0.2176, allocations: 0.786 MB / 433.6 MB, free: 1.973 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002123/0.2197, allocations: 1.625 MB / 435.3 MB, free: 296 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.627e-05/0.2198, allocations: 169 kB / 435.4 MB, free: 124 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003124/0.2201, allocations: 228.2 kB / 435.6 MB, free: 15.89 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004997/0.2251, allocations: 3.203 MB / 438.8 MB, free: 12.63 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.857e-05/0.2252, allocations: 4 kB / 438.8 MB, free: 12.63 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000206/0.2254, allocations: 96 kB / 438.9 MB, free: 12.54 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.208e-05/0.2255, allocations: 66 kB / 439 MB, free: 12.47 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004662/0.2302, allocations: 2.886 MB / 441.9 MB, free: 9.582 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01361/0.2438, allocations: 9.316 MB / 451.2 MB, free: 15.93 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00449/0.2483, allocations: 4.381 MB / 455.6 MB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001185/0.2495, allocations: 0.8301 MB / 456.4 MB, free: 10.09 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003913/0.2534, allocations: 3.158 MB / 459.6 MB, free: 6.672 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.631e-05/0.2535, allocations: 50.67 kB / 459.6 MB, free: 6.613 MB / 330.7 MB Notification: Performance of pre-optimization done (n=92): time 2.284e-06/0.2535, allocations: 0 / 459.6 MB, free: 6.613 MB / 330.7 MB Notification: Performance of matching and sorting (n=100): time 0.007356/0.2609, allocations: 4.249 MB / 463.9 MB, free: 2.266 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.546e-05/0.2609, allocations: 111.2 kB / 464 MB, free: 2.133 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001991/0.2629, allocations: 1.588 MB / 465.6 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.129e-05/0.263, allocations: 45.7 kB / 465.6 MB, free: 488 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007064/0.2637, allocations: 1.106 MB / 466.7 MB, free: 15.36 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002518/0.264, allocations: 354.9 kB / 467.1 MB, free: 15 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.787e-05/0.2641, allocations: 28 kB / 467.1 MB, free: 14.98 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.2642, allocations: 357.9 kB / 467.4 MB, free: 14.62 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001024/0.2652, allocations: 0.6504 MB / 468.1 MB, free: 13.97 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001242/0.2665, allocations: 1.019 MB / 469.1 MB, free: 12.79 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002327/0.2688, allocations: 1.743 MB / 470.9 MB, free: 10.89 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/0.2688, allocations: 4 kB / 470.9 MB, free: 10.89 MB / 346.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003089/0.2719, allocations: 1.965 MB / 472.8 MB, free: 8.906 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.272, allocations: 8 kB / 472.8 MB, free: 8.898 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/0.272, allocations: 15.94 kB / 472.9 MB, free: 8.883 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003364/0.2723, allocations: 125.6 kB / 473 MB, free: 8.754 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/0.2736, allocations: 343.7 kB / 473.3 MB, free: 8.418 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002741/0.2763, allocations: 3.182 MB / 476.5 MB, free: 4.965 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008855/0.2772, allocations: 107.6 kB / 476.6 MB, free: 4.859 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.343e-05/0.2773, allocations: 59.98 kB / 476.7 MB, free: 4.801 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (155): * Single equations (assignments): 153 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001244/0.2786, allocations: 0.825 MB / 477.5 MB, free: 3.965 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002374/0.2788, allocations: 146.2 kB / 477.6 MB, free: 3.82 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002484/0.2813, allocations: 1.418 MB / 479 MB, free: 2.387 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.268e-06/0.2813, allocations: 8 kB / 479 MB, free: 2.379 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.2813, allocations: 8 kB / 479.1 MB, free: 2.371 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.818e-05/0.2814, allocations: 7.969 kB / 479.1 MB, free: 2.363 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004027/0.2854, allocations: 2.458 MB / 481.5 MB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.2854, allocations: 4.031 kB / 481.5 MB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001032/0.2865, allocations: 191.8 kB / 481.7 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007844/0.2873, allocations: 264.8 kB / 482 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.61e-05/0.2874, allocations: 39.97 kB / 482 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005794/0.2932, allocations: 5.78 MB / 487.8 MB, free: 9.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.2932, allocations: 240 / 487.8 MB, free: 9.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003854/0.2971, allocations: 2.592 MB / 490.4 MB, free: 6.535 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003659/0.2974, allocations: 251.2 kB / 490.6 MB, free: 6.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001689/0.2976, allocations: 27.98 kB / 490.7 MB, free: 6.242 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008142/0.2984, allocations: 107.9 kB / 490.8 MB, free: 6.137 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002123/0.2987, allocations: 96.23 kB / 490.9 MB, free: 6.043 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.799e-05/0.2987, allocations: 27.98 kB / 490.9 MB, free: 6.016 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001476/0.3002, allocations: 1.107 MB / 492 MB, free: 4.906 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3002, allocations: 0 / 492 MB, free: 4.906 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001359/0.3016, allocations: 448 kB / 492.4 MB, free: 4.469 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (inductor_e.inductor[1].i,inductor_e.inductor[2].i,inductor_e.inductor[3].i,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im,converter_s[1].Phi.re,converter_s[2].Phi.im,converter_s[3].Phi.im) * 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 (76): * Single equations (assignments): 73 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 16,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002982/0.3019, allocations: 168.6 kB / 492.6 MB, free: 4.297 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002729/0.3046, allocations: 1.737 MB / 494.3 MB, free: 2.527 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.3047, allocations: 0 / 494.3 MB, free: 2.527 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001779/0.3064, allocations: 1.192 MB / 495.5 MB, free: 1.301 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001507/0.308, allocations: 275.3 kB / 495.8 MB, free: 1.031 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006951/0.3149, allocations: 5.52 MB / 0.4896 GB, free: 11.45 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001559/0.3165, allocations: 2.038 MB / 0.4916 GB, free: 9.383 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004043/0.3169, allocations: 111.4 kB / 0.4917 GB, free: 9.273 MB / 378.7 MB Notification: Performance of SimCode: time 6.62e-07/0.3169, allocations: 4 kB / 0.4917 GB, free: 9.27 MB / 378.7 MB Notification: Performance of Templates: time 0.1874/0.5043, allocations: 56.22 MB / 0.5466 GB, free: 53.38 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile (rm -f Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","../files/Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches