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.001355/0.001355, allocations: 202.2 kB / 17.08 MB, free: 5.059 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.171/1.171, allocations: 227.2 MB / 245 MB, free: 7.477 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008879/0.0008879, allocations: 104.3 kB / 297.3 MB, free: 6.188 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001959/0.0001959, allocations: 8 kB / 358 MB, free: 9.504 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1797/0.1799, allocations: 51.47 MB / 409.4 MB, free: 26.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2811/0.4611, allocations: 115.7 MB / 0.5128 GB, free: 46.31 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002477/0.4613, allocations: 104.3 kB / 0.5129 GB, free: 46.31 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5772/1.039, allocations: 189.5 MB / 0.698 GB, free: 64.65 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.974e-06/1.039, allocations: 0 / 0.698 GB, free: 64.65 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0006618/1.039, allocations: 194.1 kB / 0.6982 GB, free: 64.63 MB / 474.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.02262/1.062, allocations: 8.436 MB / 0.7064 GB, free: 61.91 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/1.062, allocations: 9.938 kB / 0.7064 GB, free: 61.91 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009816/1.072, allocations: 1.926 MB / 0.7083 GB, free: 61.43 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01537/1.087, allocations: 7.047 MB / 0.7152 GB, free: 60.46 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005201/1.088, allocations: 0.5917 MB / 0.7158 GB, free: 60.44 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002663/1.09, allocations: 0.7911 MB / 0.7166 GB, free: 60.43 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01998/1.11, allocations: 10.97 MB / 0.7273 GB, free: 59.58 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001542/1.111, allocations: 9.875 kB / 0.7273 GB, free: 59.58 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007606/1.111, allocations: 340.8 kB / 0.7276 GB, free: 59.58 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002187/1.112, allocations: 365.3 kB / 0.728 GB, free: 59.56 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01555/1.127, allocations: 9.315 MB / 0.7371 GB, free: 59.47 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04689/1.174, allocations: 34.72 MB / 0.771 GB, free: 47.45 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01386/1.188, allocations: 21.05 MB / 0.7915 GB, free: 28.91 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01163/1.2, allocations: 8.353 MB / 0.7997 GB, free: 24.34 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.135e-05/1.2, allocations: 72 kB / 0.7997 GB, free: 24.28 MB / 474.7 MB Notification: Performance of pre-optimization done (n=337): time 4.759e-06/1.2, allocations: 4 kB / 0.7997 GB, free: 24.27 MB / 474.7 MB Notification: Performance of matching and sorting (n=419): time 0.04062/1.24, allocations: 20.77 MB / 0.82 GB, free: 15.44 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.812e-05/1.24, allocations: 94.45 kB / 0.8201 GB, free: 15.37 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005198/1.246, allocations: 3.863 MB / 0.8239 GB, free: 12.08 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003278/1.246, allocations: 100.2 kB / 0.824 GB, free: 11.98 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002094/1.248, allocations: 3.521 MB / 0.8274 GB, free: 8.852 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001128/1.249, allocations: 1.392 MB / 0.8288 GB, free: 7.594 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002447/1.249, allocations: 88 kB / 0.8289 GB, free: 7.508 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000262/1.25, allocations: 490 kB / 0.8293 GB, free: 7.078 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003405/1.253, allocations: 2.295 MB / 0.8316 GB, free: 5.117 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003744/1.257, allocations: 3.326 MB / 0.8348 GB, free: 1.77 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005429/1.262, allocations: 2.974 MB / 0.8377 GB, free: 15.63 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.541e-05/1.262, allocations: 8 kB / 0.8377 GB, free: 15.62 MB / 490.7 MB Notification: Performance of matching and sorting (n=578) (initialization): time 0.01177/1.274, allocations: 7.693 MB / 0.8452 GB, free: 9.027 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.013e-05/1.274, allocations: 16 kB / 0.8453 GB, free: 9.012 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.373e-05/1.274, allocations: 35.95 kB / 0.8453 GB, free: 8.977 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00348/1.278, allocations: 1.502 MB / 0.8468 GB, free: 7.711 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003472/1.281, allocations: 0.8799 MB / 0.8476 GB, free: 6.965 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2281/1.509, allocations: 25.01 MB / 0.872 GB, free: 65.85 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003786/1.513, allocations: 218.1 kB / 0.8723 GB, free: 65.85 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003532/1.514, allocations: 186.2 kB / 0.8724 GB, free: 65.85 MB / 490.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 (451): * Single equations (assignments): 440 * 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: 9 * 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: 9 {(1,100.0%) 5,(1,100.0%) 1,(6,72.2%) 46,(2,100.0%) 12,(1,100.0%) 1,(3,100.0%) 23,(1,100.0%) 2,(1,100.0%) 2,(4,56.2%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004312/1.518, allocations: 2.682 MB / 0.8751 GB, free: 65.73 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008281/1.519, allocations: 487.5 kB / 0.8755 GB, free: 65.73 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01063/1.529, allocations: 7.514 MB / 0.8829 GB, free: 65.19 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.28e-05/1.529, allocations: 46.2 kB / 0.8829 GB, free: 65.19 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.978e-05/1.529, allocations: 32.44 kB / 0.8829 GB, free: 65.19 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.774e-05/1.529, allocations: 17.67 kB / 0.8829 GB, free: 65.19 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02178/1.551, allocations: 15.84 MB / 0.8984 GB, free: 64.14 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.279e-05/1.551, allocations: 6.031 kB / 0.8984 GB, free: 64.14 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001906/1.553, allocations: 471.5 kB / 0.8989 GB, free: 64.14 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004318/1.557, allocations: 2.091 MB / 0.9009 GB, free: 64.04 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002655/1.558, allocations: 112.2 kB / 0.901 GB, free: 64.04 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02938/1.587, allocations: 34.38 MB / 0.9346 GB, free: 45.33 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.274e-06/1.587, allocations: 11 kB / 0.9346 GB, free: 45.33 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01495/1.602, allocations: 11.23 MB / 0.9456 GB, free: 40.16 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002913/1.605, allocations: 1.096 MB / 0.9466 GB, free: 39.46 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008624/1.606, allocations: 101.5 kB / 0.9467 GB, free: 39.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002303/1.608, allocations: 224.7 kB / 0.947 GB, free: 39.35 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009634/1.609, allocations: 440.5 kB / 0.9474 GB, free: 39.29 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002525/1.61, allocations: 116.9 kB / 0.9475 GB, free: 39.26 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004018/1.614, allocations: 2.962 MB / 0.9504 GB, free: 38.14 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/1.614, allocations: 0 / 0.9504 GB, free: 38.14 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005576/1.619, allocations: 1.673 MB / 0.952 GB, free: 37.97 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (226): * Single equations (assignments): 215 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(6,72.2%) 45,(2,100.0%) 12,(1,100.0%) 1,(6,72.2%) 46,(3,100.0%) 23,(2,100.0%) 12,(1,100.0%) 5,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000842/1.62, allocations: 0.5099 MB / 0.9525 GB, free: 37.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00898/1.629, allocations: 7.507 MB / 0.9598 GB, free: 34.21 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/1.629, allocations: 0 / 0.9598 GB, free: 34.21 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006671/1.636, allocations: 5.498 MB / 0.9652 GB, free: 31.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005505/1.641, allocations: 1.2 MB / 0.9664 GB, free: 30.9 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02825/1.67, allocations: 18.54 MB / 0.9845 GB, free: 20.98 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005583/1.675, allocations: 5.436 MB / 0.9898 GB, free: 19.13 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003774/1.679, allocations: 1.057 MB / 0.9908 GB, free: 19 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008349/1.68, allocations: 291.4 kB / 0.9911 GB, free: 18.98 MB / 490.7 MB Notification: Performance of SimCode: time 1.233e-06/1.68, allocations: 0 / 0.9911 GB, free: 18.98 MB / 490.7 MB Notification: Performance of Templates: time 0.3241/2.004, allocations: 83.07 MB / 1.072 GB, free: 66.45 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