Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.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.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_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001103/0.001103, allocations: 196.5 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.289/1.289, allocations: 225.4 MB / 240.1 MB, free: 15.04 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008401/0.0008402, allocations: 94.61 kB / 292.1 MB, free: 6.012 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.154e-05/3.179e-05, allocations: 4 kB / 350.6 MB, free: 2.504 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08367/0.08372, allocations: 51.49 MB / 402.1 MB, free: 14.97 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.393/0.4768, allocations: 115.6 MB / 0.5055 GB, free: 6.359 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/0.4771, allocations: 104.4 kB / 0.5056 GB, free: 6.301 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6708/1.148, allocations: 189.6 MB / 0.6908 GB, free: 48.13 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.515e-06/1.148, allocations: 0 / 0.6908 GB, free: 48.13 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0009309/1.149, allocations: 194.6 kB / 0.691 GB, free: 48.1 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.02368/1.173, allocations: 7.675 MB / 0.6985 GB, free: 40.48 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/1.173, allocations: 8.031 kB / 0.6985 GB, free: 40.48 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01108/1.184, allocations: 1.91 MB / 0.7004 GB, free: 38.55 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01794/1.202, allocations: 7.014 MB / 0.7073 GB, free: 31.47 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000568/1.202, allocations: 0.594 MB / 0.7078 GB, free: 30.87 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002915/1.205, allocations: 0.785 MB / 0.7086 GB, free: 30.09 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02629/1.232, allocations: 10.76 MB / 0.7191 GB, free: 19.08 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000287/1.232, allocations: 15.84 kB / 0.7191 GB, free: 19.06 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001948/1.234, allocations: 340 kB / 0.7194 GB, free: 18.73 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000274/1.234, allocations: 368.3 kB / 0.7198 GB, free: 18.37 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01924/1.253, allocations: 8.999 MB / 0.7286 GB, free: 9.352 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3578/1.611, allocations: 34.69 MB / 0.7625 GB, free: 36.39 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01668/1.628, allocations: 20.86 MB / 0.7828 GB, free: 20.61 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01262/1.641, allocations: 4.894 MB / 0.7876 GB, free: 20.55 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0204/1.661, allocations: 10.7 MB / 0.7981 GB, free: 19 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.871e-05/1.661, allocations: 67.19 kB / 0.7981 GB, free: 18.95 MB / 442.7 MB Notification: Performance of pre-optimization done (n=317): time 6.342e-06/1.661, allocations: 0 / 0.7981 GB, free: 18.95 MB / 442.7 MB Notification: Performance of matching and sorting (n=323): time 0.02018/1.681, allocations: 10.52 MB / 0.8084 GB, free: 17.01 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/1.681, allocations: 85.03 kB / 0.8085 GB, free: 16.94 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008479/1.69, allocations: 3.847 MB / 0.8122 GB, free: 16.62 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007583/1.691, allocations: 88.2 kB / 0.8123 GB, free: 16.59 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002883/1.694, allocations: 3.55 MB / 0.8158 GB, free: 15.18 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001486/1.695, allocations: 1.095 MB / 0.8169 GB, free: 14.48 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005876/1.696, allocations: 74.44 kB / 0.8169 GB, free: 14.45 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003133/1.696, allocations: 462.2 kB / 0.8174 GB, free: 14.08 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002854/1.699, allocations: 1.745 MB / 0.8191 GB, free: 13.38 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002994/1.702, allocations: 2.767 MB / 0.8218 GB, free: 11.45 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003125/1.705, allocations: 2.238 MB / 0.824 GB, free: 10.57 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.676e-05/1.705, allocations: 9.438 kB / 0.824 GB, free: 10.57 MB / 442.7 MB Notification: Performance of matching and sorting (n=490) (initialization): time 0.008958/1.714, allocations: 6.057 MB / 0.8299 GB, free: 8.223 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.748e-05/1.714, allocations: 18.72 kB / 0.8299 GB, free: 8.223 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-05/1.714, allocations: 29.88 kB / 0.8299 GB, free: 8.223 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002251/1.716, allocations: 0.9744 MB / 0.8309 GB, free: 7.906 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003019/1.719, allocations: 0.8021 MB / 0.8317 GB, free: 7.875 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01482/1.734, allocations: 16.24 MB / 0.8475 GB, free: 11.31 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004224/1.739, allocations: 180.5 kB / 0.8477 GB, free: 11.24 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006831/1.739, allocations: 162.8 kB / 0.8479 GB, free: 11.21 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 140 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (422): * Single equations (assignments): 413 * 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%) 8,(1,100.0%) 1,(3,100.0%) 23,(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2,(4,81.2%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000743/1.74, allocations: 345.2 kB / 0.8482 GB, free: 10.97 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001039/1.741, allocations: 464.1 kB / 0.8486 GB, free: 10.73 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009688/1.751, allocations: 5.73 MB / 0.8542 GB, free: 8.285 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.623e-05/1.751, allocations: 33.09 kB / 0.8543 GB, free: 8.285 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.62e-05/1.751, allocations: 21.72 kB / 0.8543 GB, free: 8.281 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.203e-05/1.751, allocations: 20.17 kB / 0.8543 GB, free: 8.281 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02279/1.774, allocations: 12.83 MB / 0.8668 GB, free: 2.84 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.255e-05/1.774, allocations: 3.844 kB / 0.8668 GB, free: 2.84 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001705/1.776, allocations: 371.5 kB / 0.8672 GB, free: 2.828 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004288/1.78, allocations: 1.539 MB / 0.8687 GB, free: 2.348 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005209/1.78, allocations: 92.98 kB / 0.8688 GB, free: 2.297 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02717/1.808, allocations: 25.3 MB / 0.8935 GB, free: 14.12 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/1.808, allocations: 4 kB / 0.8935 GB, free: 14.12 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01436/1.822, allocations: 8.532 MB / 0.9018 GB, free: 6.203 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002808/1.825, allocations: 0.9629 MB / 0.9028 GB, free: 5.316 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001145/1.826, allocations: 79.66 kB / 0.9028 GB, free: 5.242 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002577/1.829, allocations: 186.5 kB / 0.903 GB, free: 5.094 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007644/1.829, allocations: 328.3 kB / 0.9033 GB, free: 4.895 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002278/1.83, allocations: 87.03 kB / 0.9034 GB, free: 4.816 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005091/1.835, allocations: 2.933 MB / 0.9063 GB, free: 2.18 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.51e-07/1.835, allocations: 0 / 0.9063 GB, free: 2.18 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006664/1.841, allocations: 1.498 MB / 0.9077 GB, free: 0.6914 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (190): * Single equations (assignments): 181 * 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 {(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12,(1,100.0%) 1,(6,80.6%) 46,(3,100.0%) 23,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001173/1.843, allocations: 0.5931 MB / 0.9083 GB, free: 200 kB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01431/1.857, allocations: 5.963 MB / 0.9141 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.694e-06/1.857, allocations: 0 / 0.9141 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.006514/1.863, allocations: 4.054 MB / 0.9181 GB, free: 8.25 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006814/1.87, allocations: 1.174 MB / 0.9192 GB, free: 7.34 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3489/2.219, allocations: 12.08 MB / 0.931 GB, free: 97.7 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005997/2.225, allocations: 5.254 MB / 0.9362 GB, free: 96.85 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004194/2.23, allocations: 0.9975 MB / 0.9371 GB, free: 96.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008137/2.23, allocations: 276 kB / 0.9374 GB, free: 96.8 MB / 0.4948 GB Notification: Performance of SimCode: time 1.213e-06/2.23, allocations: 0 / 0.9374 GB, free: 96.8 MB / 0.4948 GB Notification: Performance of Templates: time 0.1424/2.373, allocations: 74.22 MB / 1.01 GB, free: 89.81 MB / 0.4948 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches