Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008383/0.0008384, allocations: 94.72 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009058/0.0009058, allocations: 205.6 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 227.2 MB / 245.9 MB, free: 12.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002046/0.0002046, allocations: 8 kB / 306.6 MB, free: 1.645 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09317/0.09339, allocations: 51.49 MB / 358.1 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.007881/0.1013, allocations: 7.986 MB / 366.1 MB, free: 6.129 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005767/0.1071, allocations: 3.184 MB / 369.2 MB, free: 2.938 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001107/0.1082, allocations: 59.81 kB / 369.3 MB, free: 2.879 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001711/0.11, allocations: 0.5674 MB / 369.9 MB, free: 2.309 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003344/0.1133, allocations: 1.196 MB / 371.1 MB, free: 1.113 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001935/0.1153, allocations: 0.8495 MB / 371.9 MB, free: 272 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1921/0.3074, allocations: 12.3 MB / 384.2 MB, free: 8.637 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02579/0.3332, allocations: 15.22 MB / 399.4 MB, free: 2.754 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0053/0.3385, allocations: 3.298 MB / 402.7 MB, free: 4 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006274/0.3448, allocations: 4.107 MB / 406.8 MB, free: 12.07 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00172/0.3466, allocations: 0.5846 MB / 407.4 MB, free: 11.48 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003466/0.3501, allocations: 0.7884 MB / 408.2 MB, free: 10.7 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002208/0.3523, allocations: 1.807 MB / 410 MB, free: 8.891 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003231/0.3555, allocations: 1.779 MB / 411.8 MB, free: 7.102 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01468/0.3702, allocations: 15.83 MB / 427.6 MB, free: 7.25 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.3703, allocations: 0.9844 kB / 427.6 MB, free: 7.25 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.3703, allocations: 0 / 427.6 MB, free: 7.25 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0004273/0.3707, allocations: 4 kB / 427.6 MB, free: 7.246 MB / 334.1 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.02765/0.3984, allocations: 10.8 MB / 438.4 MB, free: 12.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.3984, allocations: 15.97 kB / 438.4 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04792/0.4463, allocations: 8.584 MB / 447 MB, free: 3.805 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01475/0.4611, allocations: 5.864 MB / 452.9 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006055/0.4618, allocations: 0.6622 MB / 453.6 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003327/0.4651, allocations: 0.8709 MB / 454.4 MB, free: 12.36 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03264/0.4977, allocations: 15.83 MB / 470.3 MB, free: 12.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002213/0.498, allocations: 7.906 kB / 470.3 MB, free: 12.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001522/0.4995, allocations: 372 kB / 470.6 MB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004892/0.5, allocations: 0.5582 MB / 471.2 MB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02795/0.528, allocations: 15.64 MB / 486.8 MB, free: 11.88 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07301/0.601, allocations: 49.23 MB / 0.5235 GB, free: 9.238 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3394/0.9404, allocations: 19.27 MB / 0.5423 GB, free: 111.9 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000643/0.9411, allocations: 267 kB / 0.5426 GB, free: 111.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.757e-05/0.9412, allocations: 86.72 kB / 0.5427 GB, free: 111.6 MB / 446.1 MB Notification: Performance of pre-optimization done (n=468): time 6.533e-06/0.9412, allocations: 0 / 0.5427 GB, free: 111.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=468): time 0.02438/0.9656, allocations: 11.49 MB / 0.5539 GB, free: 108.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.685e-05/0.9657, allocations: 130.3 kB / 0.554 GB, free: 108.1 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005967/0.9717, allocations: 3.811 MB / 0.5577 GB, free: 106.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006391/0.9724, allocations: 101.5 kB / 0.5578 GB, free: 106.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001539/0.9739, allocations: 3.897 MB / 0.5616 GB, free: 103.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00116/0.9751, allocations: 1.608 MB / 0.5632 GB, free: 102.6 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003223/0.9754, allocations: 147.6 kB / 0.5633 GB, free: 102.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002941/0.9757, allocations: 0.6162 MB / 0.5639 GB, free: 102.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004678/0.9804, allocations: 3.654 MB / 0.5675 GB, free: 100.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00569/0.9861, allocations: 6.465 MB / 0.5738 GB, free: 95.86 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006071/0.9922, allocations: 5.198 MB / 0.5789 GB, free: 93.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.559e-05/0.9923, allocations: 26.34 kB / 0.5789 GB, free: 93.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01936/1.012, allocations: 11.88 MB / 0.5905 GB, free: 88.35 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.981e-05/1.012, allocations: 44 kB / 0.5906 GB, free: 88.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001597/1.012, allocations: 92.31 kB / 0.5907 GB, free: 88.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004589/1.017, allocations: 1.628 MB / 0.5922 GB, free: 86.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005986/1.023, allocations: 1.661 MB / 0.5939 GB, free: 85.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01495/1.038, allocations: 16.54 MB / 0.61 GB, free: 67.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005685/1.043, allocations: 0.9485 MB / 0.6109 GB, free: 66.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001023/1.044, allocations: 356 kB / 0.6113 GB, free: 66.59 MB / 446.1 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.005947/1.05, allocations: 3.755 MB / 0.615 GB, free: 62.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006618/1.051, allocations: 395 kB / 0.6153 GB, free: 62.43 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01235/1.063, allocations: 8.553 MB / 0.6237 GB, free: 53.79 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.08e-05/1.063, allocations: 48 kB / 0.6237 GB, free: 53.74 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.977e-05/1.063, allocations: 12 kB / 0.6237 GB, free: 53.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-05/1.063, allocations: 23.91 kB / 0.6238 GB, free: 53.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02401/1.087, allocations: 16.9 MB / 0.6403 GB, free: 36.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-05/1.087, allocations: 4 kB / 0.6403 GB, free: 36.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003122/1.091, allocations: 0.8581 MB / 0.6411 GB, free: 35.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004105/1.095, allocations: 1.516 MB / 0.6426 GB, free: 34.35 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004109/1.095, allocations: 104 kB / 0.6427 GB, free: 34.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01454/1.11, allocations: 16.35 MB / 0.6586 GB, free: 17.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/1.11, allocations: 4 kB / 0.6587 GB, free: 17.09 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.018/1.128, allocations: 12.37 MB / 0.6707 GB, free: 4.445 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002947/1.131, allocations: 1.116 MB / 0.6718 GB, free: 3.305 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007869/1.132, allocations: 88.06 kB / 0.6719 GB, free: 3.219 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002332/1.134, allocations: 303.6 kB / 0.6722 GB, free: 2.922 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006021/1.134, allocations: 323.5 kB / 0.6725 GB, free: 2.602 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002545/1.135, allocations: 137.6 kB / 0.6726 GB, free: 2.469 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003251/1.138, allocations: 2.547 MB / 0.6751 GB, free: 15.93 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/1.138, allocations: 0 / 0.6751 GB, free: 15.93 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.007395/1.145, allocations: 2.38 MB / 0.6774 GB, free: 13.54 MB / 462.1 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.000825/1.146, allocations: 272.1 kB / 0.6777 GB, free: 13.27 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01517/1.161, allocations: 9.303 MB / 0.6868 GB, free: 3.859 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.194e-05/1.161, allocations: 0 / 0.6868 GB, free: 3.859 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007641/1.169, allocations: 4.462 MB / 0.6911 GB, free: 15.32 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003487/1.173, allocations: 0.6356 MB / 0.6918 GB, free: 14.7 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2244/1.397, allocations: 19.93 MB / 0.7112 GB, free: 144.7 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01034/1.407, allocations: 6.187 MB / 0.7173 GB, free: 143.9 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.009674/1.417, allocations: 3.257 MB / 0.7205 GB, free: 143.8 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001333/1.418, allocations: 374 kB / 0.7208 GB, free: 143.8 MB / 478.1 MB Notification: Performance of SimCode: time 1.332e-06/1.418, allocations: 1.531 kB / 0.7208 GB, free: 143.8 MB / 478.1 MB Notification: Performance of Templates: time 0.0976/1.516, allocations: 63.1 MB / 0.7824 GB, free: 98.94 MB / 478.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches