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.001037/0.001037, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.513/1.513, allocations: 225.6 MB / 234.8 MB, free: 3.188 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008531/0.000853, allocations: 97.34 kB / 286.7 MB, free: 5.285 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.185e-05/2.194e-05, allocations: 7.984 kB / 343.7 MB, free: 8.191 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09363/0.09367, allocations: 51.48 MB / 395.2 MB, free: 4.676 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3883/0.482, allocations: 154.1 MB / 0.5364 GB, free: 4.062 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002561/0.4823, allocations: 109.4 kB / 0.5365 GB, free: 4 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.688/2.171, allocations: 473.5 MB / 0.9989 GB, free: 34.92 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.635e-06/2.171, allocations: 0 / 0.9989 GB, free: 34.92 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.001608/2.172, allocations: 332 kB / 0.9992 GB, free: 34.89 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.04622/2.219, allocations: 13.23 MB / 1.012 GB, free: 30.81 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/2.219, allocations: 10.72 kB / 1.012 GB, free: 30.81 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03171/2.25, allocations: 5.846 MB / 1.018 GB, free: 30.02 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03161/2.282, allocations: 11.71 MB / 1.029 GB, free: 28.29 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009347/2.283, allocations: 453.6 kB / 1.03 GB, free: 28.29 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005874/2.289, allocations: 0.8008 MB / 1.031 GB, free: 28.28 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03795/2.327, allocations: 17.54 MB / 1.048 GB, free: 23.89 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06257/2.39, allocations: 19.97 MB / 1.067 GB, free: 10.84 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007966/2.39, allocations: 30.59 kB / 1.067 GB, free: 10.82 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004859/2.395, allocations: 12 kB / 1.067 GB, free: 10.81 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001191/2.396, allocations: 0.9726 MB / 1.068 GB, free: 9.949 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4655/2.862, allocations: 72.1 MB / 1.139 GB, free: 38.57 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03585/2.898, allocations: 42.18 MB / 1.18 GB, free: 19.39 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009843/2.908, allocations: 5.103 MB / 1.185 GB, free: 19.32 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02864/2.936, allocations: 13.39 MB / 1.198 GB, free: 17.99 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.971e-05/2.937, allocations: 87.88 kB / 1.198 GB, free: 17.95 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=502): time 8.847e-06/2.937, allocations: 0 / 1.198 GB, free: 17.95 MB / 0.4948 GB Notification: Performance of matching and sorting (n=510): time 0.05506/2.992, allocations: 23.58 MB / 1.221 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.942e-05/2.992, allocations: 138.4 kB / 1.221 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006453/2.998, allocations: 4.37 MB / 1.225 GB, free: 9.516 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009029/2.999, allocations: 29.55 kB / 1.225 GB, free: 9.484 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002794/3.002, allocations: 6.142 MB / 1.231 GB, free: 4.863 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002002/3.004, allocations: 1.673 MB / 1.233 GB, free: 3.559 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004267/3.004, allocations: 1.719 kB / 1.233 GB, free: 3.559 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004256/3.005, allocations: 0.6059 MB / 1.234 GB, free: 3.121 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004403/3.009, allocations: 3.576 MB / 1.237 GB, free: 1.652 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006462/3.016, allocations: 6.317 MB / 1.243 GB, free: 12.66 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01524/3.031, allocations: 6.613 MB / 1.25 GB, free: 10.47 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001192/3.031, allocations: 28.16 kB / 1.25 GB, free: 10.47 MB / 0.5105 GB Notification: Performance of matching and sorting (n=960) (initialization): time 0.02971/3.061, allocations: 12.98 MB / 1.262 GB, free: 6.328 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.377e-05/3.061, allocations: 45.53 kB / 1.262 GB, free: 6.328 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00015/3.061, allocations: 91.22 kB / 1.263 GB, free: 6.328 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003899/3.065, allocations: 1.481 MB / 1.264 GB, free: 5.949 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006621/3.072, allocations: 1.697 MB / 1.266 GB, free: 5.895 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02247/3.094, allocations: 17.24 MB / 1.282 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006776/3.101, allocations: 328.7 kB / 1.283 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001377/3.102, allocations: 364.3 kB / 1.283 GB, free: 9.922 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,53.5%) 64} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001219/3.104, allocations: 348.6 kB / 1.283 GB, free: 9.66 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001314/3.105, allocations: 0.5681 MB / 1.284 GB, free: 9.09 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02197/3.127, allocations: 10.58 MB / 1.294 GB, free: 0.5352 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.3806/3.508, allocations: 8.076 MB / 1.302 GB, free: 91.52 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.143e-05/3.508, allocations: 18.16 kB / 1.302 GB, free: 91.52 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001128/3.508, allocations: 24.38 kB / 1.302 GB, free: 91.52 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04493/3.553, allocations: 20.68 MB / 1.322 GB, free: 90.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.202e-05/3.553, allocations: 6.25 kB / 1.322 GB, free: 90.41 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004134/3.557, allocations: 0.9055 MB / 1.323 GB, free: 90.41 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00421/3.561, allocations: 1.509 MB / 1.325 GB, free: 90.35 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007976/3.562, allocations: 56.83 kB / 1.325 GB, free: 90.35 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02163/3.584, allocations: 20.34 MB / 1.345 GB, free: 81.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.798e-06/3.584, allocations: 12.84 kB / 1.345 GB, free: 81.64 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02966/3.613, allocations: 16.01 MB / 1.36 GB, free: 79.52 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004264/3.618, allocations: 1.367 MB / 1.362 GB, free: 79.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001513/3.619, allocations: 16.73 kB / 1.362 GB, free: 79.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003952/3.623, allocations: 272.2 kB / 1.362 GB, free: 79.42 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001108/3.624, allocations: 408.3 kB / 1.362 GB, free: 79.41 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003807/3.625, allocations: 152.6 kB / 1.363 GB, free: 79.41 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005522/3.63, allocations: 3.205 MB / 1.366 GB, free: 79.23 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.3e-07/3.63, allocations: 1.031 kB / 1.366 GB, free: 79.23 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01105/3.641, allocations: 2.134 MB / 1.368 GB, free: 79.23 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,50.7%) 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.001647/3.643, allocations: 0.4966 MB / 1.368 GB, free: 79.12 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01575/3.659, allocations: 9.568 MB / 1.378 GB, free: 78.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.494e-05/3.659, allocations: 4.469 kB / 1.378 GB, free: 78.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.008865/3.668, allocations: 5.365 MB / 1.383 GB, free: 77.48 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007389/3.675, allocations: 1.197 MB / 1.384 GB, free: 77.45 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03999/3.715, allocations: 21.22 MB / 1.405 GB, free: 69.47 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01248/3.728, allocations: 9.09 MB / 1.414 GB, free: 66.37 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.007726/3.735, allocations: 2.502 MB / 1.416 GB, free: 66.14 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001527/3.737, allocations: 434.2 kB / 1.416 GB, free: 66.12 MB / 0.5261 GB Notification: Performance of SimCode: time 1.052e-06/3.737, allocations: 0 / 1.416 GB, free: 66.12 MB / 0.5261 GB Notification: Performance of Templates: time 0.4632/4.2, allocations: 86.28 MB / 1.501 GB, free: 85.82 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