Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.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.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001256/0.001256, allocations: 200.5 kB / 18.11 MB, free: 3.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, allocations: 226.5 MB / 245.4 MB, free: 8.191 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008093/0.0008093, allocations: 96.53 kB / 297.5 MB, free: 6.863 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00023/0.0002301, allocations: 8 kB / 358.1 MB, free: 10.24 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2215, allocations: 51.29 MB / 409.4 MB, free: 27.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2909/0.5124, allocations: 111.2 MB / 0.5084 GB, free: 97.41 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002471/0.5127, allocations: 95.66 kB / 0.5085 GB, free: 97.41 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1318/0.6446, allocations: 53.1 MB / 0.5604 GB, free: 52.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.6446, allocations: 0 / 0.5604 GB, free: 52.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000237/0.6449, allocations: 63.94 kB / 0.5604 GB, free: 52.6 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.006042/0.6509, allocations: 2.765 MB / 0.5631 GB, free: 49.77 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.651, allocations: 19.95 kB / 0.5631 GB, free: 49.75 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00136/0.6523, allocations: 365.2 kB / 0.5635 GB, free: 49.39 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003458/0.6558, allocations: 1.853 MB / 0.5653 GB, free: 47.48 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/0.6559, allocations: 156.4 kB / 0.5654 GB, free: 47.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004651/0.6564, allocations: 208.3 kB / 0.5656 GB, free: 47.12 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00425/0.6606, allocations: 2.685 MB / 0.5683 GB, free: 44.3 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.618e-05/0.6607, allocations: 4 kB / 0.5683 GB, free: 44.3 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002108/0.6609, allocations: 87.98 kB / 0.5684 GB, free: 44.21 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.727e-05/0.661, allocations: 87.94 kB / 0.5684 GB, free: 44.13 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003665/0.6647, allocations: 2.182 MB / 0.5706 GB, free: 41.95 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0118/0.6765, allocations: 8.345 MB / 0.5787 GB, free: 33.4 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002469/0.679, allocations: 1.671 MB / 0.5804 GB, free: 31.67 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001374/0.6804, allocations: 1.027 MB / 0.5814 GB, free: 30.64 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002584/0.6807, allocations: 134 kB / 0.5815 GB, free: 30.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.6807, allocations: 51.55 kB / 0.5815 GB, free: 30.43 MB / 378.7 MB Notification: Performance of pre-optimization done (n=119): time 3.767e-06/0.6807, allocations: 4 kB / 0.5815 GB, free: 30.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=135): time 0.01123/0.692, allocations: 6.561 MB / 0.5879 GB, free: 23.75 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.809e-05/0.692, allocations: 72.66 kB / 0.588 GB, free: 23.66 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002717/0.6948, allocations: 2.122 MB / 0.5901 GB, free: 21.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001232/0.6949, allocations: 49.7 kB / 0.5901 GB, free: 21.44 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005219/0.6954, allocations: 1.1 MB / 0.5912 GB, free: 20.33 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002688/0.6957, allocations: 469.1 kB / 0.5917 GB, free: 19.86 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.542e-05/0.6958, allocations: 28 kB / 0.5917 GB, free: 19.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.098e-05/0.6959, allocations: 357.9 kB / 0.592 GB, free: 19.48 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001148/0.697, allocations: 0.773 MB / 0.5928 GB, free: 18.71 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001265/0.6983, allocations: 1.026 MB / 0.5938 GB, free: 17.59 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002488/0.7008, allocations: 1.878 MB / 0.5956 GB, free: 15.62 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.027e-06/0.7008, allocations: 4 kB / 0.5956 GB, free: 15.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.004856/0.7057, allocations: 2.831 MB / 0.5984 GB, free: 12.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/0.7057, allocations: 8.25 kB / 0.5984 GB, free: 12.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.54e-05/0.7058, allocations: 16 kB / 0.5984 GB, free: 12.74 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001866/0.7076, allocations: 0.8453 MB / 0.5992 GB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009728/0.7086, allocations: 275.6 kB / 0.5995 GB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009633/0.7183, allocations: 9.322 MB / 0.6086 GB, free: 2.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001374/0.7197, allocations: 99.89 kB / 0.6087 GB, free: 1.922 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002352/0.7199, allocations: 55.98 kB / 0.6087 GB, free: 1.867 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(6,88.9%) 39} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001431/0.7214, allocations: 0.7472 MB / 0.6095 GB, free: 1.109 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004977/0.7219, allocations: 201.5 kB / 0.6097 GB, free: 0.9102 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004553/0.7264, allocations: 2.578 MB / 0.6122 GB, free: 14.31 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.388e-05/0.7265, allocations: 15.94 kB / 0.6122 GB, free: 14.29 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.605e-05/0.7265, allocations: 8 kB / 0.6122 GB, free: 14.29 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.603e-05/0.7265, allocations: 7.969 kB / 0.6122 GB, free: 14.28 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009645/0.7362, allocations: 5.108 MB / 0.6172 GB, free: 9.074 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.626e-05/0.7362, allocations: 4.188 kB / 0.6172 GB, free: 9.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00096/0.7372, allocations: 223.6 kB / 0.6174 GB, free: 8.852 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001782/0.739, allocations: 0.7053 MB / 0.6181 GB, free: 8.137 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001143/0.7391, allocations: 35.97 kB / 0.6181 GB, free: 8.102 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009323/0.7484, allocations: 8.492 MB / 0.6264 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.7485, allocations: 8.094 kB / 0.6264 GB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006827/0.7553, allocations: 3.652 MB / 0.63 GB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001243/0.7566, allocations: 486.3 kB / 0.6305 GB, free: 11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004259/0.7571, allocations: 31.98 kB / 0.6305 GB, free: 10.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001101/0.7582, allocations: 87.91 kB / 0.6306 GB, free: 10.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003067/0.7585, allocations: 113.1 kB / 0.6307 GB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001109/0.7586, allocations: 43.97 kB / 0.6307 GB, free: 10.73 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002527/0.7612, allocations: 1.481 MB / 0.6322 GB, free: 9.223 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.7612, allocations: 0 / 0.6322 GB, free: 9.223 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002531/0.7637, allocations: 0.5975 MB / 0.6328 GB, free: 8.625 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi,PI.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(1,100.0%) 6,(2,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001362/0.7651, allocations: 0.6256 MB / 0.6334 GB, free: 8.113 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004663/0.7698, allocations: 2.506 MB / 0.6358 GB, free: 5.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.7698, allocations: 0 / 0.6358 GB, free: 5.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002941/0.7727, allocations: 1.745 MB / 0.6375 GB, free: 3.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003009/0.7758, allocations: 435.9 kB / 0.6379 GB, free: 3.324 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01031/0.7861, allocations: 6.094 MB / 0.6439 GB, free: 13.17 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002236/0.7884, allocations: 1.959 MB / 0.6458 GB, free: 11.18 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001646/0.79, allocations: 399.8 kB / 0.6462 GB, free: 10.78 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000508/0.7906, allocations: 135.4 kB / 0.6463 GB, free: 10.65 MB / 426.7 MB Notification: Performance of SimCode: time 1.002e-06/0.7906, allocations: 0 / 0.6463 GB, free: 10.65 MB / 426.7 MB Notification: Performance of Templates: time 0.2364/1.027, allocations: 31.65 MB / 0.6772 GB, free: 112.6 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_withLosses/IMC_withLosses.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches