Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 113.6 kB / 16.51 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 199.9 kB / 17.43 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.29/1.29, allocations: 222.9 MB / 241.1 MB, free: 15.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00178/0.00178, allocations: 46.72 kB / 300 MB, free: 6.301 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1338, allocations: 49.45 MB / 349.4 MB, free: 4.844 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.0172/0.151, allocations: 9.865 MB / 359.3 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009067/0.1601, allocations: 3.315 MB / 362.6 MB, free: 7.598 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001941/0.1621, allocations: 71.81 kB / 362.7 MB, free: 7.527 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009421/0.1716, allocations: 3.631 MB / 366.3 MB, free: 3.891 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003727/0.1753, allocations: 1.408 MB / 367.7 MB, free: 2.48 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002178/0.1775, allocations: 0.9996 MB / 368.7 MB, free: 1.484 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1497/0.3273, allocations: 9.059 MB / 377.8 MB, free: 9.184 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01959/0.3469, allocations: 17.29 MB / 395 MB, free: 2.082 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01159/0.3585, allocations: 5.064 MB / 400.1 MB, free: 15.83 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007971/0.3665, allocations: 5.933 MB / 406 MB, free: 10.13 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00178/0.3683, allocations: 1.027 MB / 407.1 MB, free: 9.102 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003076/0.3714, allocations: 1.258 MB / 408.3 MB, free: 7.875 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002117/0.3735, allocations: 2.523 MB / 410.9 MB, free: 5.41 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006807/0.3803, allocations: 5.047 MB / 415.9 MB, free: 416 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01432/0.3947, allocations: 18.47 MB / 434.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.3947, allocations: 4 kB / 434.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3947, allocations: 0 / 434.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0003084/0.395, allocations: 0 / 434.4 MB, free: 14.29 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.03341/0.4284, allocations: 12.3 MB / 446.7 MB, free: 2.004 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.4285, allocations: 16.02 kB / 446.7 MB, free: 1.988 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04629/0.4748, allocations: 8.464 MB / 455.2 MB, free: 9.621 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01174/0.4866, allocations: 5.748 MB / 460.9 MB, free: 3.898 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006704/0.4873, allocations: 0.6703 MB / 461.6 MB, free: 3.234 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003375/0.4907, allocations: 0.8652 MB / 462.4 MB, free: 2.375 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03411/0.5248, allocations: 15.97 MB / 478.4 MB, free: 2.383 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001893/0.525, allocations: 15.89 kB / 478.4 MB, free: 2.367 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001201/0.5262, allocations: 368.3 kB / 478.8 MB, free: 2.016 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004732/0.5267, allocations: 0.5544 MB / 479.3 MB, free: 1.457 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02717/0.5539, allocations: 15.72 MB / 495.1 MB, free: 1.715 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07633/0.6303, allocations: 48.25 MB / 0.5306 GB, free: 0.5664 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3131/0.9434, allocations: 19.33 MB / 0.5495 GB, free: 118.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00519/0.9486, allocations: 3.585 MB / 0.553 GB, free: 117.1 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003947/0.949, allocations: 178.8 kB / 0.5531 GB, free: 117 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.664e-05/0.9491, allocations: 84.44 kB / 0.5532 GB, free: 116.9 MB / 446.1 MB Notification: Performance of pre-optimization done (n=468): time 6.342e-06/0.9491, allocations: 3.828 kB / 0.5532 GB, free: 116.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=468): time 0.02014/0.9692, allocations: 11.52 MB / 0.5645 GB, free: 113.1 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.006e-05/0.9693, allocations: 125.5 kB / 0.5646 GB, free: 113 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004499/0.9738, allocations: 3.846 MB / 0.5683 GB, free: 111.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000401/0.9742, allocations: 101.5 kB / 0.5684 GB, free: 111.6 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001527/0.9758, allocations: 3.894 MB / 0.5722 GB, free: 108.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008959/0.9767, allocations: 1.602 MB / 0.5738 GB, free: 107.6 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001686/0.9784, allocations: 1.471 MB / 0.5752 GB, free: 106.9 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.439e-05/0.9784, allocations: 305.1 kB / 0.5755 GB, free: 106.6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004161/0.9826, allocations: 3.693 MB / 0.5791 GB, free: 105.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004985/0.9876, allocations: 6.522 MB / 0.5855 GB, free: 100.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009383/0.997, allocations: 10.82 MB / 0.5961 GB, free: 90.36 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.072e-05/0.997, allocations: 24 kB / 0.5961 GB, free: 90.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01594/1.013, allocations: 11.95 MB / 0.6078 GB, free: 78.42 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.813e-05/1.013, allocations: 44 kB / 0.6078 GB, free: 78.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001158/1.013, allocations: 96 kB / 0.6079 GB, free: 78.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004549/1.018, allocations: 1.611 MB / 0.6095 GB, free: 76.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005155/1.023, allocations: 1.661 MB / 0.6111 GB, free: 74.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01436/1.037, allocations: 16.1 MB / 0.6268 GB, free: 58.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004984/1.042, allocations: 0.9484 MB / 0.6277 GB, free: 57.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001133/1.043, allocations: 360 kB / 0.6281 GB, free: 56.79 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.005388/1.049, allocations: 3.765 MB / 0.6318 GB, free: 53.01 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000852/1.05, allocations: 387.1 kB / 0.6321 GB, free: 52.63 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01338/1.063, allocations: 8.573 MB / 0.6405 GB, free: 43.97 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-05/1.063, allocations: 48 kB / 0.6405 GB, free: 43.93 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.943e-05/1.063, allocations: 12 kB / 0.6406 GB, free: 43.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-05/1.063, allocations: 23.91 kB / 0.6406 GB, free: 43.89 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0258/1.089, allocations: 16.93 MB / 0.6571 GB, free: 26.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.691e-05/1.089, allocations: 3.984 kB / 0.6571 GB, free: 26.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003138/1.092, allocations: 0.8621 MB / 0.658 GB, free: 26.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004237/1.097, allocations: 1.511 MB / 0.6594 GB, free: 24.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004363/1.097, allocations: 104 kB / 0.6595 GB, free: 24.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01429/1.111, allocations: 15.87 MB / 0.675 GB, free: 7.734 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/1.111, allocations: 7.938 kB / 0.675 GB, free: 7.727 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01837/1.13, allocations: 12.22 MB / 0.687 GB, free: 11.29 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002696/1.132, allocations: 1.103 MB / 0.688 GB, free: 10.17 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001138/1.134, allocations: 84 kB / 0.6881 GB, free: 10.09 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002905/1.136, allocations: 311.7 kB / 0.6884 GB, free: 9.781 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009722/1.137, allocations: 315.6 kB / 0.6887 GB, free: 9.469 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004962/1.138, allocations: 136 kB / 0.6889 GB, free: 9.336 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00453/1.143, allocations: 2.582 MB / 0.6914 GB, free: 6.758 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.51e-07/1.143, allocations: 0 / 0.6914 GB, free: 6.758 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00774/1.15, allocations: 2.37 MB / 0.6937 GB, free: 4.379 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 (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.000824/1.151, allocations: 275.8 kB / 0.6939 GB, free: 4.105 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.1815/1.333, allocations: 9.343 MB / 0.7031 GB, free: 135.8 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.176e-05/1.333, allocations: 1.375 kB / 0.7031 GB, free: 135.8 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007328/1.34, allocations: 4.469 MB / 0.7074 GB, free: 135 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003786/1.344, allocations: 0.7041 MB / 0.7081 GB, free: 134.8 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02965/1.373, allocations: 20.76 MB / 0.7284 GB, free: 124.3 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007507/1.381, allocations: 6.045 MB / 0.7343 GB, free: 122 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.008613/1.39, allocations: 3.257 MB / 0.7375 GB, free: 121.7 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00214/1.392, allocations: 374 kB / 0.7378 GB, free: 121.7 MB / 462.1 MB Notification: Performance of SimCode: time 9.12e-07/1.392, allocations: 0 / 0.7378 GB, free: 121.7 MB / 462.1 MB Notification: Performance of Templates: time 0.09274/1.485, allocations: 65.75 MB / 0.802 GB, free: 62.58 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches