Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_cpp_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_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001419/0.001419, allocations: 203.9 kB / 18.07 MB, free: 3.645 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.215/1.215, allocations: 226.5 MB / 245.4 MB, free: 8.098 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0006742/0.0006742, allocations: 97.31 kB / 297.4 MB, free: 6.859 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002153/0.0002153, allocations: 4 kB / 357.4 MB, free: 10.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1834/0.1836, allocations: 51.29 MB / 408.7 MB, free: 27.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1006/0.2842, allocations: 97.13 MB / 0.4939 GB, free: 10.43 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002021/0.2845, allocations: 84.89 kB / 0.494 GB, free: 10.34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.869/1.153, allocations: 331.6 MB / 0.8178 GB, free: 13.38 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.094e-06/1.153, allocations: 0 / 0.8178 GB, free: 13.38 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000402/1.154, allocations: 175.9 kB / 0.818 GB, free: 13.21 MB / 442.7 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.02905/1.183, allocations: 9.826 MB / 0.8276 GB, free: 3.301 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/1.183, allocations: 12.02 kB / 0.8276 GB, free: 3.289 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02759/1.211, allocations: 5.558 MB / 0.833 GB, free: 13.71 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01557/1.226, allocations: 6.403 MB / 0.8393 GB, free: 7.246 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006727/1.227, allocations: 0.6141 MB / 0.8399 GB, free: 6.629 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00318/1.23, allocations: 0.8007 MB / 0.8407 GB, free: 5.828 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2248/1.455, allocations: 15.78 MB / 0.8561 GB, free: 60.85 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002849/1.455, allocations: 10.28 kB / 0.8561 GB, free: 60.85 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002013/1.457, allocations: 355.6 kB / 0.8564 GB, free: 60.85 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007989/1.458, allocations: 0.824 MB / 0.8572 GB, free: 60.83 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02599/1.484, allocations: 14.6 MB / 0.8715 GB, free: 60.73 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06603/1.55, allocations: 48.52 MB / 0.9189 GB, free: 45.55 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01417/1.564, allocations: 19.29 MB / 0.9377 GB, free: 30.04 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004306/1.569, allocations: 3.541 MB / 0.9412 GB, free: 28.73 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004174/1.569, allocations: 262 kB / 0.9414 GB, free: 28.53 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.674e-05/1.569, allocations: 88.36 kB / 0.9415 GB, free: 28.45 MB / 458.7 MB Notification: Performance of pre-optimization done (n=468): time 6.362e-06/1.569, allocations: 0 / 0.9415 GB, free: 28.45 MB / 458.7 MB Notification: Performance of matching and sorting (n=468): time 0.01917/1.588, allocations: 11.53 MB / 0.9527 GB, free: 24.41 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.504e-05/1.588, allocations: 128 kB / 0.9529 GB, free: 24.32 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005259/1.594, allocations: 3.81 MB / 0.9566 GB, free: 23.01 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009103/1.595, allocations: 101.2 kB / 0.9567 GB, free: 22.92 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001713/1.596, allocations: 3.893 MB / 0.9605 GB, free: 20.13 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001696/1.598, allocations: 1.614 MB / 0.9621 GB, free: 18.9 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004581/1.599, allocations: 144.6 kB / 0.9622 GB, free: 18.79 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003813/1.599, allocations: 0.6103 MB / 0.9628 GB, free: 18.35 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004825/1.604, allocations: 3.65 MB / 0.9664 GB, free: 17.07 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006262/1.61, allocations: 6.482 MB / 0.9727 GB, free: 12.14 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01113/1.621, allocations: 10.77 MB / 0.9832 GB, free: 4.086 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.897e-05/1.621, allocations: 28 kB / 0.9832 GB, free: 4.059 MB / 458.7 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.0232/1.644, allocations: 12.06 MB / 0.995 GB, free: 10.59 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001181/1.645, allocations: 47.66 kB / 0.995 GB, free: 10.54 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002142/1.645, allocations: 96.31 kB / 0.9951 GB, free: 10.45 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005088/1.65, allocations: 1.614 MB / 0.9967 GB, free: 9.34 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006748/1.657, allocations: 1.658 MB / 0.9983 GB, free: 7.922 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02004/1.677, allocations: 16.21 MB / 1.014 GB, free: 8.691 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006994/1.684, allocations: 0.9517 MB / 1.015 GB, free: 7.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002065/1.686, allocations: 359.5 kB / 1.015 GB, free: 7.48 MB / 490.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(8,100.0%) 30,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009462/1.695, allocations: 3.752 MB / 1.019 GB, free: 4.348 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001445/1.697, allocations: 391.1 kB / 1.019 GB, free: 3.961 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2428/1.94, allocations: 8.834 MB / 1.028 GB, free: 85.38 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.903e-05/1.94, allocations: 46.47 kB / 1.028 GB, free: 85.38 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.263e-05/1.94, allocations: 17.59 kB / 1.028 GB, free: 85.38 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.924e-05/1.94, allocations: 24.47 kB / 1.028 GB, free: 85.38 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02872/1.969, allocations: 16.84 MB / 1.045 GB, free: 84.39 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.782e-05/1.969, allocations: 7.375 kB / 1.045 GB, free: 84.39 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003499/1.972, allocations: 0.858 MB / 1.045 GB, free: 84.39 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004087/1.976, allocations: 1.495 MB / 1.047 GB, free: 84.34 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006625/1.977, allocations: 101.7 kB / 1.047 GB, free: 84.34 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01453/1.992, allocations: 16.01 MB / 1.063 GB, free: 76.38 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/1.992, allocations: 7.5 kB / 1.063 GB, free: 76.38 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01633/2.008, allocations: 12.14 MB / 1.075 GB, free: 75.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002323/2.01, allocations: 1.115 MB / 1.076 GB, free: 75.19 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006467/2.011, allocations: 92.44 kB / 1.076 GB, free: 75.19 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002218/2.013, allocations: 305.9 kB / 1.076 GB, free: 75.19 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006219/2.014, allocations: 316.9 kB / 1.076 GB, free: 75.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002759/2.014, allocations: 142.6 kB / 1.076 GB, free: 75.18 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003282/2.017, allocations: 2.551 MB / 1.079 GB, free: 75.04 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/2.017, allocations: 0 / 1.079 GB, free: 75.04 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006326/2.024, allocations: 2.391 MB / 1.081 GB, free: 74.79 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (resistor_m.plug_p.reference.gamma,resistor_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 (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(8,100.0%) 30,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006707/2.024, allocations: 300.4 kB / 1.082 GB, free: 74.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01213/2.037, allocations: 9.295 MB / 1.091 GB, free: 73.84 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/2.037, allocations: 5.219 kB / 1.091 GB, free: 73.84 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005898/2.042, allocations: 4.431 MB / 1.095 GB, free: 73.07 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004996/2.048, allocations: 0.705 MB / 1.096 GB, free: 73.06 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03117/2.079, allocations: 19.9 MB / 1.115 GB, free: 64.65 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01042/2.089, allocations: 5.929 MB / 1.121 GB, free: 62.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002921/2.092, allocations: 428.4 kB / 1.121 GB, free: 62.37 MB / 490.7 MB Notification: Performance of SimCode: time 1.042e-06/2.092, allocations: 5.5 kB / 1.121 GB, free: 62.37 MB / 490.7 MB Notification: Performance of Templates: time 1.032/3.124, allocations: 415.5 MB / 1.527 GB, free: 36.34 MB / 0.5105 GB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile (rm -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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","../files/Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches