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.001039/0.001039, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001084/0.001084, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.304/1.304, allocations: 227.4 MB / 246.3 MB, free: 10.85 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001116/0.001116, allocations: 60.53 kB / 306.3 MB, free: 1.035 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08892/0.09005, allocations: 50.53 MB / 356.8 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01011/0.1002, allocations: 9.884 MB / 366.7 MB, free: 4.574 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007736/0.108, allocations: 3.396 MB / 370.1 MB, free: 1.168 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001992/0.11, allocations: 63.81 kB / 370.1 MB, free: 1.105 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1657/0.2757, allocations: 3.619 MB / 373.8 MB, free: 8.969 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003793/0.2796, allocations: 1.377 MB / 375.1 MB, free: 8.914 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002257/0.2818, allocations: 1.015 MB / 376.2 MB, free: 8.887 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.009436/0.2913, allocations: 9.211 MB / 385.4 MB, free: 6.289 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02337/0.3147, allocations: 17.3 MB / 402.7 MB, free: 11.86 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006752/0.3215, allocations: 4.5 MB / 407.2 MB, free: 7.773 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00801/0.3295, allocations: 5.932 MB / 413.1 MB, free: 2.027 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001875/0.3314, allocations: 1.027 MB / 414.1 MB, free: 1 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003258/0.3347, allocations: 1.275 MB / 415.4 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002153/0.3368, allocations: 2.531 MB / 417.9 MB, free: 13.24 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006476/0.3433, allocations: 5.044 MB / 423 MB, free: 8.219 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01575/0.3591, allocations: 18.5 MB / 441.5 MB, free: 6.023 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.333e-06/0.3591, allocations: 4 kB / 441.5 MB, free: 6.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3591, allocations: 0 / 441.5 MB, free: 6.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0004032/0.3596, allocations: 0 / 441.5 MB, free: 6.02 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.03127/0.3908, allocations: 12.31 MB / 453.8 MB, free: 9.719 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.3909, allocations: 8.031 kB / 453.8 MB, free: 9.711 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04887/0.4398, allocations: 8.507 MB / 462.3 MB, free: 1.297 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01194/0.4517, allocations: 5.755 MB / 468.1 MB, free: 11.51 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005815/0.4523, allocations: 0.6633 MB / 468.7 MB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003132/0.4555, allocations: 0.8755 MB / 469.6 MB, free: 9.984 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03233/0.4878, allocations: 15.98 MB / 485.6 MB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002979/0.4882, allocations: 11.91 kB / 485.6 MB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002844/0.491, allocations: 375.9 kB / 485.9 MB, free: 9.621 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006179/0.4917, allocations: 0.5544 MB / 486.5 MB, free: 9.062 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03207/0.5237, allocations: 15.72 MB / 0.4904 GB, free: 9.32 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3931/0.9169, allocations: 49.04 MB / 0.5383 GB, free: 110.6 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01585/0.9327, allocations: 19.33 MB / 0.5572 GB, free: 97.4 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004554/0.9373, allocations: 3.583 MB / 0.5607 GB, free: 97.36 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004337/0.9378, allocations: 262.5 kB / 0.561 GB, free: 97.16 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.493e-05/0.9379, allocations: 88.91 kB / 0.561 GB, free: 97.12 MB / 446.1 MB Notification: Performance of pre-optimization done (n=468): time 6.533e-06/0.9379, allocations: 0 / 0.561 GB, free: 97.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=468): time 0.02155/0.9594, allocations: 11.52 MB / 0.5723 GB, free: 94.69 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.054e-05/0.9595, allocations: 125.1 kB / 0.5724 GB, free: 94.59 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006111/0.9656, allocations: 3.844 MB / 0.5762 GB, free: 93.25 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004392/0.9661, allocations: 96.86 kB / 0.5763 GB, free: 93.17 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001796/0.9679, allocations: 3.897 MB / 0.5801 GB, free: 90.23 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001168/0.9691, allocations: 1.609 MB / 0.5816 GB, free: 89 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001787/0.9709, allocations: 1.468 MB / 0.5831 GB, free: 88.31 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.701e-05/0.9709, allocations: 301.1 kB / 0.5834 GB, free: 88.01 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004281/0.9752, allocations: 3.689 MB / 0.587 GB, free: 86.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005387/0.9806, allocations: 6.523 MB / 0.5933 GB, free: 81.41 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009897/0.9905, allocations: 10.82 MB / 0.6039 GB, free: 73.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.382e-05/0.9906, allocations: 31.03 kB / 0.6039 GB, free: 73.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01704/1.008, allocations: 11.94 MB / 0.6156 GB, free: 61.78 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.974e-05/1.008, allocations: 44.31 kB / 0.6156 GB, free: 61.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001039/1.008, allocations: 96 kB / 0.6157 GB, free: 61.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00423/1.012, allocations: 1.606 MB / 0.6173 GB, free: 60.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005514/1.018, allocations: 1.669 MB / 0.6189 GB, free: 58.35 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01443/1.032, allocations: 16.09 MB / 0.6346 GB, free: 41.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00504/1.037, allocations: 0.96 MB / 0.6356 GB, free: 40.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008128/1.038, allocations: 360 kB / 0.6359 GB, free: 40.15 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.006475/1.044, allocations: 3.758 MB / 0.6396 GB, free: 36.38 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008442/1.045, allocations: 391.1 kB / 0.64 GB, free: 35.99 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01332/1.059, allocations: 8.568 MB / 0.6483 GB, free: 27.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.902e-05/1.059, allocations: 52 kB / 0.6484 GB, free: 27.29 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.479e-05/1.059, allocations: 15.98 kB / 0.6484 GB, free: 27.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.476e-05/1.059, allocations: 23.91 kB / 0.6484 GB, free: 27.25 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02999/1.089, allocations: 16.93 MB / 0.6649 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.872e-05/1.089, allocations: 4 kB / 0.6649 GB, free: 10.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003535/1.092, allocations: 0.862 MB / 0.6658 GB, free: 9.398 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004313/1.097, allocations: 1.51 MB / 0.6673 GB, free: 7.871 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005841/1.097, allocations: 99.97 kB / 0.6674 GB, free: 7.773 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01643/1.114, allocations: 15.89 MB / 0.6829 GB, free: 7.082 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.473e-06/1.114, allocations: 7.938 kB / 0.6829 GB, free: 7.074 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02184/1.136, allocations: 12.22 MB / 0.6948 GB, free: 10.64 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002835/1.139, allocations: 1.096 MB / 0.6959 GB, free: 9.523 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001419/1.14, allocations: 91.98 kB / 0.696 GB, free: 9.434 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003084/1.143, allocations: 303.7 kB / 0.6963 GB, free: 9.137 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001109/1.144, allocations: 319.6 kB / 0.6966 GB, free: 8.82 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006597/1.145, allocations: 135.9 kB / 0.6967 GB, free: 8.688 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.005242/1.15, allocations: 2.574 MB / 0.6992 GB, free: 6.117 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.81e-07/1.15, allocations: 4 kB / 0.6992 GB, free: 6.113 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.01044/1.161, allocations: 2.376 MB / 0.7015 GB, free: 3.73 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.001602/1.162, allocations: 271.4 kB / 0.7018 GB, free: 3.465 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.1972/1.359, allocations: 9.354 MB / 0.7109 GB, free: 146.3 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.828e-06/1.359, allocations: 0 / 0.7109 GB, free: 146.3 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008043/1.367, allocations: 4.472 MB / 0.7153 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.004498/1.372, allocations: 0.704 MB / 0.716 GB, free: 145.1 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03555/1.408, allocations: 20.74 MB / 0.7362 GB, free: 134.5 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007099/1.415, allocations: 6.047 MB / 0.7421 GB, free: 132.2 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.007761/1.423, allocations: 3.26 MB / 0.7453 GB, free: 132 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001411/1.424, allocations: 371 kB / 0.7457 GB, free: 132 MB / 478.1 MB Notification: Performance of SimCode: time 1.183e-06/1.424, allocations: 4 kB / 0.7457 GB, free: 132 MB / 478.1 MB Notification: Performance of Templates: time 0.09631/1.52, allocations: 65.79 MB / 0.8099 GB, free: 72.65 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