Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001466/0.001467, allocations: 172.9 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.49/1.49, allocations: 205.2 MB / 219.8 MB, free: 14.2 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008676/0.0008672, allocations: 86.66 kB / 268 MB, free: 14.03 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.538e-05/3.542e-05, allocations: 0 / 323.5 MB, free: 16.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08113/0.08119, allocations: 47.57 MB / 371 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3696/0.4508, allocations: 153.1 MB / 0.5118 GB, free: 4.973 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003869/0.4513, allocations: 99.94 kB / 0.5119 GB, free: 4.875 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.698/2.149, allocations: 466 MB / 0.9671 GB, free: 35.97 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.665e-06/2.149, allocations: 0 / 0.9671 GB, free: 35.97 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.001551/2.151, allocations: 325.3 kB / 0.9674 GB, free: 35.92 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3951 * Number of variables: 3951 Notification: Performance of Generate backend data structure: time 0.05521/2.206, allocations: 13.58 MB / 0.9806 GB, free: 26.7 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/2.206, allocations: 12.03 kB / 0.9806 GB, free: 26.69 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03811/2.244, allocations: 6.711 MB / 0.9872 GB, free: 20.14 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03214/2.276, allocations: 11.46 MB / 0.9984 GB, free: 8.621 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001789/2.278, allocations: 1.035 MB / 0.9994 GB, free: 7.582 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007589/2.286, allocations: 1.359 MB / 1.001 GB, free: 6.223 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4852/2.771, allocations: 23.8 MB / 1.024 GB, free: 39.39 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009/2.772, allocations: 21.06 kB / 1.024 GB, free: 39.39 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00634/2.778, allocations: 0.5832 MB / 1.025 GB, free: 39.39 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002366/2.781, allocations: 0.9343 MB / 1.025 GB, free: 39.36 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0566/2.837, allocations: 21.63 MB / 1.047 GB, free: 39.24 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.158/2.995, allocations: 77.38 MB / 1.122 GB, free: 12.59 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03814/3.034, allocations: 30.55 MB / 1.152 GB, free: 6.605 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02133/3.055, allocations: 10.66 MB / 1.162 GB, free: 2.062 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08278/3.138, allocations: 33.49 MB / 1.195 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000157/3.138, allocations: 124.2 kB / 1.195 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1011): time 1.976e-05/3.138, allocations: 0 / 1.195 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1019): time 0.4801/3.618, allocations: 37.8 MB / 1.232 GB, free: 88.09 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.1e-05/3.618, allocations: 169.2 kB / 1.232 GB, free: 87.98 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009015/3.627, allocations: 4.283 MB / 1.236 GB, free: 87.64 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.003496/3.631, allocations: 166.4 kB / 1.237 GB, free: 87.61 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004334/3.635, allocations: 5.2 MB / 1.242 GB, free: 85.18 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.005018/3.64, allocations: 3.344 MB / 1.245 GB, free: 83 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001333/3.642, allocations: 173.9 kB / 1.245 GB, free: 83 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000827/3.642, allocations: 0.7058 MB / 1.246 GB, free: 82.68 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0107/3.653, allocations: 6.655 MB / 1.252 GB, free: 82.65 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01303/3.666, allocations: 8.378 MB / 1.261 GB, free: 80.96 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01388/3.68, allocations: 7.957 MB / 1.268 GB, free: 80.84 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001152/3.68, allocations: 14.06 kB / 1.268 GB, free: 80.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1251) (initialization): time 0.03973/3.72, allocations: 20.94 MB / 1.289 GB, free: 75.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.358e-05/3.72, allocations: 24.12 kB / 1.289 GB, free: 75.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.487e-05/3.72, allocations: 48.41 kB / 1.289 GB, free: 75.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01732/3.737, allocations: 8.427 MB / 1.297 GB, free: 72.99 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006584/3.744, allocations: 1.396 MB / 1.298 GB, free: 72.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03084/3.775, allocations: 27.79 MB / 1.326 GB, free: 56.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009152/3.784, allocations: 423.8 kB / 1.326 GB, free: 55.94 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003078/3.787, allocations: 374.2 kB / 1.326 GB, free: 55.86 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 199 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,booleanStepYDQS[1].y,booleanStepYDQS[2].y,booleanStepYDQS[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (727): * Single equations (assignments): 698 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 8 * 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%) 1,(1,100.0%) 8,(9,33.3%) 19,(1,100.0%) 13,(1,100.0%) 1} * Non-linear torn systems: 3 {6 9,6 9,46 263} Notification: Performance of prepare postOptimizeDAE: time 0.002837/3.79, allocations: 0.5614 MB / 1.327 GB, free: 55.48 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001984/3.792, allocations: 0.6931 MB / 1.328 GB, free: 55.11 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03542/3.828, allocations: 21.01 MB / 1.348 GB, free: 42.04 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002699/3.828, allocations: 247.5 kB / 1.348 GB, free: 41.82 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.317e-05/3.828, allocations: 12 kB / 1.348 GB, free: 41.81 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001706/3.828, allocations: 46.73 kB / 1.348 GB, free: 41.81 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07092/3.899, allocations: 39.9 MB / 1.387 GB, free: 8.391 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.487e-05/3.899, allocations: 4 kB / 1.387 GB, free: 8.387 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005823/3.905, allocations: 1.194 MB / 1.388 GB, free: 8.109 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3952/4.3, allocations: 8.527 MB / 1.397 GB, free: 88.29 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002439/4.303, allocations: 221.7 kB / 1.397 GB, free: 88.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03714/4.34, allocations: 32.02 MB / 1.428 GB, free: 77.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/4.34, allocations: 11.27 kB / 1.428 GB, free: 77.55 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05451/4.394, allocations: 31.28 MB / 1.459 GB, free: 75.23 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007676/4.402, allocations: 2.352 MB / 1.461 GB, free: 74.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003726/4.406, allocations: 159.7 kB / 1.461 GB, free: 74.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00688/4.413, allocations: 394.4 kB / 1.462 GB, free: 74.05 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003391/4.416, allocations: 0.7937 MB / 1.462 GB, free: 73.89 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002314/4.419, allocations: 271.9 kB / 1.463 GB, free: 73.82 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.007455/4.426, allocations: 3.262 MB / 1.466 GB, free: 72.59 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.91e-07/4.426, allocations: 0 / 1.466 GB, free: 72.59 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01389/4.44, allocations: 2.644 MB / 1.468 GB, free: 72.3 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 10 (imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.w,quadraticLoadTorqueQS.phi,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,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 12 (booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,booleanStepYDQS[1].y,booleanStepYDQS[2].y,booleanStepYDQS[3].y,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (510): * Single equations (assignments): 480 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 8,(9,33.3%) 19,(1,100.0%) 13,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 3 {6 9,6 9,46 263} Notification: Performance of Backend phase and start with SimCode phase: time 0.003096/4.443, allocations: 0.7458 MB / 1.469 GB, free: 72.05 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.03487/4.478, allocations: 17.41 MB / 1.486 GB, free: 64.89 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.274e-05/4.478, allocations: 3.844 kB / 1.486 GB, free: 64.89 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.02116/4.499, allocations: 10.12 MB / 1.496 GB, free: 60.44 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01192/4.511, allocations: 1.574 MB / 1.498 GB, free: 60.03 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07111/4.582, allocations: 27.23 MB / 1.524 GB, free: 37.35 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02118/4.604, allocations: 9.513 MB / 1.534 GB, free: 30.18 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01014/4.614, allocations: 1.986 MB / 1.535 GB, free: 28.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002937/4.617, allocations: 439.1 kB / 1.536 GB, free: 28.4 MB / 0.4948 GB Notification: Performance of SimCode: time 1.493e-06/4.617, allocations: 0 / 1.536 GB, free: 28.4 MB / 0.4948 GB Notification: Performance of Templates: time 0.6217/5.238, allocations: 178.7 MB / 1.71 GB, free: 22.09 MB / 0.4948 GB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD -nls=newton -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_YD/IMC_YD.csv","../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches