Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.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.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009589/0.0009589, allocations: 196.6 kB / 18.1 MB, free: 3.617 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.264/1.264, allocations: 226.5 MB / 245.4 MB, free: 6.379 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000826/0.0008259, allocations: 92.66 kB / 297.5 MB, free: 6.66 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000206/0.0002061, allocations: 11.98 kB / 358.1 MB, free: 10.03 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1763/0.1765, allocations: 51.28 MB / 409.4 MB, free: 27.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2767/0.4532, allocations: 112 MB / 0.5092 GB, free: 97.59 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002509/0.4535, allocations: 99.94 kB / 0.5093 GB, free: 97.59 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1678/0.6213, allocations: 83.8 MB / 0.5911 GB, free: 20.85 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.6214, allocations: 0 / 0.5911 GB, free: 20.85 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002279/0.6216, allocations: 79.88 kB / 0.5912 GB, free: 20.77 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.009062/0.6307, allocations: 3.521 MB / 0.5946 GB, free: 17.18 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.6307, allocations: 8.031 kB / 0.5946 GB, free: 17.17 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003748/0.6345, allocations: 0.7538 MB / 0.5954 GB, free: 16.41 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00524/0.6397, allocations: 2.731 MB / 0.598 GB, free: 13.62 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001759/0.6399, allocations: 238.8 kB / 0.5983 GB, free: 13.39 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007541/0.6407, allocations: 332.2 kB / 0.5986 GB, free: 13.07 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007659/0.6484, allocations: 4.208 MB / 0.6027 GB, free: 8.734 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001021/0.6485, allocations: 11.94 kB / 0.6027 GB, free: 8.723 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004311/0.6489, allocations: 128 kB / 0.6028 GB, free: 8.598 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001108/0.6491, allocations: 146.4 kB / 0.603 GB, free: 8.453 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005857/0.6549, allocations: 3.406 MB / 0.6063 GB, free: 5.039 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02148/0.6764, allocations: 14.02 MB / 0.62 GB, free: 6.625 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006731/0.6832, allocations: 6.671 MB / 0.6265 GB, free: 15.1 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002301/0.6855, allocations: 1.394 MB / 0.6279 GB, free: 13.71 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006673/0.6922, allocations: 3.916 MB / 0.6317 GB, free: 9.648 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.6923, allocations: 48.06 kB / 0.6317 GB, free: 9.594 MB / 410.7 MB Notification: Performance of pre-optimization done (n=134): time 3.477e-06/0.6923, allocations: 0 / 0.6317 GB, free: 9.594 MB / 410.7 MB Notification: Performance of matching and sorting (n=137): time 0.01209/0.7044, allocations: 5.91 MB / 0.6375 GB, free: 3.469 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.7045, allocations: 64.72 kB / 0.6376 GB, free: 3.391 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003506/0.708, allocations: 1.77 MB / 0.6393 GB, free: 1.621 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001217/0.7081, allocations: 49.7 kB / 0.6393 GB, free: 1.566 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001071/0.7092, allocations: 1.45 MB / 0.6408 GB, free: 100 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004611/0.7097, allocations: 485 kB / 0.6412 GB, free: 15.62 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/0.7098, allocations: 39.94 kB / 0.6413 GB, free: 15.58 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001991/0.71, allocations: 369.9 kB / 0.6416 GB, free: 15.21 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00129/0.7113, allocations: 0.6754 MB / 0.6423 GB, free: 14.54 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001489/0.7128, allocations: 1.172 MB / 0.6434 GB, free: 13.15 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002814/0.7157, allocations: 1.977 MB / 0.6454 GB, free: 10.96 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-05/0.7157, allocations: 4 kB / 0.6454 GB, free: 10.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=221) (initialization): time 0.00462/0.7203, allocations: 2.519 MB / 0.6478 GB, free: 8.395 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.404e-05/0.7204, allocations: 12 kB / 0.6478 GB, free: 8.383 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.412e-05/0.7204, allocations: 16 kB / 0.6478 GB, free: 8.367 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001065/0.7215, allocations: 360 kB / 0.6482 GB, free: 8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001363/0.7229, allocations: 371.4 kB / 0.6485 GB, free: 7.637 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007839/0.7307, allocations: 7.669 MB / 0.656 GB, free: 15.43 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00182/0.7326, allocations: 91.95 kB / 0.6561 GB, free: 15.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002765/0.7329, allocations: 68 kB / 0.6562 GB, free: 15.27 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (190): * Single equations (assignments): 185 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(1,100.0%) 7,(2,100.0%) 8,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002383/0.7353, allocations: 1.005 MB / 0.6572 GB, free: 14.25 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00048/0.7358, allocations: 189.7 kB / 0.6573 GB, free: 14.07 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00424/0.74, allocations: 2.297 MB / 0.6596 GB, free: 11.7 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.327e-05/0.74, allocations: 15.94 kB / 0.6596 GB, free: 11.68 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.839e-05/0.7401, allocations: 8 kB / 0.6596 GB, free: 11.68 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/0.7401, allocations: 3.984 kB / 0.6596 GB, free: 11.67 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01064/0.7507, allocations: 5.068 MB / 0.6646 GB, free: 6.465 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.338e-05/0.7508, allocations: 0 / 0.6646 GB, free: 6.465 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008852/0.7517, allocations: 171.8 kB / 0.6647 GB, free: 6.297 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001574/0.7533, allocations: 0.539 MB / 0.6653 GB, free: 5.742 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001271/0.7535, allocations: 43.98 kB / 0.6653 GB, free: 5.699 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1879/0.9414, allocations: 12.07 MB / 0.6771 GB, free: 86.4 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.9414, allocations: 3.719 kB / 0.6771 GB, free: 86.4 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0043/0.9457, allocations: 3.205 MB / 0.6802 GB, free: 85.92 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000806/0.9465, allocations: 426.7 kB / 0.6806 GB, free: 85.82 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002124/0.9468, allocations: 41.31 kB / 0.6807 GB, free: 85.82 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008174/0.9476, allocations: 74.52 kB / 0.6807 GB, free: 85.82 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002391/0.9478, allocations: 108.2 kB / 0.6808 GB, free: 85.82 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.171e-05/0.9479, allocations: 41.11 kB / 0.6809 GB, free: 85.82 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001897/0.9498, allocations: 1.196 MB / 0.682 GB, free: 85.71 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.9498, allocations: 8.125 kB / 0.6821 GB, free: 85.71 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00213/0.952, allocations: 0.6344 MB / 0.6827 GB, free: 85.71 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.zeroInductor.i0,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 80 * 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 {(1,100.0%) 7,(2,100.0%) 8,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004977/0.9525, allocations: 380.4 kB / 0.683 GB, free: 85.62 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002799/0.9553, allocations: 2.333 MB / 0.6853 GB, free: 85.04 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.237e-06/0.9553, allocations: 3.625 kB / 0.6853 GB, free: 85.04 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001904/0.9572, allocations: 1.735 MB / 0.687 GB, free: 84.34 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002433/0.9596, allocations: 0.5189 MB / 0.6875 GB, free: 84.33 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008393/0.9681, allocations: 7.069 MB / 0.6944 GB, free: 81.32 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001773/0.9699, allocations: 2.313 MB / 0.6967 GB, free: 80.54 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001457/0.9713, allocations: 402.9 kB / 0.6971 GB, free: 80.49 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003611/0.9717, allocations: 125.5 kB / 0.6972 GB, free: 80.48 MB / 442.7 MB Notification: Performance of SimCode: time 6.11e-07/0.9717, allocations: 0 / 0.6972 GB, free: 80.48 MB / 442.7 MB Notification: Performance of Templates: time 0.04743/1.019, allocations: 30.94 MB / 0.7274 GB, free: 78.93 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches