Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.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.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Itr|Iqs",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Itr|Iqs",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001228/0.001228, allocations: 195.1 kB / 14.16 MB, free: 1.152 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.317/1.317, allocations: 225.4 MB / 240.1 MB, free: 15.1 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008755/0.0008755, allocations: 86.59 kB / 292.1 MB, free: 5.926 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.87e-05/2.874e-05, allocations: 4 kB / 350.6 MB, free: 2.496 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09366/0.09371, allocations: 51.49 MB / 402.1 MB, free: 14.96 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.376/0.4698, allocations: 154.7 MB / 0.5437 GB, free: 15.68 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002827/0.4701, allocations: 101 kB / 0.5438 GB, free: 15.62 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.723/2.193, allocations: 478.5 MB / 1.011 GB, free: 35.26 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.733e-06/2.193, allocations: 0 / 1.011 GB, free: 35.26 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.001162/2.194, allocations: 332.5 kB / 1.011 GB, free: 35.21 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3921 * Number of variables: 3921 Notification: Performance of Generate backend data structure: time 0.04548/2.24, allocations: 13.24 MB / 1.024 GB, free: 31.13 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/2.24, allocations: 11.53 kB / 1.024 GB, free: 31.13 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03268/2.273, allocations: 5.854 MB / 1.03 GB, free: 30.34 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03024/2.303, allocations: 11.7 MB / 1.042 GB, free: 27.2 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001121/2.304, allocations: 1.029 MB / 1.043 GB, free: 26.74 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005719/2.31, allocations: 1.354 MB / 1.044 GB, free: 26.29 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05996/2.37, allocations: 22.17 MB / 1.065 GB, free: 11.72 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008257/2.371, allocations: 19.81 kB / 1.066 GB, free: 11.7 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005387/2.376, allocations: 0.585 MB / 1.066 GB, free: 11.13 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001142/2.377, allocations: 0.9759 MB / 1.067 GB, free: 10.27 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0513/2.428, allocations: 19.89 MB / 1.086 GB, free: 10.58 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5406/2.969, allocations: 73.4 MB / 1.158 GB, free: 31.04 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03655/3.006, allocations: 42.43 MB / 1.2 GB, free: 27.8 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007801/3.013, allocations: 5.09 MB / 1.205 GB, free: 27.73 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02669/3.04, allocations: 13.07 MB / 1.217 GB, free: 21.93 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.428e-05/3.04, allocations: 86 kB / 1.217 GB, free: 21.86 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=502): time 8.176e-06/3.04, allocations: 3.125 kB / 1.217 GB, free: 21.86 MB / 0.5105 GB Notification: Performance of matching and sorting (n=510): time 0.03237/3.073, allocations: 18.84 MB / 1.236 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.339e-05/3.073, allocations: 128 kB / 1.236 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007435/3.08, allocations: 5.018 MB / 1.241 GB, free: 10.79 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0009269/3.081, allocations: 105.5 kB / 1.241 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003217/3.084, allocations: 6.152 MB / 1.247 GB, free: 6.086 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00183/3.086, allocations: 1.738 MB / 1.249 GB, free: 4.75 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000531/3.087, allocations: 150.6 kB / 1.249 GB, free: 4.633 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003908/3.087, allocations: 0.6069 MB / 1.249 GB, free: 4.195 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004778/3.092, allocations: 3.517 MB / 1.253 GB, free: 2.812 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006932/3.099, allocations: 6.293 MB / 1.259 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007169/3.106, allocations: 4.923 MB / 1.264 GB, free: 11.87 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.987e-05/3.106, allocations: 28.56 kB / 1.264 GB, free: 11.87 MB / 0.5261 GB Notification: Performance of matching and sorting (n=960) (initialization): time 0.0214/3.128, allocations: 11.79 MB / 1.275 GB, free: 7.656 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.773e-05/3.128, allocations: 43.03 kB / 1.275 GB, free: 7.656 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001623/3.128, allocations: 96.91 kB / 1.275 GB, free: 7.652 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004071/3.132, allocations: 1.496 MB / 1.277 GB, free: 7.273 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00648/3.139, allocations: 1.644 MB / 1.278 GB, free: 7.102 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3589/3.498, allocations: 17.82 MB / 1.296 GB, free: 86.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007024/3.505, allocations: 433.4 kB / 1.296 GB, free: 86.25 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001742/3.506, allocations: 364.9 kB / 1.297 GB, free: 86.25 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 417 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (860): * Single equations (assignments): 850 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * 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: 5 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 1,(12,52.8%) 64} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002781/3.509, allocations: 0.5719 MB / 1.297 GB, free: 86.15 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002136/3.511, allocations: 0.5992 MB / 1.298 GB, free: 86.15 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01576/3.527, allocations: 9.151 MB / 1.307 GB, free: 85.64 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008371/3.535, allocations: 5.765 MB / 1.312 GB, free: 85.46 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-05/3.536, allocations: 18 kB / 1.312 GB, free: 85.46 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.017e-05/3.536, allocations: 28.97 kB / 1.312 GB, free: 85.46 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04197/3.578, allocations: 20.88 MB / 1.333 GB, free: 84.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.258e-05/3.578, allocations: 8.922 kB / 1.333 GB, free: 84.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004311/3.582, allocations: 0.8517 MB / 1.334 GB, free: 84.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004908/3.587, allocations: 1.54 MB / 1.335 GB, free: 84.14 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001069/3.588, allocations: 128.4 kB / 1.335 GB, free: 84.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02381/3.612, allocations: 20.99 MB / 1.356 GB, free: 74.97 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.626e-06/3.612, allocations: 11 kB / 1.356 GB, free: 74.97 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02075/3.633, allocations: 14.29 MB / 1.37 GB, free: 71.57 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004423/3.637, allocations: 1.365 MB / 1.371 GB, free: 70.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001766/3.639, allocations: 107.3 kB / 1.371 GB, free: 70.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004212/3.643, allocations: 299 kB / 1.371 GB, free: 70.77 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001159/3.644, allocations: 412.9 kB / 1.372 GB, free: 70.71 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004019/3.645, allocations: 152.1 kB / 1.372 GB, free: 70.68 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.007392/3.652, allocations: 3.763 MB / 1.376 GB, free: 69.26 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.01e-07/3.652, allocations: 0 / 1.376 GB, free: 69.26 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01403/3.666, allocations: 2.388 MB / 1.378 GB, free: 69.03 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (loadInertiaQS.w,quadraticLoadTorqueQS.phi,imcQS.rotorCage.port_p.reference.gamma,imc.inertiaRotor.w,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.zeroInductor.i0,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (439): * Single equations (assignments): 428 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 1,(12,52.1%) 64,(1,100.0%) 1,(1,100.0%) 5,(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.002168/3.668, allocations: 0.7346 MB / 1.379 GB, free: 68.78 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01572/3.684, allocations: 9.596 MB / 1.388 GB, free: 64.93 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.928e-06/3.684, allocations: 3.062 kB / 1.388 GB, free: 64.93 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.008347/3.693, allocations: 5.344 MB / 1.393 GB, free: 62.4 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008048/3.701, allocations: 1.495 MB / 1.395 GB, free: 62.04 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04826/3.749, allocations: 21.24 MB / 1.416 GB, free: 53.75 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01701/3.766, allocations: 9.092 MB / 1.424 GB, free: 47.38 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.009485/3.776, allocations: 2.514 MB / 1.427 GB, free: 45.74 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002034/3.778, allocations: 456.5 kB / 1.427 GB, free: 45.32 MB / 0.5261 GB Notification: Performance of SimCode: time 1.703e-06/3.778, allocations: 0 / 1.427 GB, free: 45.32 MB / 0.5261 GB Notification: Performance of Templates: time 0.5442/4.322, allocations: 99.23 MB / 1.524 GB, free: 74.05 MB / 0.5261 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_DOL/IMC_DOL.csv","../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches