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/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_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/Complex trunk/package.mo): time 0.001755/0.001761, allocations: 201.1 kB / 18.11 MB, free: 3.73 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.261/1.261, allocations: 226.5 MB / 245.4 MB, free: 8.184 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007471/0.0007472, allocations: 100.6 kB / 297.5 MB, free: 6.863 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002376/0.0002377, allocations: 8 kB / 358.1 MB, free: 10.25 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1933/0.1935, allocations: 51.29 MB / 409.4 MB, free: 27.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1068/0.3003, allocations: 97.14 MB / 0.4946 GB, free: 10.34 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002478/0.3006, allocations: 87.94 kB / 0.4947 GB, free: 10.25 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.005/1.306, allocations: 331.6 MB / 0.8185 GB, free: 13.32 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.474e-06/1.306, allocations: 3.938 kB / 0.8185 GB, free: 13.31 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004904/1.306, allocations: 183.9 kB / 0.8187 GB, free: 13.13 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.03963/1.346, allocations: 9.822 MB / 0.8283 GB, free: 3.23 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/1.346, allocations: 16.02 kB / 0.8283 GB, free: 3.215 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03558/1.382, allocations: 5.558 MB / 0.8337 GB, free: 13.64 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01621/1.398, allocations: 6.399 MB / 0.84 GB, free: 7.176 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008055/1.399, allocations: 0.614 MB / 0.8406 GB, free: 6.559 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00354/1.402, allocations: 0.8007 MB / 0.8414 GB, free: 5.758 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2259/1.628, allocations: 15.77 MB / 0.8568 GB, free: 60.75 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001702/1.628, allocations: 12.59 kB / 0.8568 GB, free: 60.75 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008326/1.629, allocations: 351.2 kB / 0.8571 GB, free: 60.75 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005941/1.63, allocations: 0.8243 MB / 0.8579 GB, free: 60.72 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0215/1.651, allocations: 14.6 MB / 0.8722 GB, free: 60.63 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06022/1.711, allocations: 48.53 MB / 0.9196 GB, free: 45.53 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01308/1.725, allocations: 19.28 MB / 0.9384 GB, free: 30.02 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003843/1.728, allocations: 3.548 MB / 0.9419 GB, free: 28.71 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003783/1.729, allocations: 264.9 kB / 0.9421 GB, free: 28.51 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.945e-05/1.729, allocations: 90.23 kB / 0.9422 GB, free: 28.43 MB / 458.7 MB Notification: Performance of pre-optimization done (n=468): time 5.961e-06/1.729, allocations: 0 / 0.9422 GB, free: 28.43 MB / 458.7 MB Notification: Performance of matching and sorting (n=468): time 0.01793/1.747, allocations: 11.52 MB / 0.9534 GB, free: 24.4 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/1.747, allocations: 123.7 kB / 0.9536 GB, free: 24.3 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005212/1.752, allocations: 3.814 MB / 0.9573 GB, free: 22.99 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002385/1.752, allocations: 96.83 kB / 0.9574 GB, free: 22.91 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001629/1.754, allocations: 3.905 MB / 0.9612 GB, free: 20.11 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009178/1.755, allocations: 1.608 MB / 0.9628 GB, free: 18.88 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003916/1.755, allocations: 145.6 kB / 0.9629 GB, free: 18.77 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003684/1.756, allocations: 0.6059 MB / 0.9635 GB, free: 18.34 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004277/1.76, allocations: 3.651 MB / 0.9671 GB, free: 17.06 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00529/1.765, allocations: 6.482 MB / 0.9734 GB, free: 12.13 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009644/1.775, allocations: 10.76 MB / 0.9839 GB, free: 4.043 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.986e-05/1.775, allocations: 28 kB / 0.9839 GB, free: 4.016 MB / 458.7 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01975/1.795, allocations: 12.08 MB / 0.9957 GB, free: 10.59 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.425e-05/1.795, allocations: 44.31 kB / 0.9958 GB, free: 10.54 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001358/1.795, allocations: 96 kB / 0.9958 GB, free: 10.45 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004144/1.799, allocations: 1.617 MB / 0.9974 GB, free: 9.34 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005485/1.805, allocations: 1.659 MB / 0.999 GB, free: 7.922 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01698/1.822, allocations: 16.2 MB / 1.015 GB, free: 8.691 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005496/1.827, allocations: 0.9564 MB / 1.016 GB, free: 7.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001484/1.829, allocations: 358.5 kB / 1.016 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.007585/1.836, allocations: 3.755 MB / 1.02 GB, free: 4.348 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001074/1.837, allocations: 391.1 kB / 1.02 GB, free: 3.961 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.272/2.109, allocations: 8.831 MB / 1.029 GB, free: 85.22 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.909e-05/2.11, allocations: 51.34 kB / 1.029 GB, free: 85.22 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.525e-05/2.11, allocations: 17.77 kB / 1.029 GB, free: 85.22 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.753e-05/2.11, allocations: 21.61 kB / 1.029 GB, free: 85.22 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02821/2.138, allocations: 16.85 MB / 1.045 GB, free: 84.23 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.64e-05/2.138, allocations: 2.625 kB / 1.045 GB, free: 84.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003244/2.141, allocations: 0.864 MB / 1.046 GB, free: 84.23 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003975/2.145, allocations: 1.496 MB / 1.048 GB, free: 84.18 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006277/2.146, allocations: 99.69 kB / 1.048 GB, free: 84.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01454/2.16, allocations: 16.01 MB / 1.063 GB, free: 76.23 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/2.16, allocations: 7.156 kB / 1.063 GB, free: 76.23 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0167/2.177, allocations: 12.15 MB / 1.075 GB, free: 75.34 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002908/2.18, allocations: 1.118 MB / 1.076 GB, free: 75.03 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005447/2.181, allocations: 85.41 kB / 1.076 GB, free: 75.03 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002153/2.183, allocations: 311.3 kB / 1.077 GB, free: 75.03 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007201/2.184, allocations: 318 kB / 1.077 GB, free: 75.03 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002939/2.184, allocations: 139.7 kB / 1.077 GB, free: 75.03 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003707/2.188, allocations: 2.551 MB / 1.08 GB, free: 74.88 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.31e-07/2.188, allocations: 3.25 kB / 1.08 GB, free: 74.88 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007253/2.195, allocations: 2.385 MB / 1.082 GB, free: 74.63 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.000699/2.196, allocations: 298.7 kB / 1.082 GB, free: 74.54 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01301/2.209, allocations: 9.287 MB / 1.091 GB, free: 73.68 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.08e-05/2.209, allocations: 3.562 kB / 1.091 GB, free: 73.68 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006545/2.215, allocations: 4.439 MB / 1.096 GB, free: 72.92 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004625/2.22, allocations: 0.7042 MB / 1.096 GB, free: 72.91 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02737/2.247, allocations: 19.94 MB / 1.116 GB, free: 64.58 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006521/2.254, allocations: 6.045 MB / 1.122 GB, free: 62.3 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.008461/2.262, allocations: 3.295 MB / 1.125 GB, free: 62.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001141/2.264, allocations: 372.1 kB / 1.125 GB, free: 62.07 MB / 490.7 MB Notification: Performance of SimCode: time 1.122e-06/2.264, allocations: 0 / 1.125 GB, free: 62.07 MB / 490.7 MB Notification: Performance of Templates: time 0.09395/2.357, allocations: 62.88 MB / 1.187 GB, free: 21.57 MB / 490.7 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","../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches