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.001698/0.001698, allocations: 194.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.546/1.546, allocations: 225.6 MB / 234.8 MB, free: 3.254 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009502/0.0009505, allocations: 110.3 kB / 286.7 MB, free: 5.258 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.669e-05/1.672e-05, allocations: 4 kB / 343.7 MB, free: 8.301 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1018, allocations: 51.48 MB / 395.2 MB, free: 4.773 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3247/0.4266, allocations: 96.36 MB / 491.5 MB, free: 12.92 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002401/0.4269, allocations: 86.64 kB / 491.6 MB, free: 12.88 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.083/1.51, allocations: 329.6 MB / 0.8019 GB, free: 69.01 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.584e-06/1.51, allocations: 0 / 0.8019 GB, free: 69.01 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0005151/1.51, allocations: 186.4 kB / 0.8021 GB, free: 69 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.03744/1.548, allocations: 9.604 MB / 0.8115 GB, free: 66.53 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.305e-05/1.548, allocations: 7.625 kB / 0.8115 GB, free: 66.53 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03099/1.579, allocations: 5.515 MB / 0.8169 GB, free: 66.05 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01649/1.595, allocations: 6.326 MB / 0.8231 GB, free: 65.03 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005259/1.596, allocations: 271.5 kB / 0.8233 GB, free: 65.03 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003445/1.599, allocations: 481.2 kB / 0.8238 GB, free: 65.03 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02656/1.626, allocations: 13.2 MB / 0.8367 GB, free: 63.8 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03608/1.662, allocations: 14.14 MB / 0.8505 GB, free: 57.89 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003906/1.663, allocations: 14.25 kB / 0.8505 GB, free: 57.88 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002707/1.665, allocations: 2.625 kB / 0.8505 GB, free: 57.88 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008794/1.666, allocations: 0.8305 MB / 0.8513 GB, free: 57.66 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07837/1.745, allocations: 48.17 MB / 0.8984 GB, free: 19.07 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3224/2.067, allocations: 19.45 MB / 0.9173 GB, free: 60.38 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005742/2.073, allocations: 3.625 MB / 0.9209 GB, free: 60.35 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004739/2.073, allocations: 262.2 kB / 0.9211 GB, free: 60.16 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.048e-05/2.073, allocations: 85.19 kB / 0.9212 GB, free: 60.12 MB / 458.7 MB Notification: Performance of pre-optimization done (n=468): time 8.616e-06/2.073, allocations: 0 / 0.9212 GB, free: 60.12 MB / 458.7 MB Notification: Performance of matching and sorting (n=468): time 0.01954/2.093, allocations: 9.047 MB / 0.9301 GB, free: 59.92 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.513e-05/2.093, allocations: 122.8 kB / 0.9302 GB, free: 59.82 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005348/2.098, allocations: 3.245 MB / 0.9333 GB, free: 59.58 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009282/2.099, allocations: 25.7 kB / 0.9334 GB, free: 59.55 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002279/2.102, allocations: 3.88 MB / 0.9372 GB, free: 57.79 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001902/2.104, allocations: 1.545 MB / 0.9387 GB, free: 56.79 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004163/2.104, allocations: 0 / 0.9387 GB, free: 56.79 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004112/2.104, allocations: 0.6083 MB / 0.9393 GB, free: 56.47 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004603/2.109, allocations: 3.699 MB / 0.9429 GB, free: 56.45 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00571/2.115, allocations: 6.455 MB / 0.9492 GB, free: 53.07 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01712/2.132, allocations: 7.088 MB / 0.9561 GB, free: 53 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001876/2.132, allocations: 29.53 kB / 0.9561 GB, free: 53 MB / 458.7 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.0329/2.165, allocations: 13.26 MB / 0.9691 GB, free: 52.52 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000134/2.165, allocations: 46.88 kB / 0.9691 GB, free: 52.52 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002455/2.165, allocations: 93.11 kB / 0.9692 GB, free: 52.52 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00553/2.171, allocations: 1.603 MB / 0.9708 GB, free: 52.45 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00687/2.178, allocations: 1.73 MB / 0.9725 GB, free: 52.45 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01596/2.194, allocations: 15.63 MB / 0.9877 GB, free: 44.59 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007551/2.201, allocations: 0.8609 MB / 0.9886 GB, free: 44.17 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002524/2.204, allocations: 358.1 kB / 0.9889 GB, free: 44.17 MB / 458.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 () * 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.002168/2.206, allocations: 355.5 kB / 0.9892 GB, free: 43.88 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001001/2.207, allocations: 388.1 kB / 0.9896 GB, free: 43.68 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02174/2.229, allocations: 10.28 MB / 0.9997 GB, free: 41.41 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.72e-05/2.229, allocations: 46 kB / 0.9997 GB, free: 41.41 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4e-05/2.229, allocations: 13.03 kB / 0.9997 GB, free: 41.41 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-05/2.229, allocations: 25.83 kB / 0.9997 GB, free: 41.41 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03441/2.264, allocations: 17.7 MB / 1.017 GB, free: 35.31 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-05/2.264, allocations: 3.312 kB / 1.017 GB, free: 35.31 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00373/2.267, allocations: 0.9177 MB / 1.018 GB, free: 35.24 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00453/2.272, allocations: 1.481 MB / 1.019 GB, free: 34.95 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001072/2.273, allocations: 34.53 kB / 1.019 GB, free: 34.94 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01441/2.288, allocations: 15.44 MB / 1.034 GB, free: 24.07 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/2.288, allocations: 4 kB / 1.034 GB, free: 24.07 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0289/2.316, allocations: 14.46 MB / 1.049 GB, free: 16.52 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004652/2.321, allocations: 1.185 MB / 1.05 GB, free: 15.44 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001821/2.323, allocations: 0 / 1.05 GB, free: 15.44 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003514/2.327, allocations: 289.6 kB / 1.05 GB, free: 15.28 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007302/2.327, allocations: 313.8 kB / 1.05 GB, free: 15.09 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003263/2.328, allocations: 145.5 kB / 1.05 GB, free: 14.95 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003662/2.331, allocations: 2.34 MB / 1.053 GB, free: 12.96 MB / 458.7 MB Notification: Performance of sort global known variables: time 4e-07/2.331, allocations: 0 / 1.053 GB, free: 12.96 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008172/2.34, allocations: 2.184 MB / 1.055 GB, free: 10.77 MB / 458.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 () * 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.000934/2.341, allocations: 225.5 kB / 1.055 GB, free: 10.56 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01332/2.354, allocations: 9.245 MB / 1.064 GB, free: 2.266 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.366e-05/2.354, allocations: 0 / 1.064 GB, free: 2.266 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01384/2.368, allocations: 4.991 MB / 1.069 GB, free: 15.53 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00435/2.372, allocations: 0.5283 MB / 1.07 GB, free: 15.12 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03024/2.402, allocations: 14.36 MB / 1.084 GB, free: 2.453 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3044/2.707, allocations: 6.183 MB / 1.09 GB, free: 68.11 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.008275/2.715, allocations: 3.421 MB / 1.093 GB, free: 68.07 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001353/2.717, allocations: 365.8 kB / 1.093 GB, free: 68.06 MB / 474.7 MB Notification: Performance of SimCode: time 9.02e-07/2.717, allocations: 0 / 1.093 GB, free: 68.06 MB / 474.7 MB Notification: Performance of Templates: time 0.1113/2.828, allocations: 61.4 MB / 1.153 GB, free: 65.03 MB / 474.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