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.001596/0.001596, allocations: 112.5 kB / 17.86 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001965/0.001965, allocations: 209.7 kB / 18.79 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.364/1.364, allocations: 227.4 MB / 246.9 MB, free: 9.102 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 63.92 kB / 306.9 MB, free: 0.8242 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09778/0.0992, allocations: 50.53 MB / 357.4 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01092/0.1102, allocations: 9.889 MB / 367.3 MB, free: 4.344 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006656/0.1169, allocations: 3.393 MB / 370.7 MB, free: 0.9414 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001617/0.1185, allocations: 67.81 kB / 370.8 MB, free: 0.875 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1835/0.3021, allocations: 3.617 MB / 374.4 MB, free: 8.945 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005033/0.3072, allocations: 1.379 MB / 375.8 MB, free: 8.887 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002407/0.3096, allocations: 1.013 MB / 376.8 MB, free: 8.855 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.009962/0.3195, allocations: 9.205 MB / 386 MB, free: 6.164 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02382/0.3434, allocations: 17.3 MB / 403.3 MB, free: 11.83 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008129/0.3516, allocations: 4.491 MB / 407.8 MB, free: 7.727 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009824/0.3614, allocations: 5.936 MB / 413.7 MB, free: 1.977 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003192/0.3647, allocations: 1.027 MB / 414.8 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006356/0.3711, allocations: 1.274 MB / 416 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004653/0.3757, allocations: 2.528 MB / 418.6 MB, free: 13.19 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01002/0.3858, allocations: 5.048 MB / 423.6 MB, free: 8.168 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01583/0.4016, allocations: 16.31 MB / 439.9 MB, free: 8.145 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.4017, allocations: 0 / 439.9 MB, free: 8.145 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4017, allocations: 0 / 439.9 MB, free: 8.145 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0004363/0.4021, allocations: 0 / 439.9 MB, free: 8.145 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.03739/0.4395, allocations: 12.31 MB / 452.2 MB, free: 11.84 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.4396, allocations: 8.031 kB / 452.2 MB, free: 11.84 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04699/0.4866, allocations: 8.507 MB / 460.7 MB, free: 3.422 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01262/0.4993, allocations: 5.761 MB / 466.5 MB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007806/0.5001, allocations: 0.6678 MB / 467.2 MB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004443/0.5045, allocations: 0.8688 MB / 468 MB, free: 12.1 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03601/0.5406, allocations: 15.98 MB / 484 MB, free: 12.1 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002648/0.5409, allocations: 7.906 kB / 484 MB, free: 12.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002106/0.543, allocations: 373.1 kB / 484.4 MB, free: 11.74 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005037/0.5435, allocations: 0.5583 MB / 485 MB, free: 11.18 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02868/0.5722, allocations: 15.71 MB / 0.4889 GB, free: 11.44 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4167/0.9889, allocations: 49.04 MB / 0.5368 GB, free: 110.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01834/1.007, allocations: 19.32 MB / 0.5557 GB, free: 97.3 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006612/1.014, allocations: 3.588 MB / 0.5592 GB, free: 97.25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005514/1.015, allocations: 266.8 kB / 0.5595 GB, free: 97.06 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.253e-05/1.015, allocations: 86.69 kB / 0.5595 GB, free: 97.02 MB / 446.1 MB Notification: Performance of pre-optimization done (n=468): time 6.161e-06/1.015, allocations: 0 / 0.5595 GB, free: 97.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=468): time 0.02116/1.036, allocations: 11.51 MB / 0.5708 GB, free: 95.16 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.961e-05/1.036, allocations: 124.3 kB / 0.5709 GB, free: 95.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005318/1.041, allocations: 3.842 MB / 0.5746 GB, free: 93.74 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008041/1.042, allocations: 100.1 kB / 0.5747 GB, free: 93.65 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001978/1.044, allocations: 3.9 MB / 0.5785 GB, free: 90.72 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001646/1.046, allocations: 1.609 MB / 0.5801 GB, free: 89.49 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002241/1.048, allocations: 1.468 MB / 0.5816 GB, free: 88.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.848e-05/1.048, allocations: 301.1 kB / 0.5818 GB, free: 88.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005092/1.053, allocations: 3.688 MB / 0.5854 GB, free: 87.21 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006921/1.06, allocations: 6.528 MB / 0.5918 GB, free: 82.24 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01074/1.071, allocations: 10.82 MB / 0.6024 GB, free: 74.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.365e-05/1.071, allocations: 26.66 kB / 0.6024 GB, free: 74.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01807/1.089, allocations: 11.94 MB / 0.6141 GB, free: 63.92 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.687e-05/1.089, allocations: 44.31 kB / 0.6141 GB, free: 63.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001177/1.089, allocations: 100 kB / 0.6142 GB, free: 63.78 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004442/1.094, allocations: 1.613 MB / 0.6158 GB, free: 62.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005881/1.1, allocations: 1.661 MB / 0.6174 GB, free: 60.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01468/1.114, allocations: 16.11 MB / 0.6331 GB, free: 43.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005785/1.12, allocations: 0.956 MB / 0.6341 GB, free: 42.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001296/1.122, allocations: 360 kB / 0.6344 GB, free: 42.28 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.006361/1.128, allocations: 3.758 MB / 0.6381 GB, free: 38.51 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008678/1.129, allocations: 387.1 kB / 0.6385 GB, free: 38.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01267/1.141, allocations: 8.569 MB / 0.6468 GB, free: 29.47 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-05/1.141, allocations: 48 kB / 0.6469 GB, free: 29.42 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-05/1.142, allocations: 15.98 kB / 0.6469 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.054e-05/1.142, allocations: 27.84 kB / 0.6469 GB, free: 29.38 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02728/1.169, allocations: 16.93 MB / 0.6634 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.65e-05/1.169, allocations: 0 / 0.6634 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003195/1.172, allocations: 0.862 MB / 0.6643 GB, free: 11.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004173/1.176, allocations: 1.507 MB / 0.6657 GB, free: 10 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005555/1.177, allocations: 107.9 kB / 0.6659 GB, free: 9.898 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01628/1.193, allocations: 15.89 MB / 0.6814 GB, free: 9.211 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.193, allocations: 0 / 0.6814 GB, free: 9.211 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02036/1.214, allocations: 12.22 MB / 0.6933 GB, free: 12.78 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002615/1.216, allocations: 1.1 MB / 0.6944 GB, free: 11.66 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007479/1.217, allocations: 87.98 kB / 0.6945 GB, free: 11.57 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002404/1.219, allocations: 307.7 kB / 0.6947 GB, free: 11.27 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007635/1.22, allocations: 319.5 kB / 0.6951 GB, free: 10.95 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003084/1.221, allocations: 132 kB / 0.6952 GB, free: 10.82 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003967/1.224, allocations: 2.578 MB / 0.6977 GB, free: 8.25 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.483e-06/1.225, allocations: 4 kB / 0.6977 GB, free: 8.246 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.008483/1.233, allocations: 2.383 MB / 0.7 GB, free: 5.859 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.0007716/1.234, allocations: 270.3 kB / 0.7003 GB, free: 5.594 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.1996/1.433, allocations: 9.345 MB / 0.7094 GB, free: 146.2 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.141e-05/1.433, allocations: 1.125 kB / 0.7094 GB, free: 146.2 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007181/1.441, allocations: 4.47 MB / 0.7138 GB, free: 145.3 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003641/1.444, allocations: 0.7065 MB / 0.7145 GB, free: 145.3 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03005/1.474, allocations: 20.7 MB / 0.7347 GB, free: 135 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005893/1.48, allocations: 5.936 MB / 0.7405 GB, free: 132.7 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002067/1.482, allocations: 435.9 kB / 0.7409 GB, free: 132.7 MB / 478.1 MB Notification: Performance of SimCode: time 1.182e-06/1.482, allocations: 0 / 0.7409 GB, free: 132.7 MB / 478.1 MB Notification: Performance of Templates: time 0.8059/2.288, allocations: 416.5 MB / 1.148 GB, free: 95.13 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