Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc3.is.1.|aimc3.is.2.|aimc3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.is.1.|aimcM.is.2.|aimcM.is.3.|aimcM.is.4.|aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc3.is.1.|aimc3.is.2.|aimc3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.is.1.|aimcM.is.2.|aimcM.is.3.|aimcM.is.4.|aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 180.4 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 223.2 MB / 240.3 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008242/0.0008241, allocations: 96.47 kB / 291.5 MB, free: 10.92 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003182/0.0003183, allocations: 11.94 kB / 351.1 MB, free: 15.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.201/0.2014, allocations: 50.4 MB / 401.5 MB, free: 32.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3136/0.515, allocations: 114.6 MB / 0.504 GB, free: 100.4 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002554/0.5154, allocations: 109.5 kB / 0.5041 GB, free: 100.4 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5685/1.084, allocations: 183.5 MB / 0.6833 GB, free: 51.56 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.214e-06/1.084, allocations: 6.156 kB / 0.6833 GB, free: 51.56 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000762/1.085, allocations: 197.4 kB / 0.6835 GB, free: 51.54 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: 2135 * Number of variables: 2135 Notification: Performance of Generate backend data structure: time 0.02598/1.111, allocations: 8.369 MB / 0.6916 GB, free: 48.75 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/1.111, allocations: 12.12 kB / 0.6917 GB, free: 48.74 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01021/1.121, allocations: 1.825 MB / 0.6934 GB, free: 48.27 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01666/1.138, allocations: 6.992 MB / 0.7003 GB, free: 47.32 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005501/1.138, allocations: 0.5933 MB / 0.7009 GB, free: 47.3 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002521/1.141, allocations: 0.7946 MB / 0.7016 GB, free: 47.29 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0223/1.163, allocations: 10.97 MB / 0.7123 GB, free: 46.43 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001816/1.163, allocations: 11.56 kB / 0.7124 GB, free: 46.43 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008811/1.164, allocations: 338.2 kB / 0.7127 GB, free: 46.43 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002299/1.164, allocations: 363 kB / 0.713 GB, free: 46.41 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01431/1.179, allocations: 9.324 MB / 0.7221 GB, free: 46.32 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.043/1.222, allocations: 34.53 MB / 0.7558 GB, free: 31.47 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01485/1.237, allocations: 19.88 MB / 0.7753 GB, free: 14.15 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01347/1.25, allocations: 7.97 MB / 0.783 GB, free: 10.05 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.284e-05/1.25, allocations: 79.91 kB / 0.7831 GB, free: 9.98 MB / 442.7 MB Notification: Performance of pre-optimization done (n=343): time 4.9e-06/1.25, allocations: 3.609 kB / 0.7831 GB, free: 9.98 MB / 442.7 MB Notification: Performance of matching and sorting (n=351): time 0.03621/1.286, allocations: 16.4 MB / 0.7991 GB, free: 14.68 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.981e-05/1.287, allocations: 90.17 kB / 0.7992 GB, free: 14.58 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005557/1.292, allocations: 3.842 MB / 0.803 GB, free: 11.31 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003124/1.292, allocations: 81.7 kB / 0.8031 GB, free: 11.22 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002173/1.295, allocations: 3.482 MB / 0.8065 GB, free: 8.125 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009023/1.296, allocations: 1.176 MB / 0.8076 GB, free: 7.066 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002133/1.296, allocations: 80 kB / 0.8077 GB, free: 6.988 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002252/1.296, allocations: 463 kB / 0.8081 GB, free: 6.578 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002941/1.299, allocations: 1.895 MB / 0.81 GB, free: 4.969 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003428/1.302, allocations: 2.889 MB / 0.8128 GB, free: 2.023 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003584/1.306, allocations: 2.39 MB / 0.8151 GB, free: 15.91 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.569e-05/1.306, allocations: 12 kB / 0.8151 GB, free: 15.89 MB / 474.7 MB Notification: Performance of matching and sorting (n=510) (initialization): time 0.009927/1.316, allocations: 6.194 MB / 0.8212 GB, free: 10.47 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.678e-05/1.316, allocations: 16 kB / 0.8212 GB, free: 10.45 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.173e-05/1.316, allocations: 32 kB / 0.8212 GB, free: 10.42 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002052/1.318, allocations: 0.8208 MB / 0.822 GB, free: 9.723 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003193/1.321, allocations: 0.8413 MB / 0.8229 GB, free: 9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2347/1.556, allocations: 15.49 MB / 0.838 GB, free: 71.07 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003935/1.56, allocations: 188.9 kB / 0.8382 GB, free: 71.07 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007239/1.561, allocations: 163.6 kB / 0.8383 GB, free: 71.07 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 133 * Number of states: 0 () * Number of discrete variables: 8 (booleanStepM[1].y,booleanStepM[2].y,booleanStepM[3].y,booleanStepM[4].y,booleanStepM[5].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (444): * Single equations (assignments): 435 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 23,(1,100.0%) 2,(1,100.0%) 2,(4,68.8%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005233/1.566, allocations: 2.593 MB / 0.8408 GB, free: 70.95 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001302/1.567, allocations: 466.9 kB / 0.8413 GB, free: 70.95 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01044/1.578, allocations: 5.943 MB / 0.8471 GB, free: 70.45 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.081e-05/1.578, allocations: 34.73 kB / 0.8471 GB, free: 70.45 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.322e-05/1.578, allocations: 20.56 kB / 0.8472 GB, free: 70.45 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.754e-05/1.578, allocations: 15.09 kB / 0.8472 GB, free: 70.45 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02343/1.601, allocations: 13.6 MB / 0.8605 GB, free: 69.42 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.717e-05/1.601, allocations: 6.688 kB / 0.8605 GB, free: 69.42 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00177/1.603, allocations: 430.3 kB / 0.8609 GB, free: 69.42 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003178/1.606, allocations: 1.373 MB / 0.8622 GB, free: 69.35 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002611/1.607, allocations: 105.2 kB / 0.8623 GB, free: 69.35 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0224/1.629, allocations: 24.57 MB / 0.8863 GB, free: 57.55 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.102e-06/1.629, allocations: 10.12 kB / 0.8863 GB, free: 57.55 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01325/1.642, allocations: 9.052 MB / 0.8951 GB, free: 55.99 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00295/1.645, allocations: 0.986 MB / 0.8961 GB, free: 55.86 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001319/1.647, allocations: 84.28 kB / 0.8962 GB, free: 55.86 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002803/1.65, allocations: 195 kB / 0.8964 GB, free: 55.86 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007733/1.65, allocations: 344.2 kB / 0.8967 GB, free: 55.82 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000267/1.651, allocations: 95.86 kB / 0.8968 GB, free: 55.8 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005371/1.656, allocations: 2.944 MB / 0.8997 GB, free: 54.69 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.11e-07/1.656, allocations: 3.125 kB / 0.8997 GB, free: 54.69 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005988/1.662, allocations: 1.493 MB / 0.9011 GB, free: 54.54 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 12 (aimcM.inertiaRotor.w,aimcM.stator.core.Phi.re,aimcM.stator.core.Phi.im,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].Phi.re,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].Phi.im,quadraticLoadTorqueM.phi,aimc3.inertiaRotor.w,aimc3.stator.core.Phi.re,aimc3.stator.core.Phi.im,aimc3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque3.phi) * Number of discrete variables: 8 (booleanStepM[1].y,booleanStepM[2].y,booleanStepM[3].y,booleanStepM[4].y,booleanStepM[5].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (221): * Single equations (assignments): 212 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(6,72.2%) 46,(3,100.0%) 23,(1,100.0%) 1,(2,100.0%) 12,(1,100.0%) 5,(1,100.0%) 13,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009053/1.663, allocations: 495 kB / 0.9016 GB, free: 54.39 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008172/1.671, allocations: 5.881 MB / 0.9073 GB, free: 51.64 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/1.671, allocations: 6.188 kB / 0.9074 GB, free: 51.64 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005945/1.677, allocations: 4.274 MB / 0.9115 GB, free: 49.34 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005815/1.683, allocations: 1.176 MB / 0.9127 GB, free: 49.05 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0276/1.71, allocations: 17.5 MB / 0.9298 GB, free: 39.69 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00436/1.715, allocations: 5.258 MB / 0.9349 GB, free: 37.88 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003791/1.719, allocations: 1.036 MB / 0.9359 GB, free: 37.76 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007401/1.719, allocations: 281.9 kB / 0.9362 GB, free: 37.74 MB / 474.7 MB Notification: Performance of SimCode: time 5.61e-07/1.719, allocations: 0 / 0.9362 GB, free: 37.74 MB / 474.7 MB Notification: Performance of Templates: time 0.1154/1.835, allocations: 72.53 MB / 1.007 GB, free: 8.727 MB / 490.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/ComparisonPolyphase/IMC_DOL_Polyphase/IMC_DOL_Polyphase.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches