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.001522/0.001522, allocations: 181.2 kB / 17.01 MB, free: 5.121 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.399/1.399, allocations: 205.4 MB / 223.1 MB, free: 9.125 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.0008623/0.0008623, allocations: 92.16 kB / 271.5 MB, free: 8.379 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003294/0.0003299, allocations: 4 kB / 329.6 MB, free: 14.19 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2827/0.283, allocations: 47.57 MB / 377.2 MB, free: 46.04 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.39/0.6731, allocations: 153.2 MB / 0.5179 GB, free: 103.1 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003049/0.6734, allocations: 107.2 kB / 0.518 GB, free: 103 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.011/2.685, allocations: 466.4 MB / 0.9735 GB, free: 20.02 MB / 442.8 MB Notification: Performance of FrontEnd: time 2.875e-06/2.685, allocations: 3.875 kB / 0.9735 GB, free: 20.02 MB / 442.8 MB Notification: Performance of Transformations before backend: time 0.001436/2.686, allocations: 324.2 kB / 0.9738 GB, free: 20.02 MB / 442.8 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.05253/2.739, allocations: 14.42 MB / 0.9879 GB, free: 17.29 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/2.739, allocations: 7.75 kB / 0.9879 GB, free: 17.29 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03654/2.776, allocations: 6.747 MB / 0.9945 GB, free: 16.51 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03144/2.807, allocations: 11.49 MB / 1.006 GB, free: 15.21 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001823/2.809, allocations: 1.044 MB / 1.007 GB, free: 15.18 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007366/2.816, allocations: 1.36 MB / 1.008 GB, free: 15.17 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06858/2.885, allocations: 24.11 MB / 1.032 GB, free: 13.53 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007649/2.886, allocations: 22.72 kB / 1.032 GB, free: 13.53 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005922/2.892, allocations: 0.5831 MB / 1.032 GB, free: 13.53 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001143/2.893, allocations: 0.9336 MB / 1.033 GB, free: 13.5 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04678/2.94, allocations: 22.06 MB / 1.055 GB, free: 13.37 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1651/3.105, allocations: 77.66 MB / 1.13 GB, free: 1.605 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3666/3.471, allocations: 32.32 MB / 1.162 GB, free: 49.25 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07357/3.545, allocations: 32.66 MB / 1.194 GB, free: 48.18 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001221/3.545, allocations: 126.4 kB / 1.194 GB, free: 48.13 MB / 490.8 MB Notification: Performance of pre-optimization done (n=1021): time 2.058e-05/3.545, allocations: 0 / 1.194 GB, free: 48.13 MB / 490.8 MB Notification: Performance of matching and sorting (n=1029): time 0.2798/3.825, allocations: 94.38 MB / 1.286 GB, free: 32.37 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.755e-05/3.825, allocations: 169.9 kB / 1.286 GB, free: 32.18 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008366/3.834, allocations: 4.328 MB / 1.291 GB, free: 28.54 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.002443/3.836, allocations: 171.6 kB / 1.291 GB, free: 28.36 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002868/3.839, allocations: 5.181 MB / 1.296 GB, free: 23.78 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.005048/3.844, allocations: 3.367 MB / 1.299 GB, free: 20.73 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002114/3.846, allocations: 182.6 kB / 1.299 GB, free: 20.55 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.001159/3.847, allocations: 0.7064 MB / 1.3 GB, free: 19.96 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01386/3.861, allocations: 6.829 MB / 1.307 GB, free: 14.11 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01299/3.874, allocations: 8.553 MB / 1.315 GB, free: 6.07 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01767/3.892, allocations: 8.172 MB / 1.323 GB, free: 15.02 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.932e-05/3.892, allocations: 16 kB / 1.323 GB, free: 15 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.4241/4.316, allocations: 21.28 MB / 1.344 GB, free: 71.48 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 8.983e-05/4.316, allocations: 26.66 kB / 1.344 GB, free: 71.48 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001419/4.317, allocations: 47.12 kB / 1.344 GB, free: 71.48 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01716/4.334, allocations: 8.514 MB / 1.352 GB, free: 71.29 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006702/4.34, allocations: 1.409 MB / 1.354 GB, free: 71.29 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03088/4.371, allocations: 28.15 MB / 1.381 GB, free: 63.14 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007726/4.379, allocations: 428 kB / 1.381 GB, free: 63.14 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002283/4.381, allocations: 376.8 kB / 1.382 GB, free: 63.14 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 197 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (735): * Single equations (assignments): 706 * 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%) 8,(9,33.3%) 19,(1,100.0%) 1,(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.01128/4.393, allocations: 5.356 MB / 1.387 GB, free: 63.03 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001983/4.395, allocations: 0.7012 MB / 1.388 GB, free: 63.03 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03557/4.43, allocations: 21.43 MB / 1.409 GB, free: 62.37 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002671/4.431, allocations: 243.5 kB / 1.409 GB, free: 62.37 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.385e-05/4.431, allocations: 13.47 kB / 1.409 GB, free: 62.37 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001629/4.431, allocations: 43.59 kB / 1.409 GB, free: 62.37 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07943/4.51, allocations: 40.44 MB / 1.448 GB, free: 48.15 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-05/4.51, allocations: 7.25 kB / 1.448 GB, free: 48.15 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004868/4.515, allocations: 0.9899 MB / 1.449 GB, free: 48.12 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01843/4.534, allocations: 8.603 MB / 1.458 GB, free: 45.53 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002269/4.536, allocations: 220.5 kB / 1.458 GB, free: 45.41 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03733/4.573, allocations: 32.51 MB / 1.49 GB, free: 21.45 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.793e-06/4.573, allocations: 6.062 kB / 1.49 GB, free: 21.45 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3761/4.95, allocations: 34.21 MB / 1.523 GB, free: 73.35 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008599/4.958, allocations: 2.364 MB / 1.525 GB, free: 73.25 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003778/4.962, allocations: 161.5 kB / 1.526 GB, free: 73.25 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007117/4.969, allocations: 398.9 kB / 1.526 GB, free: 73.25 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003398/4.973, allocations: 0.7907 MB / 1.527 GB, free: 73.25 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001918/4.975, allocations: 274.2 kB / 1.527 GB, free: 73.25 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.006616/4.981, allocations: 3.313 MB / 1.53 GB, free: 73.07 MB / 0.4949 GB Notification: Performance of sort global known variables: time 4e-07/4.981, allocations: 0 / 1.53 GB, free: 73.07 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.01408/4.995, allocations: 2.65 MB / 1.533 GB, free: 73.07 MB / 0.4949 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (520): * Single equations (assignments): 490 * 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%) 13,(1,100.0%) 1,(1,100.0%) 8,(9,33.3%) 19,(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.003326/4.999, allocations: 0.6157 MB / 1.533 GB, free: 72.97 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.03404/5.033, allocations: 17.81 MB / 1.551 GB, free: 71.94 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 9.978e-06/5.033, allocations: 1.25 kB / 1.551 GB, free: 71.94 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.01829/5.051, allocations: 10.35 MB / 1.561 GB, free: 70.88 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009385/5.06, allocations: 1.571 MB / 1.562 GB, free: 70.86 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07201/5.133, allocations: 36.72 MB / 1.598 GB, free: 58.37 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02005/5.153, allocations: 9.51 MB / 1.608 GB, free: 57.2 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.009013/5.162, allocations: 2 MB / 1.61 GB, free: 56.98 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003083/5.165, allocations: 443.2 kB / 1.61 GB, free: 56.97 MB / 0.4949 GB Notification: Performance of SimCode: time 2.505e-06/5.165, allocations: 0 / 1.61 GB, free: 56.97 MB / 0.4949 GB Notification: Performance of Templates: time 0.5389/5.704, allocations: 188.6 MB / 1.794 GB, free: 43.76 MB / 0.4949 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