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.001273/0.001273, allocations: 198.1 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.231/1.231, allocations: 227.2 MB / 245 MB, free: 5.742 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008668/0.0008669, allocations: 100.6 kB / 297.3 MB, free: 5.949 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002494/0.0002494, allocations: 4 kB / 358 MB, free: 9.277 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.207/0.2073, allocations: 51.47 MB / 409.4 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1105/0.3178, allocations: 97.1 MB / 0.4947 GB, free: 9.465 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000214/0.318, allocations: 87.94 kB / 0.4947 GB, free: 9.379 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9682/1.286, allocations: 333.2 MB / 0.8201 GB, free: 25.35 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.024e-06/1.286, allocations: 0 / 0.8201 GB, free: 25.35 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004424/1.287, allocations: 175.9 kB / 0.8203 GB, free: 25.18 MB / 458.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.03007/1.317, allocations: 9.923 MB / 0.83 GB, free: 15.17 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/1.317, allocations: 11.97 kB / 0.83 GB, free: 15.16 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02924/1.346, allocations: 5.553 MB / 0.8354 GB, free: 9.59 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01691/1.363, allocations: 6.335 MB / 0.8416 GB, free: 3.184 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006848/1.364, allocations: 0.6063 MB / 0.8422 GB, free: 2.574 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003161/1.367, allocations: 0.8084 MB / 0.843 GB, free: 1.766 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2521/1.619, allocations: 15.7 MB / 0.8583 GB, free: 60.64 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002108/1.619, allocations: 9.438 kB / 0.8583 GB, free: 60.64 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001267/1.621, allocations: 354.3 kB / 0.8587 GB, free: 60.64 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006141/1.621, allocations: 0.8249 MB / 0.8595 GB, free: 60.61 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02509/1.646, allocations: 14.59 MB / 0.8737 GB, free: 60.52 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06631/1.713, allocations: 48.51 MB / 0.9211 GB, free: 43.84 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0135/1.726, allocations: 19.26 MB / 0.9399 GB, free: 28.34 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004625/1.727, allocations: 265.6 kB / 0.9401 GB, free: 28.15 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.497e-05/1.727, allocations: 83.98 kB / 0.9402 GB, free: 28.07 MB / 458.7 MB Notification: Performance of pre-optimization done (n=468): time 6.182e-06/1.727, allocations: 0 / 0.9402 GB, free: 28.07 MB / 458.7 MB Notification: Performance of matching and sorting (n=468): time 0.01834/1.745, allocations: 11.47 MB / 0.9514 GB, free: 24.07 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.575e-05/1.745, allocations: 133.4 kB / 0.9516 GB, free: 23.98 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005609/1.751, allocations: 3.458 MB / 0.9549 GB, free: 22.79 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005679/1.751, allocations: 96.2 kB / 0.955 GB, free: 22.7 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001614/1.753, allocations: 3.897 MB / 0.9588 GB, free: 19.91 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0011/1.754, allocations: 1.609 MB / 0.9604 GB, free: 18.68 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003219/1.754, allocations: 145.7 kB / 0.9605 GB, free: 18.57 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.00031/1.755, allocations: 0.6169 MB / 0.9611 GB, free: 18.13 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004347/1.759, allocations: 3.647 MB / 0.9647 GB, free: 16.86 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005386/1.765, allocations: 6.463 MB / 0.971 GB, free: 11.91 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005405/1.77, allocations: 5.181 MB / 0.9761 GB, free: 9.098 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.8e-05/1.77, allocations: 28 kB / 0.9761 GB, free: 9.07 MB / 458.7 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01717/1.787, allocations: 11.97 MB / 0.9878 GB, free: 15.61 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.804e-05/1.787, allocations: 48 kB / 0.9878 GB, free: 15.57 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001329/1.787, allocations: 92 kB / 0.9879 GB, free: 15.48 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004304/1.792, allocations: 1.613 MB / 0.9895 GB, free: 14.37 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005805/1.798, allocations: 1.664 MB / 0.9911 GB, free: 12.95 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01847/1.816, allocations: 16.65 MB / 1.007 GB, free: 13.62 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005774/1.822, allocations: 0.9474 MB / 1.008 GB, free: 12.76 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001304/1.823, allocations: 359.6 kB / 1.009 GB, free: 12.41 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.006747/1.83, allocations: 3.757 MB / 1.012 GB, free: 9.281 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007828/1.831, allocations: 391.1 kB / 1.013 GB, free: 8.895 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01365/1.844, allocations: 8.525 MB / 1.021 GB, free: 2.012 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.806e-05/1.844, allocations: 48 kB / 1.021 GB, free: 1.965 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.187e-05/1.845, allocations: 12 kB / 1.021 GB, free: 1.953 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.582e-05/1.845, allocations: 30.25 kB / 1.021 GB, free: 1.949 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2708/2.115, allocations: 16.84 MB / 1.038 GB, free: 82.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.691e-05/2.115, allocations: 1.031 kB / 1.038 GB, free: 82.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003577/2.119, allocations: 0.8578 MB / 1.038 GB, free: 82.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004401/2.123, allocations: 1.494 MB / 1.04 GB, free: 82.76 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004611/2.124, allocations: 102.5 kB / 1.04 GB, free: 82.76 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01436/2.138, allocations: 16.36 MB / 1.056 GB, free: 74.81 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/2.138, allocations: 9.656 kB / 1.056 GB, free: 74.81 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01597/2.154, allocations: 12.35 MB / 1.068 GB, free: 73.75 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002839/2.157, allocations: 1.109 MB / 1.069 GB, free: 73.45 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006806/2.158, allocations: 84.22 kB / 1.069 GB, free: 73.45 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002311/2.16, allocations: 309.6 kB / 1.069 GB, free: 73.45 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006428/2.161, allocations: 323 kB / 1.07 GB, free: 73.45 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002735/2.161, allocations: 141.4 kB / 1.07 GB, free: 73.45 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003524/2.165, allocations: 2.545 MB / 1.072 GB, free: 73.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.1e-07/2.165, allocations: 0 / 1.072 GB, free: 73.3 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006567/2.171, allocations: 2.396 MB / 1.075 GB, free: 73.05 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.000752/2.172, allocations: 297.4 kB / 1.075 GB, free: 72.96 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01246/2.184, allocations: 9.299 MB / 1.084 GB, free: 72.09 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/2.184, allocations: 0 / 1.084 GB, free: 72.09 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006555/2.191, allocations: 4.431 MB / 1.088 GB, free: 71.34 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003168/2.194, allocations: 0.6285 MB / 1.089 GB, free: 71.32 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02732/2.222, allocations: 19.91 MB / 1.108 GB, free: 64.18 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005767/2.227, allocations: 6.18 MB / 1.115 GB, free: 62.37 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.007292/2.235, allocations: 3.297 MB / 1.118 GB, free: 62.17 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001288/2.236, allocations: 372.8 kB / 1.118 GB, free: 62.14 MB / 490.7 MB Notification: Performance of SimCode: time 7.41e-07/2.236, allocations: 0 / 1.118 GB, free: 62.14 MB / 490.7 MB Notification: Performance of Templates: time 0.09365/2.33, allocations: 62.59 MB / 1.179 GB, free: 25.82 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/jenkins/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