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.0009119/0.0009119, allocations: 95.58 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009608/0.0009608, allocations: 205.6 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.421/1.421, allocations: 227.7 MB / 246.8 MB, free: 11.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002224/0.0002223, allocations: 8 kB / 307.7 MB, free: 0.8203 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09446/0.0947, allocations: 51.53 MB / 359.3 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.009314/0.104, allocations: 9.25 MB / 368.5 MB, free: 3.996 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007109/0.1112, allocations: 3.35 MB / 371.9 MB, free: 0.6367 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00188/0.1131, allocations: 67.81 kB / 371.9 MB, free: 0.5703 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1777/0.2909, allocations: 0.6894 MB / 372.6 MB, free: 8.945 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004795/0.2957, allocations: 1.363 MB / 374 MB, free: 8.922 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002454/0.2982, allocations: 0.9885 MB / 375 MB, free: 8.895 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0112/0.3094, allocations: 9.21 MB / 384.2 MB, free: 7.301 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02853/0.338, allocations: 18.98 MB / 403.2 MB, free: 12.51 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006414/0.3444, allocations: 3.588 MB / 406.8 MB, free: 9.316 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007984/0.3524, allocations: 4.717 MB / 411.5 MB, free: 4.785 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001528/0.354, allocations: 0.5859 MB / 412.1 MB, free: 4.199 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002989/0.357, allocations: 0.8336 MB / 412.9 MB, free: 3.371 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001693/0.3587, allocations: 1.891 MB / 414.8 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005924/0.3646, allocations: 4.332 MB / 419.1 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0152/0.3799, allocations: 17.74 MB / 436.9 MB, free: 11.76 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3799, allocations: 0 / 436.9 MB, free: 11.76 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.3799, allocations: 3.938 kB / 436.9 MB, free: 11.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0004304/0.3803, allocations: 0 / 436.9 MB, free: 11.75 MB / 350.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.02881/0.4092, allocations: 10.77 MB / 447.6 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.4092, allocations: 8.031 kB / 447.6 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05953/0.4688, allocations: 8.544 MB / 456.2 MB, free: 8.504 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01808/0.4869, allocations: 5.939 MB / 462.1 MB, free: 2.523 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00111/0.4881, allocations: 0.6634 MB / 462.8 MB, free: 1.867 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005475/0.4936, allocations: 0.8739 MB / 463.7 MB, free: 1 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05519/0.5488, allocations: 15.98 MB / 479.6 MB, free: 1.008 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005178/0.5493, allocations: 11.91 kB / 479.6 MB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005168/0.5545, allocations: 372.8 kB / 480 MB, free: 0.6406 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009106/0.5555, allocations: 0.5583 MB / 480.6 MB, free: 80 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03864/0.5942, allocations: 15.72 MB / 496.3 MB, free: 344 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.459/1.053, allocations: 49.27 MB / 0.5328 GB, free: 115.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01896/1.072, allocations: 19.29 MB / 0.5516 GB, free: 102 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005534/1.078, allocations: 3.585 MB / 0.5551 GB, free: 102 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004457/1.078, allocations: 263.3 kB / 0.5554 GB, free: 101.8 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.109e-05/1.078, allocations: 88.06 kB / 0.5554 GB, free: 101.7 MB / 446.1 MB Notification: Performance of pre-optimization done (n=468): time 6.342e-06/1.078, allocations: 1.375 kB / 0.5554 GB, free: 101.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=468): time 0.02113/1.099, allocations: 11.59 MB / 0.5668 GB, free: 98.79 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.862e-05/1.1, allocations: 123 kB / 0.5669 GB, free: 98.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006074/1.106, allocations: 3.846 MB / 0.5706 GB, free: 97.41 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008203/1.107, allocations: 101.5 kB / 0.5707 GB, free: 97.32 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002056/1.109, allocations: 3.894 MB / 0.5745 GB, free: 94.47 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001432/1.11, allocations: 1.608 MB / 0.5761 GB, free: 93.24 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006805/1.111, allocations: 0.5735 MB / 0.5767 GB, free: 92.98 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.149e-05/1.111, allocations: 305.1 kB / 0.577 GB, free: 92.68 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004391/1.115, allocations: 3.69 MB / 0.5806 GB, free: 91.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005474/1.121, allocations: 6.524 MB / 0.5869 GB, free: 86.42 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009936/1.131, allocations: 10.83 MB / 0.5975 GB, free: 79.28 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-05/1.131, allocations: 23.44 kB / 0.5975 GB, free: 79.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01719/1.148, allocations: 11.94 MB / 0.6092 GB, free: 69.77 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.188e-05/1.148, allocations: 48.06 kB / 0.6092 GB, free: 69.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001245/1.148, allocations: 92 kB / 0.6093 GB, free: 69.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004386/1.153, allocations: 1.609 MB / 0.6109 GB, free: 68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005477/1.158, allocations: 1.666 MB / 0.6125 GB, free: 66.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01589/1.174, allocations: 16.23 MB / 0.6284 GB, free: 49.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006343/1.18, allocations: 0.9522 MB / 0.6293 GB, free: 48.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001565/1.182, allocations: 356 kB / 0.6296 GB, free: 48 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 (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(8,30,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007328/1.189, allocations: 3.758 MB / 0.6333 GB, free: 44.23 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001187/1.19, allocations: 387.1 kB / 0.6337 GB, free: 43.85 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0133/1.204, allocations: 8.572 MB / 0.642 GB, free: 35.19 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.939e-05/1.204, allocations: 48 kB / 0.6421 GB, free: 35.14 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.474e-05/1.204, allocations: 12 kB / 0.6421 GB, free: 35.13 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.814e-05/1.204, allocations: 27.89 kB / 0.6421 GB, free: 35.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02889/1.233, allocations: 16.93 MB / 0.6587 GB, free: 18.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.036e-05/1.233, allocations: 7.938 kB / 0.6587 GB, free: 18.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003192/1.236, allocations: 0.8581 MB / 0.6595 GB, free: 17.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004315/1.24, allocations: 1.509 MB / 0.661 GB, free: 15.72 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006084/1.241, allocations: 104 kB / 0.6611 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01598/1.257, allocations: 16.02 MB / 0.6767 GB, free: 14.81 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/1.257, allocations: 0 / 0.6767 GB, free: 14.81 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02376/1.281, allocations: 12.22 MB / 0.6887 GB, free: 2.375 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003354/1.284, allocations: 1.112 MB / 0.6897 GB, free: 1.238 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001591/1.286, allocations: 88 kB / 0.6898 GB, free: 1.152 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00372/1.29, allocations: 311.8 kB / 0.6901 GB, free: 0.8477 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001367/1.291, allocations: 319.5 kB / 0.6904 GB, free: 0.5312 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007617/1.292, allocations: 136 kB / 0.6906 GB, free: 408 kB / 462.1 MB Notification: Performance of sorting global known variables: time 0.006575/1.298, allocations: 2.568 MB / 0.6931 GB, free: 13.84 MB / 478.1 MB Notification: Performance of sort global known variables: time 6.91e-07/1.298, allocations: 4 kB / 0.6931 GB, free: 13.83 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.01122/1.31, allocations: 2.381 MB / 0.6954 GB, free: 11.45 MB / 478.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 (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(8,30,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001666/1.311, allocations: 275.7 kB / 0.6957 GB, free: 11.18 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01965/1.331, allocations: 9.355 MB / 0.7048 GB, free: 1.711 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.298e-05/1.331, allocations: 4 kB / 0.7048 GB, free: 1.707 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.2468/1.578, allocations: 4.467 MB / 0.7092 GB, free: 144 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005967/1.584, allocations: 0.7052 MB / 0.7098 GB, free: 144 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03222/1.616, allocations: 20.81 MB / 0.7302 GB, free: 135.7 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006891/1.623, allocations: 6.049 MB / 0.7361 GB, free: 133.4 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.007873/1.631, allocations: 3.253 MB / 0.7392 GB, free: 133.1 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001276/1.632, allocations: 375.5 kB / 0.7396 GB, free: 133.1 MB / 478.1 MB Notification: Performance of SimCode: time 1.212e-06/1.632, allocations: 0 / 0.7396 GB, free: 133.1 MB / 478.1 MB Notification: Performance of Templates: time 0.09759/1.73, allocations: 64.48 MB / 0.8026 GB, free: 80.86 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches