Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_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_cpp_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.001039/0.001039, allocations: 199.2 kB / 18.07 MB, free: 3.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.249/1.249, allocations: 226.5 MB / 245.3 MB, free: 6.516 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007213/0.0007214, allocations: 92.69 kB / 297.4 MB, free: 6.699 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002183/0.0002183, allocations: 4 kB / 357.4 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.1905, allocations: 51.28 MB / 408.7 MB, free: 27.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.28/0.4705, allocations: 115.8 MB / 0.5122 GB, free: 98.7 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002879/0.4709, allocations: 107.6 kB / 0.5123 GB, free: 98.7 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5863/1.057, allocations: 188.9 MB / 0.6967 GB, free: 40.41 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.865e-06/1.057, allocations: 0 / 0.6967 GB, free: 40.41 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0007501/1.058, allocations: 195.1 kB / 0.6969 GB, free: 40.39 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.02507/1.083, allocations: 8.345 MB / 0.705 GB, free: 37.58 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/1.083, allocations: 8.344 kB / 0.705 GB, free: 37.58 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01009/1.093, allocations: 1.93 MB / 0.7069 GB, free: 37.09 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0142/1.107, allocations: 6.416 MB / 0.7132 GB, free: 36.02 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005565/1.108, allocations: 0.5885 MB / 0.7138 GB, free: 36 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002635/1.111, allocations: 0.7922 MB / 0.7145 GB, free: 35.99 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02528/1.136, allocations: 11.04 MB / 0.7253 GB, free: 35.14 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003725/1.136, allocations: 9.062 kB / 0.7253 GB, free: 35.13 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002141/1.139, allocations: 339 kB / 0.7257 GB, free: 35.13 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003147/1.139, allocations: 370 kB / 0.726 GB, free: 35.11 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02009/1.159, allocations: 9.326 MB / 0.7351 GB, free: 35.02 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06144/1.221, allocations: 34.75 MB / 0.7691 GB, free: 20.88 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01663/1.237, allocations: 21.05 MB / 0.7896 GB, free: 2.344 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008707/1.246, allocations: 5.038 MB / 0.7945 GB, free: 0.9062 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0205/1.266, allocations: 10.77 MB / 0.805 GB, free: 11.31 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.214e-05/1.267, allocations: 71.56 kB / 0.8051 GB, free: 11.25 MB / 458.7 MB Notification: Performance of pre-optimization done (n=321): time 5.921e-06/1.267, allocations: 0 / 0.8051 GB, free: 11.25 MB / 458.7 MB Notification: Performance of matching and sorting (n=327): time 0.03573/1.302, allocations: 15.91 MB / 0.8207 GB, free: 15.3 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.569e-05/1.302, allocations: 85.98 kB / 0.8207 GB, free: 15.2 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008272/1.311, allocations: 4.358 MB / 0.825 GB, free: 11.53 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000596/1.311, allocations: 85.7 kB / 0.8251 GB, free: 11.44 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002557/1.314, allocations: 3.544 MB / 0.8285 GB, free: 8.285 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001269/1.315, allocations: 1.102 MB / 0.8296 GB, free: 7.293 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004989/1.316, allocations: 76 kB / 0.8297 GB, free: 7.219 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002941/1.316, allocations: 462.3 kB / 0.8301 GB, free: 6.809 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00334/1.319, allocations: 1.869 MB / 0.832 GB, free: 5.219 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004044/1.323, allocations: 2.909 MB / 0.8348 GB, free: 2.23 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01119/1.335, allocations: 5.318 MB / 0.84 GB, free: 14.14 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.668e-05/1.335, allocations: 11 kB / 0.84 GB, free: 14.14 MB / 490.7 MB Notification: Performance of matching and sorting (n=494) (initialization): time 0.01189/1.347, allocations: 6.305 MB / 0.8462 GB, free: 8.566 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.716e-05/1.347, allocations: 24 kB / 0.8462 GB, free: 8.543 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.828e-05/1.347, allocations: 32 kB / 0.8462 GB, free: 8.512 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002479/1.349, allocations: 0.9829 MB / 0.8472 GB, free: 7.688 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003271/1.353, allocations: 0.8004 MB / 0.8479 GB, free: 7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2232/1.576, allocations: 16.3 MB / 0.8639 GB, free: 75.21 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003644/1.579, allocations: 189.8 kB / 0.864 GB, free: 75.21 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005997/1.58, allocations: 159.8 kB / 0.8642 GB, free: 75.21 MB / 490.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (426): * Single equations (assignments): 417 * 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,75.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005079/1.585, allocations: 2.587 MB / 0.8667 GB, free: 75.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001026/1.586, allocations: 459.6 kB / 0.8672 GB, free: 75.1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009684/1.596, allocations: 5.981 MB / 0.873 GB, free: 74.59 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.287e-05/1.596, allocations: 32.31 kB / 0.873 GB, free: 74.59 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.213e-05/1.596, allocations: 24.59 kB / 0.8731 GB, free: 74.59 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-05/1.596, allocations: 15.75 kB / 0.8731 GB, free: 74.59 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0229/1.619, allocations: 13.09 MB / 0.8859 GB, free: 73.62 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.835e-05/1.619, allocations: 8.562 kB / 0.8859 GB, free: 73.62 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001692/1.621, allocations: 390.7 kB / 0.8862 GB, free: 73.61 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003768/1.624, allocations: 1.548 MB / 0.8878 GB, free: 73.54 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004817/1.625, allocations: 90.53 kB / 0.8878 GB, free: 73.54 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02347/1.648, allocations: 25.42 MB / 0.9127 GB, free: 61.69 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/1.649, allocations: 4.281 kB / 0.9127 GB, free: 61.69 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01309/1.662, allocations: 8.516 MB / 0.921 GB, free: 60.81 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002682/1.664, allocations: 0.9754 MB / 0.9219 GB, free: 60.43 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001356/1.666, allocations: 82.28 kB / 0.922 GB, free: 60.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002858/1.669, allocations: 188.7 kB / 0.9222 GB, free: 60.33 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000932/1.67, allocations: 318.5 kB / 0.9225 GB, free: 60.29 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002668/1.67, allocations: 100.9 kB / 0.9226 GB, free: 60.26 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005281/1.675, allocations: 2.979 MB / 0.9255 GB, free: 59.14 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.262e-06/1.675, allocations: 0 / 0.9255 GB, free: 59.14 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007428/1.683, allocations: 1.501 MB / 0.927 GB, free: 59 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (194): * Single equations (assignments): 185 * 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,83.3%) 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.001319/1.684, allocations: 0.4958 MB / 0.9275 GB, free: 58.84 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009625/1.694, allocations: 5.82 MB / 0.9331 GB, free: 56.15 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/1.694, allocations: 1.844 kB / 0.9331 GB, free: 56.15 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007087/1.701, allocations: 4.211 MB / 0.9373 GB, free: 53.92 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01072/1.712, allocations: 1.197 MB / 0.9384 GB, free: 53.62 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03377/1.745, allocations: 17.38 MB / 0.9554 GB, free: 44.33 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008549/1.754, allocations: 4.994 MB / 0.9603 GB, free: 42.57 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001676/1.756, allocations: 314 kB / 0.9606 GB, free: 42.55 MB / 490.7 MB Notification: Performance of SimCode: time 8.21e-07/1.756, allocations: 0 / 0.9606 GB, free: 42.55 MB / 490.7 MB Notification: Performance of Templates: time 1.228/2.984, allocations: 479.8 MB / 1.429 GB, free: 104.2 MB / 0.5105 GB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.makefile (rm -f Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.sim & ./Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches