Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.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: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Magnetic_FundamentalWave_Examples_Components_MultiPhaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Magnetic_FundamentalWave_Examples_Components_MultiPhaseInductance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008261/0.0008262, allocations: 175 kB / 16.72 MB, free: 5.082 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.179/1.179, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0007115/0.0007114, allocations: 95.8 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002761/0.0002762, allocations: 8 kB / 327.6 MB, free: 15.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1932/0.1934, allocations: 47.57 MB / 375.2 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.003685/0.1972, allocations: 3.968 MB / 379.2 MB, free: 42.32 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00261/0.1998, allocations: 1.618 MB / 380.8 MB, free: 41 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003166/0.2002, allocations: 17.69 kB / 380.8 MB, free: 41 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000486/0.2007, allocations: 196.7 kB / 381 MB, free: 40.85 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001126/0.2018, allocations: 0.5885 MB / 381.6 MB, free: 40.4 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003678/0.2022, allocations: 171.5 kB / 381.7 MB, free: 40.27 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0017/0.2039, allocations: 1.968 MB / 383.7 MB, free: 39.13 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001036/0.2049, allocations: 1.056 MB / 384.8 MB, free: 38.6 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007633/0.2057, allocations: 0.5885 MB / 385.4 MB, free: 38.29 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007823/0.2065, allocations: 0.828 MB / 386.2 MB, free: 37.64 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001204/0.2066, allocations: 84 kB / 386.3 MB, free: 37.56 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004511/0.2071, allocations: 203.9 kB / 386.5 MB, free: 37.36 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002462/0.2073, allocations: 418.5 kB / 386.9 MB, free: 36.95 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005497/0.2079, allocations: 0.7559 MB / 387.6 MB, free: 36.18 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001133/0.209, allocations: 2.023 MB / 389.7 MB, free: 34.16 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.2091, allocations: 0 / 389.7 MB, free: 34.16 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2091, allocations: 0 / 389.7 MB, free: 34.16 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.441e-05/0.2091, allocations: 0 / 389.7 MB, free: 34.16 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: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.003245/0.2123, allocations: 1.914 MB / 391.6 MB, free: 32.19 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.2124, allocations: 12.03 kB / 391.6 MB, free: 32.18 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000202/0.2126, allocations: 202.8 kB / 391.8 MB, free: 31.97 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001465/0.2141, allocations: 374.6 kB / 392.1 MB, free: 31.6 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001233/0.2153, allocations: 1.032 MB / 393.2 MB, free: 30.53 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.939e-05/0.2154, allocations: 103 kB / 393.3 MB, free: 30.43 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001569/0.2155, allocations: 135.9 kB / 393.4 MB, free: 30.29 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00239/0.2179, allocations: 1.886 MB / 395.3 MB, free: 28.38 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.443e-05/0.218, allocations: 4 kB / 395.3 MB, free: 28.38 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001094/0.2181, allocations: 56 kB / 395.4 MB, free: 28.32 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.765e-05/0.2182, allocations: 42 kB / 395.4 MB, free: 28.28 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002126/0.2203, allocations: 1.703 MB / 397.1 MB, free: 26.58 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00662/0.2269, allocations: 5.634 MB / 402.7 MB, free: 20.72 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002149/0.2291, allocations: 2.919 MB / 405.7 MB, free: 17.35 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005779/0.2297, allocations: 0.507 MB / 406.2 MB, free: 16.84 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001732/0.2314, allocations: 1.539 MB / 407.7 MB, free: 15.23 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/0.2315, allocations: 42.69 kB / 407.7 MB, free: 15.18 MB / 298.7 MB Notification: Performance of pre-optimization done (n=53): time 3.106e-06/0.2315, allocations: 3.938 kB / 407.7 MB, free: 15.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=53): time 0.002674/0.2342, allocations: 1.448 MB / 409.2 MB, free: 13.7 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.475e-05/0.2342, allocations: 89.05 kB / 409.3 MB, free: 13.6 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009605/0.2352, allocations: 1.028 MB / 410.3 MB, free: 12.56 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.581e-05/0.2352, allocations: 37.7 kB / 410.3 MB, free: 12.52 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002675/0.2355, allocations: 0.6774 MB / 411 MB, free: 11.83 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.121e-05/0.2356, allocations: 185.3 kB / 411.2 MB, free: 11.64 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.496e-05/0.2356, allocations: 12 kB / 411.2 MB, free: 11.63 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.394e-05/0.2357, allocations: 337.9 kB / 411.5 MB, free: 11.3 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000471/0.2362, allocations: 377 kB / 411.9 MB, free: 10.93 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005261/0.2367, allocations: 0.521 MB / 412.4 MB, free: 10.34 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009941/0.2377, allocations: 0.8907 MB / 413.3 MB, free: 9.383 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.2377, allocations: 0 / 413.3 MB, free: 9.383 MB / 298.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001331/0.2391, allocations: 1.021 MB / 414.3 MB, free: 8.355 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.2391, allocations: 12.36 kB / 414.4 MB, free: 8.344 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/0.2391, allocations: 12.22 kB / 414.4 MB, free: 8.332 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.2391, allocations: 8 kB / 414.4 MB, free: 8.324 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006702/0.2398, allocations: 187.7 kB / 414.6 MB, free: 8.141 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/0.2398, allocations: 11.94 kB / 414.6 MB, free: 8.129 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004985/0.2403, allocations: 99.23 kB / 414.7 MB, free: 8.031 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.374e-05/0.2404, allocations: 27.98 kB / 414.7 MB, free: 8.004 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (82): * Single equations (assignments): 82 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006348/0.241, allocations: 0.5255 MB / 415.2 MB, free: 7.469 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/0.2412, allocations: 86.97 kB / 415.3 MB, free: 7.383 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001064/0.2422, allocations: 0.6902 MB / 416 MB, free: 6.676 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/0.2423, allocations: 8 kB / 416 MB, free: 6.668 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/0.2423, allocations: 3.938 kB / 416 MB, free: 6.664 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.2423, allocations: 7.984 kB / 416 MB, free: 6.656 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001989/0.2443, allocations: 1.672 MB / 417.7 MB, free: 4.918 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.411e-06/0.2443, allocations: 11.94 kB / 417.7 MB, free: 4.906 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004269/0.2447, allocations: 107.9 kB / 417.8 MB, free: 4.801 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003891/0.2451, allocations: 140.7 kB / 417.9 MB, free: 4.66 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.275e-05/0.2452, allocations: 23.98 kB / 418 MB, free: 4.637 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002212/0.2474, allocations: 2.61 MB / 420.6 MB, free: 1.895 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.2474, allocations: 4.031 kB / 420.6 MB, free: 1.891 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001824/0.2493, allocations: 1.507 MB / 422.1 MB, free: 360 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001942/0.2495, allocations: 191.9 kB / 422.3 MB, free: 148 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.331e-05/0.2496, allocations: 12 kB / 422.3 MB, free: 136 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000493/0.2501, allocations: 79.86 kB / 422.4 MB, free: 56 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001515/0.2502, allocations: 47.86 kB / 422.4 MB, free: 8 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.357e-05/0.2503, allocations: 16.05 kB / 422.4 MB, free: 15.99 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0009169/0.2512, allocations: 0.7292 MB / 423.2 MB, free: 15.27 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2512, allocations: 0 / 423.2 MB, free: 15.27 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000951/0.2522, allocations: 362.4 kB / 423.5 MB, free: 14.91 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (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) * 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 (37): * Single equations (assignments): 36 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002544/0.2547, allocations: 2.081 MB / 425.6 MB, free: 12.79 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001285/0.256, allocations: 0.7999 MB / 426.4 MB, free: 11.99 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.2561, allocations: 4 kB / 426.4 MB, free: 11.98 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001057/0.2571, allocations: 0.6026 MB / 427 MB, free: 11.37 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/0.2582, allocations: 171.1 kB / 427.2 MB, free: 11.21 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01037/0.2686, allocations: 7.948 MB / 435.1 MB, free: 3.004 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009461/0.2696, allocations: 1.465 MB / 436.6 MB, free: 1.512 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005921/0.2702, allocations: 487.3 kB / 437.1 MB, free: 1.035 MB / 314.7 MB Notification: Performance of SimCode: time 1.012e-06/0.2702, allocations: 0 / 437.1 MB, free: 1.035 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.517/3.787, allocations: 24.56 MB / 461.6 MB, free: 8.445 MB / 346.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Magnetic_FundamentalWave_Examples_Components_MultiPhaseInductance_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Magnetic_FundamentalWave_Examples_Components_MultiPhaseInductance.fmu > Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.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/FundamentalWave/Examples/Components/MultiPhaseInductance/MultiPhaseInductance.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches