Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.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.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000995/0.000995, allocations: 198.2 kB / 17.05 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.294/1.294, allocations: 226.6 MB / 244.3 MB, free: 8.203 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007162/0.0007162, allocations: 100.7 kB / 296.4 MB, free: 6.98 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002251/0.0002251, allocations: 7.938 kB / 356.2 MB, free: 11.18 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.187/0.1872, allocations: 51.29 MB / 407.5 MB, free: 27.83 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.005755/0.193, allocations: 8.581 MB / 416.1 MB, free: 19.21 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004234/0.1973, allocations: 3.113 MB / 419.2 MB, free: 16.11 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005805/0.1979, allocations: 63.81 kB / 419.3 MB, free: 16.04 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001082/0.199, allocations: 0.5206 MB / 419.8 MB, free: 15.52 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002086/0.2011, allocations: 1.268 MB / 421.1 MB, free: 14.25 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001324/0.2024, allocations: 0.8443 MB / 421.9 MB, free: 13.41 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0114/0.2138, allocations: 15.54 MB / 437.4 MB, free: 13.84 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02173/0.2356, allocations: 15.31 MB / 452.7 MB, free: 14.44 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004845/0.2404, allocations: 3.723 MB / 456.5 MB, free: 10.7 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006213/0.2467, allocations: 4.555 MB / 461 MB, free: 6.129 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001694/0.2484, allocations: 0.5781 MB / 461.6 MB, free: 5.551 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003061/0.2515, allocations: 0.8239 MB / 462.4 MB, free: 4.727 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002136/0.2536, allocations: 1.865 MB / 464.3 MB, free: 2.855 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002583/0.2562, allocations: 1.786 MB / 466.1 MB, free: 1.059 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01285/0.2691, allocations: 15.85 MB / 481.9 MB, free: 1.168 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.2691, allocations: 0 / 481.9 MB, free: 1.168 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.2691, allocations: 0 / 481.9 MB, free: 1.168 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003931/0.2695, allocations: 0 / 481.9 MB, free: 1.168 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.02476/0.2943, allocations: 10.86 MB / 492.8 MB, free: 6.227 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.2943, allocations: 8.031 kB / 492.8 MB, free: 6.219 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04651/0.3409, allocations: 8.545 MB / 0.4896 GB, free: 13.65 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01101/0.3519, allocations: 5.884 MB / 0.4953 GB, free: 7.703 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006153/0.3525, allocations: 0.6624 MB / 0.496 GB, free: 7.039 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002874/0.3554, allocations: 0.8709 MB / 0.4968 GB, free: 6.168 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3248/0.6802, allocations: 15.91 MB / 0.5124 GB, free: 70.93 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001816/0.6804, allocations: 3.938 kB / 0.5124 GB, free: 70.93 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001001/0.6814, allocations: 375 kB / 0.5127 GB, free: 70.64 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004037/0.6819, allocations: 0.5574 MB / 0.5133 GB, free: 70.59 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0247/0.7066, allocations: 15.64 MB / 0.5286 GB, free: 63.41 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06653/0.7731, allocations: 49.24 MB / 0.5766 GB, free: 13.39 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0157/0.7889, allocations: 19.26 MB / 0.5954 GB, free: 8 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004729/0.7936, allocations: 3.57 MB / 0.5989 GB, free: 4.434 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004377/0.7941, allocations: 260.9 kB / 0.5992 GB, free: 4.16 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.881e-05/0.7942, allocations: 83.42 kB / 0.5993 GB, free: 4.07 MB / 394.8 MB Notification: Performance of pre-optimization done (n=468): time 6.422e-06/0.7942, allocations: 0 / 0.5993 GB, free: 4.07 MB / 394.8 MB Notification: Performance of matching and sorting (n=468): time 0.02885/0.8231, allocations: 13.48 MB / 0.6124 GB, free: 6.449 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.447e-05/0.8232, allocations: 125.1 kB / 0.6125 GB, free: 6.309 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005897/0.8291, allocations: 3.819 MB / 0.6163 GB, free: 2.48 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000415/0.8295, allocations: 101.7 kB / 0.6164 GB, free: 2.375 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002425/0.8319, allocations: 3.892 MB / 0.6202 GB, free: 14.46 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001417/0.8334, allocations: 1.6 MB / 0.6217 GB, free: 12.88 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004903/0.8339, allocations: 152 kB / 0.6219 GB, free: 12.73 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0004318/0.8343, allocations: 0.6154 MB / 0.6225 GB, free: 12.11 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005401/0.8397, allocations: 3.652 MB / 0.626 GB, free: 8.457 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006912/0.8466, allocations: 6.5 MB / 0.6324 GB, free: 0.6602 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007193/0.8538, allocations: 5.196 MB / 0.6375 GB, free: 11.44 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.481e-05/0.8539, allocations: 28 kB / 0.6375 GB, free: 11.41 MB / 442.8 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01918/0.8731, allocations: 11.88 MB / 0.6491 GB, free: 15.46 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.899e-05/0.8733, allocations: 44 kB / 0.6491 GB, free: 15.42 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001613/0.8734, allocations: 96 kB / 0.6492 GB, free: 15.33 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004655/0.8781, allocations: 1.632 MB / 0.6508 GB, free: 13.67 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005584/0.8837, allocations: 1.661 MB / 0.6524 GB, free: 12.01 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01716/0.9009, allocations: 16.19 MB / 0.6682 GB, free: 11.02 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005415/0.9063, allocations: 0.9562 MB / 0.6692 GB, free: 10.05 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001087/0.9074, allocations: 360 kB / 0.6695 GB, free: 9.699 MB / 474.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.006275/0.9137, allocations: 3.75 MB / 0.6732 GB, free: 5.934 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008759/0.9146, allocations: 403 kB / 0.6736 GB, free: 5.535 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2256/1.14, allocations: 8.547 MB / 0.6819 GB, free: 150.9 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.949e-05/1.14, allocations: 47.12 kB / 0.682 GB, free: 150.9 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.517e-05/1.14, allocations: 11.78 kB / 0.682 GB, free: 150.9 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.407e-05/1.14, allocations: 22.88 kB / 0.682 GB, free: 150.9 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02574/1.166, allocations: 16.89 MB / 0.6985 GB, free: 145.6 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.685e-05/1.166, allocations: 2 kB / 0.6985 GB, free: 145.6 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003221/1.17, allocations: 0.8566 MB / 0.6993 GB, free: 145.5 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003866/1.173, allocations: 1.511 MB / 0.7008 GB, free: 145.2 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004061/1.174, allocations: 98.86 kB / 0.7009 GB, free: 145.2 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01383/1.188, allocations: 16 MB / 0.7165 GB, free: 134 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/1.188, allocations: 3.938 kB / 0.7165 GB, free: 134 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01624/1.204, allocations: 12.16 MB / 0.7284 GB, free: 126.8 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002973/1.207, allocations: 1.116 MB / 0.7295 GB, free: 125.6 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009531/1.208, allocations: 85.56 kB / 0.7296 GB, free: 125.5 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002694/1.211, allocations: 308.6 kB / 0.7299 GB, free: 125.2 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006665/1.211, allocations: 315.6 kB / 0.7302 GB, free: 124.9 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002662/1.212, allocations: 136.8 kB / 0.7303 GB, free: 124.8 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.00393/1.216, allocations: 2.554 MB / 0.7328 GB, free: 122.3 MB / 474.8 MB Notification: Performance of sort global known variables: time 2.81e-07/1.216, allocations: 0 / 0.7328 GB, free: 122.3 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.009272/1.225, allocations: 2.381 MB / 0.7351 GB, free: 119.9 MB / 474.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.001186/1.226, allocations: 266.1 kB / 0.7354 GB, free: 119.6 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.01397/1.24, allocations: 9.309 MB / 0.7445 GB, free: 110.2 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.469e-05/1.24, allocations: 3.938 kB / 0.7445 GB, free: 110.2 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006164/1.246, allocations: 4.466 MB / 0.7488 GB, free: 105.7 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003937/1.25, allocations: 0.7267 MB / 0.7495 GB, free: 105 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02847/1.279, allocations: 19.92 MB / 0.769 GB, free: 85.06 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004795/1.284, allocations: 5.931 MB / 0.7748 GB, free: 79.1 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002078/1.286, allocations: 427.3 kB / 0.7752 GB, free: 78.68 MB / 474.8 MB Notification: Performance of SimCode: time 1.042e-06/1.286, allocations: 3.938 kB / 0.7752 GB, free: 78.68 MB / 474.8 MB Notification: Performance of Templates: time 0.7803/2.066, allocations: 415.7 MB / 1.181 GB, free: 27.61 MB / 490.8 MB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile (rm -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","../files/Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches