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.0009672/0.0009672, allocations: 94.84 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001198/0.001198, allocations: 201.2 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.314/1.314, allocations: 227.7 MB / 247.5 MB, free: 11.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002458/0.0002459, allocations: 8 kB / 308.4 MB, free: 0.7578 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08839/0.08865, allocations: 51.52 MB / 359.9 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.009247/0.09793, allocations: 9.243 MB / 369.2 MB, free: 3.938 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0068/0.1048, allocations: 3.346 MB / 372.5 MB, free: 0.582 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001521/0.1063, allocations: 63.81 kB / 372.6 MB, free: 0.5195 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1997/0.3061, allocations: 0.6895 MB / 373.3 MB, free: 8.938 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005644/0.3118, allocations: 1.374 MB / 374.6 MB, free: 8.898 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003076/0.3149, allocations: 0.9866 MB / 375.6 MB, free: 8.875 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01232/0.3272, allocations: 9.2 MB / 384.8 MB, free: 7.25 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02742/0.3547, allocations: 19 MB / 403.8 MB, free: 12.45 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006805/0.3615, allocations: 3.58 MB / 407.4 MB, free: 9.234 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007846/0.3694, allocations: 4.721 MB / 412.1 MB, free: 4.699 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001392/0.3708, allocations: 0.582 MB / 412.7 MB, free: 4.117 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003115/0.3739, allocations: 0.8386 MB / 413.6 MB, free: 3.281 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002006/0.3759, allocations: 1.892 MB / 415.4 MB, free: 1.43 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00667/0.3826, allocations: 4.341 MB / 419.8 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01511/0.3978, allocations: 15.86 MB / 435.6 MB, free: 13.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.3978, allocations: 4 kB / 435.6 MB, free: 13.53 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.856e-06/0.3978, allocations: 0 / 435.6 MB, free: 13.53 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000415/0.3982, allocations: 0 / 435.6 MB, free: 13.53 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.0293/0.4275, allocations: 10.76 MB / 446.4 MB, free: 2.746 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.4276, allocations: 12.03 kB / 446.4 MB, free: 2.734 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04814/0.4758, allocations: 8.544 MB / 455 MB, free: 10.29 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01238/0.4882, allocations: 5.943 MB / 460.9 MB, free: 4.301 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006111/0.4888, allocations: 0.6679 MB / 461.6 MB, free: 3.641 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002908/0.4917, allocations: 0.87 MB / 462.4 MB, free: 2.777 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03501/0.5268, allocations: 15.98 MB / 478.4 MB, free: 2.781 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002402/0.527, allocations: 11.91 kB / 478.4 MB, free: 2.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001613/0.5287, allocations: 367 kB / 478.8 MB, free: 2.418 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005322/0.5292, allocations: 0.5544 MB / 479.3 MB, free: 1.859 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02926/0.5585, allocations: 15.72 MB / 495.1 MB, free: 2.113 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4251/0.9836, allocations: 49.26 MB / 0.5316 GB, free: 114.7 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01865/1.002, allocations: 19.29 MB / 0.5504 GB, free: 101.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005492/1.008, allocations: 3.587 MB / 0.5539 GB, free: 101.4 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004432/1.008, allocations: 262.2 kB / 0.5542 GB, free: 101.3 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.93e-05/1.008, allocations: 86.06 kB / 0.5542 GB, free: 101.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=468): time 7.213e-06/1.008, allocations: 1.344 kB / 0.5542 GB, free: 101.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=468): time 0.02175/1.03, allocations: 11.59 MB / 0.5656 GB, free: 98.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.439e-05/1.03, allocations: 133.3 kB / 0.5657 GB, free: 98.63 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005411/1.036, allocations: 3.849 MB / 0.5694 GB, free: 97.34 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007615/1.036, allocations: 97.08 kB / 0.5695 GB, free: 97.25 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001877/1.038, allocations: 3.893 MB / 0.5733 GB, free: 94.41 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001369/1.04, allocations: 1.607 MB / 0.5749 GB, free: 93.18 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007528/1.04, allocations: 0.5825 MB / 0.5755 GB, free: 92.93 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.121e-05/1.041, allocations: 301.1 kB / 0.5758 GB, free: 92.63 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004472/1.045, allocations: 3.687 MB / 0.5794 GB, free: 91.35 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005892/1.051, allocations: 6.527 MB / 0.5857 GB, free: 86.37 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0106/1.062, allocations: 10.82 MB / 0.5963 GB, free: 79.23 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.9e-05/1.062, allocations: 28.5 kB / 0.5963 GB, free: 79.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01954/1.081, allocations: 11.94 MB / 0.608 GB, free: 71.36 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.81e-05/1.081, allocations: 44 kB / 0.608 GB, free: 71.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001221/1.081, allocations: 92 kB / 0.6081 GB, free: 71.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004526/1.086, allocations: 1.618 MB / 0.6097 GB, free: 69.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005892/1.092, allocations: 1.665 MB / 0.6113 GB, free: 67.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01506/1.107, allocations: 16.21 MB / 0.6272 GB, free: 50.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005863/1.113, allocations: 0.9664 MB / 0.6281 GB, free: 49.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001288/1.114, allocations: 352 kB / 0.6284 GB, free: 49.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 (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.006312/1.121, allocations: 3.757 MB / 0.6321 GB, free: 45.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007627/1.121, allocations: 387.1 kB / 0.6325 GB, free: 45.44 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01288/1.134, allocations: 8.572 MB / 0.6409 GB, free: 36.78 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-05/1.134, allocations: 51.94 kB / 0.6409 GB, free: 36.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-05/1.134, allocations: 12 kB / 0.6409 GB, free: 36.72 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.805e-05/1.134, allocations: 27.91 kB / 0.6409 GB, free: 36.69 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02506/1.159, allocations: 16.94 MB / 0.6575 GB, free: 19.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-05/1.159, allocations: 4 kB / 0.6575 GB, free: 19.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003238/1.163, allocations: 0.8596 MB / 0.6583 GB, free: 18.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004328/1.167, allocations: 1.504 MB / 0.6598 GB, free: 17.31 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005582/1.168, allocations: 107.9 kB / 0.6599 GB, free: 17.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0145/1.182, allocations: 16.01 MB / 0.6755 GB, free: 404 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/1.182, allocations: 0 / 0.6755 GB, free: 404 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02059/1.203, allocations: 12.22 MB / 0.6875 GB, free: 3.953 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002441/1.205, allocations: 1.108 MB / 0.6886 GB, free: 2.82 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006361/1.206, allocations: 88 kB / 0.6886 GB, free: 2.734 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002509/1.208, allocations: 307.7 kB / 0.6889 GB, free: 2.434 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007584/1.209, allocations: 323.5 kB / 0.6892 GB, free: 2.113 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002827/1.209, allocations: 138.8 kB / 0.6894 GB, free: 1.98 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003933/1.213, allocations: 2.569 MB / 0.6919 GB, free: 15.42 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.61e-07/1.213, allocations: 0 / 0.6919 GB, free: 15.42 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.007168/1.221, allocations: 2.384 MB / 0.6942 GB, free: 13.03 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.0007767/1.221, allocations: 275.2 kB / 0.6945 GB, free: 12.75 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0157/1.237, allocations: 9.345 MB / 0.7036 GB, free: 3.301 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.277e-06/1.237, allocations: 0.5 kB / 0.7036 GB, free: 3.301 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1959/1.433, allocations: 4.483 MB / 0.708 GB, free: 144.7 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005133/1.438, allocations: 0.6945 MB / 0.7087 GB, free: 144.7 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0305/1.469, allocations: 20.76 MB / 0.7289 GB, free: 136.8 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006002/1.475, allocations: 5.942 MB / 0.7347 GB, free: 134.6 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00194/1.477, allocations: 427.8 kB / 0.7351 GB, free: 134.6 MB / 478.1 MB Notification: Performance of SimCode: time 8.82e-07/1.477, allocations: 0 / 0.7351 GB, free: 134.6 MB / 478.1 MB Notification: Performance of Templates: time 0.8264/2.303, allocations: 415.4 MB / 1.141 GB, free: 102 MB / 494.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins1/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