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.00178/0.00178, allocations: 200.8 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.555/1.555, allocations: 225.6 MB / 234.8 MB, free: 3.305 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008249/0.000825, allocations: 86.73 kB / 286.7 MB, free: 5.27 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.93e-05/1.933e-05, allocations: 4 kB / 343.7 MB, free: 8.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08805/0.08808, allocations: 51.47 MB / 395.2 MB, free: 4.758 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3535/0.4417, allocations: 114.9 MB / 0.4982 GB, free: 10.82 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002606/0.442, allocations: 98.75 kB / 0.4983 GB, free: 10.76 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6341/1.076, allocations: 187.4 MB / 0.6813 GB, free: 52.26 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.392e-06/1.076, allocations: 0 / 0.6813 GB, free: 52.26 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0007679/1.077, allocations: 193.5 kB / 0.6815 GB, free: 52.23 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.02319/1.1, allocations: 7.676 MB / 0.689 GB, free: 47.49 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/1.1, allocations: 10.47 kB / 0.689 GB, free: 47.49 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01158/1.112, allocations: 1.906 MB / 0.6908 GB, free: 46.57 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01859/1.13, allocations: 6.998 MB / 0.6977 GB, free: 41.97 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004902/1.131, allocations: 258.8 kB / 0.6979 GB, free: 41.97 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00297/1.134, allocations: 481 kB / 0.6984 GB, free: 41.95 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01987/1.154, allocations: 8.517 MB / 0.7067 GB, free: 33.45 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02963/1.184, allocations: 9.601 MB / 0.7161 GB, free: 23.61 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004363/1.184, allocations: 7.938 kB / 0.7161 GB, free: 23.6 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002469/1.186, allocations: 4 kB / 0.7161 GB, free: 23.6 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003008/1.187, allocations: 368.3 kB / 0.7164 GB, free: 23.23 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3164/1.503, allocations: 33.14 MB / 0.7488 GB, free: 44.38 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01473/1.518, allocations: 20.65 MB / 0.769 GB, free: 28.66 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007872/1.526, allocations: 4.745 MB / 0.7736 GB, free: 28.61 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01658/1.543, allocations: 10.44 MB / 0.7838 GB, free: 27.2 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.122e-05/1.543, allocations: 72.61 kB / 0.7839 GB, free: 27.15 MB / 442.7 MB Notification: Performance of pre-optimization done (n=317): time 6.232e-06/1.543, allocations: 0 / 0.7839 GB, free: 27.15 MB / 442.7 MB Notification: Performance of matching and sorting (n=323): time 0.02469/1.567, allocations: 11.42 MB / 0.795 GB, free: 25.4 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/1.567, allocations: 83.52 kB / 0.7951 GB, free: 25.33 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008019/1.575, allocations: 3.154 MB / 0.7982 GB, free: 25.04 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003476/1.576, allocations: 28.11 kB / 0.7982 GB, free: 25.01 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003029/1.579, allocations: 3.546 MB / 0.8017 GB, free: 23.5 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001062/1.58, allocations: 1.048 MB / 0.8027 GB, free: 22.8 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003359/1.58, allocations: 0 / 0.8027 GB, free: 22.8 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0008861/1.581, allocations: 461 kB / 0.8031 GB, free: 38.5 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002883/1.584, allocations: 1.67 MB / 0.8048 GB, free: 38.49 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00333/1.587, allocations: 2.674 MB / 0.8074 GB, free: 37.35 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005873/1.593, allocations: 2.641 MB / 0.8099 GB, free: 37.3 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.311e-05/1.593, allocations: 9.562 kB / 0.81 GB, free: 37.3 MB / 458.7 MB Notification: Performance of matching and sorting (n=490) (initialization): time 0.01299/1.606, allocations: 6.103 MB / 0.8159 GB, free: 36.3 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.043e-05/1.606, allocations: 18.36 kB / 0.8159 GB, free: 36.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.011e-05/1.606, allocations: 31.56 kB / 0.816 GB, free: 36.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002386/1.609, allocations: 0.959 MB / 0.8169 GB, free: 36 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003004/1.612, allocations: 0.8019 MB / 0.8177 GB, free: 35.97 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01541/1.627, allocations: 15.67 MB / 0.833 GB, free: 23.99 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004444/1.632, allocations: 107.1 kB / 0.8331 GB, free: 23.99 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009235/1.633, allocations: 160.4 kB / 0.8332 GB, free: 23.96 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.001568/1.634, allocations: 213.9 kB / 0.8334 GB, free: 23.82 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001695/1.636, allocations: 416.3 kB / 0.8338 GB, free: 23.61 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01292/1.649, allocations: 5.891 MB / 0.8396 GB, free: 21.3 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.78e-05/1.649, allocations: 31.44 kB / 0.8396 GB, free: 21.3 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.458e-05/1.649, allocations: 25.77 kB / 0.8396 GB, free: 21.3 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-05/1.649, allocations: 13.92 kB / 0.8397 GB, free: 21.3 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0299/1.679, allocations: 11.95 MB / 0.8513 GB, free: 16.32 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.309e-05/1.679, allocations: 4.969 kB / 0.8513 GB, free: 16.32 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001774/1.681, allocations: 373.1 kB / 0.8517 GB, free: 16.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003789/1.685, allocations: 1.501 MB / 0.8532 GB, free: 15.83 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004198/1.685, allocations: 47.7 kB / 0.8532 GB, free: 15.81 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02645/1.712, allocations: 24.47 MB / 0.8771 GB, free: 14.01 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.932e-06/1.712, allocations: 3.375 kB / 0.8771 GB, free: 14.01 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01782/1.73, allocations: 8.668 MB / 0.8856 GB, free: 9.895 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003529/1.733, allocations: 0.9051 MB / 0.8865 GB, free: 9.328 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002026/1.735, allocations: 30.52 kB / 0.8865 GB, free: 9.312 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004387/1.74, allocations: 136 kB / 0.8866 GB, free: 9.305 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001068/1.741, allocations: 319.4 kB / 0.8869 GB, free: 9.262 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004068/1.741, allocations: 93.02 kB / 0.887 GB, free: 9.238 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006024/1.747, allocations: 2.35 MB / 0.8893 GB, free: 7.914 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.9e-07/1.747, allocations: 4 kB / 0.8893 GB, free: 7.91 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008381/1.756, allocations: 1.336 MB / 0.8906 GB, free: 6.586 MB / 474.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.001275/1.757, allocations: 442.7 kB / 0.891 GB, free: 6.25 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.009323/1.766, allocations: 5.287 MB / 0.8962 GB, free: 1.375 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.05e-05/1.766, allocations: 4 kB / 0.8962 GB, free: 1.371 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00728/1.774, allocations: 3.932 MB / 0.9 GB, free: 14 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005427/1.779, allocations: 0.8555 MB / 0.9009 GB, free: 13.34 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02675/1.806, allocations: 11.73 MB / 0.9123 GB, free: 2.855 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3699/2.176, allocations: 5.671 MB / 0.9179 GB, free: 85.04 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004701/2.18, allocations: 0.9356 MB / 0.9188 GB, free: 85 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001005/2.181, allocations: 249.6 kB / 0.919 GB, free: 85 MB / 490.7 MB Notification: Performance of SimCode: time 2.355e-06/2.181, allocations: 0 / 0.919 GB, free: 85 MB / 490.7 MB Notification: Performance of Templates: time 0.1315/2.313, allocations: 58.36 MB / 0.976 GB, free: 82.25 MB / 490.7 MB 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