Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 175.5 kB / 17.4 MB, free: 4.418 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 223.3 MB / 241.4 MB, free: 11.6 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007434/0.0007432, allocations: 98.61 kB / 292.6 MB, free: 10.77 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003288/0.0003288, allocations: 15.94 kB / 352.4 MB, free: 15 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1969/0.1972, allocations: 50.4 MB / 402.8 MB, free: 32.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1233/0.3205, allocations: 110.1 MB / 0.5009 GB, free: 2.176 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002502/0.3208, allocations: 93.36 kB / 0.5009 GB, free: 2.086 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2912/0.612, allocations: 52.24 MB / 0.552 GB, free: 63.77 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.6121, allocations: 0 / 0.552 GB, free: 63.77 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002429/0.6123, allocations: 63.94 kB / 0.552 GB, free: 63.7 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.006399/0.6187, allocations: 2.737 MB / 0.5547 GB, free: 60.89 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.6188, allocations: 15.95 kB / 0.5547 GB, free: 60.88 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001149/0.6199, allocations: 333.2 kB / 0.555 GB, free: 60.55 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00365/0.6236, allocations: 1.849 MB / 0.5568 GB, free: 58.65 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001096/0.6237, allocations: 152.4 kB / 0.557 GB, free: 58.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005205/0.6242, allocations: 212.3 kB / 0.5572 GB, free: 58.29 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003862/0.6281, allocations: 2.689 MB / 0.5598 GB, free: 55.47 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.557e-05/0.6282, allocations: 4 kB / 0.5598 GB, free: 55.46 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001736/0.6284, allocations: 87.98 kB / 0.5599 GB, free: 55.38 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.347e-05/0.6284, allocations: 87.94 kB / 0.56 GB, free: 55.29 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003252/0.6317, allocations: 2.182 MB / 0.5621 GB, free: 53.11 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01045/0.6422, allocations: 8.333 MB / 0.5702 GB, free: 44.58 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002608/0.6448, allocations: 1.678 MB / 0.5719 GB, free: 42.84 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00162/0.6464, allocations: 1.019 MB / 0.5729 GB, free: 41.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002832/0.6467, allocations: 142 kB / 0.573 GB, free: 41.67 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.6468, allocations: 47.55 kB / 0.5731 GB, free: 41.61 MB / 378.7 MB Notification: Performance of pre-optimization done (n=119): time 3.577e-06/0.6468, allocations: 0 / 0.5731 GB, free: 41.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=135): time 0.01206/0.6588, allocations: 6.57 MB / 0.5795 GB, free: 34.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.276e-05/0.6589, allocations: 72.66 kB / 0.5795 GB, free: 34.83 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003225/0.6621, allocations: 2.102 MB / 0.5816 GB, free: 32.68 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001102/0.6622, allocations: 45.7 kB / 0.5816 GB, free: 32.63 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007152/0.663, allocations: 1.104 MB / 0.5827 GB, free: 31.52 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000323/0.6633, allocations: 465.2 kB / 0.5832 GB, free: 31.05 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.071e-05/0.6634, allocations: 32 kB / 0.5832 GB, free: 31.02 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.617e-05/0.6635, allocations: 365.8 kB / 0.5835 GB, free: 30.66 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001123/0.6646, allocations: 0.769 MB / 0.5843 GB, free: 29.89 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001215/0.6658, allocations: 1.022 MB / 0.5853 GB, free: 28.77 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002477/0.6683, allocations: 1.89 MB / 0.5871 GB, free: 26.79 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.383e-06/0.6684, allocations: 0 / 0.5871 GB, free: 26.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.004604/0.673, allocations: 2.835 MB / 0.5899 GB, free: 23.94 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.673, allocations: 11.98 kB / 0.5899 GB, free: 23.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.176e-05/0.673, allocations: 8 kB / 0.5899 GB, free: 23.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001923/0.675, allocations: 0.8424 MB / 0.5907 GB, free: 23.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009796/0.676, allocations: 271.5 kB / 0.591 GB, free: 22.81 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009464/0.6854, allocations: 9.31 MB / 0.6001 GB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001369/0.6868, allocations: 99.95 kB / 0.6002 GB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000203/0.687, allocations: 55.98 kB / 0.6002 GB, free: 13.06 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.001362/0.6884, allocations: 0.7438 MB / 0.601 GB, free: 12.31 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005163/0.6889, allocations: 205.5 kB / 0.6012 GB, free: 12.11 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004305/0.6933, allocations: 2.574 MB / 0.6037 GB, free: 9.508 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/0.6933, allocations: 15.94 kB / 0.6037 GB, free: 9.492 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-05/0.6933, allocations: 11.98 kB / 0.6037 GB, free: 9.48 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/0.6933, allocations: 3.984 kB / 0.6037 GB, free: 9.477 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008711/0.702, allocations: 5.105 MB / 0.6087 GB, free: 4.277 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.68e-05/0.7021, allocations: 8 kB / 0.6087 GB, free: 4.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009179/0.703, allocations: 223.9 kB / 0.6089 GB, free: 4.051 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001656/0.7047, allocations: 0.7045 MB / 0.6096 GB, free: 3.336 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001103/0.7048, allocations: 39.97 kB / 0.6096 GB, free: 3.297 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009145/0.714, allocations: 8.487 MB / 0.6179 GB, free: 10.41 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.714, allocations: 8.094 kB / 0.6179 GB, free: 10.4 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006918/0.7209, allocations: 3.651 MB / 0.6215 GB, free: 6.691 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00118/0.7222, allocations: 474.4 kB / 0.622 GB, free: 6.207 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004976/0.7227, allocations: 39.92 kB / 0.622 GB, free: 6.168 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001171/0.7239, allocations: 91.91 kB / 0.6221 GB, free: 6.078 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003102/0.7242, allocations: 109.1 kB / 0.6222 GB, free: 5.973 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001176/0.7243, allocations: 43.97 kB / 0.6222 GB, free: 5.93 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002976/0.7273, allocations: 1.472 MB / 0.6237 GB, free: 4.434 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.7273, allocations: 0 / 0.6237 GB, free: 4.434 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002511/0.7298, allocations: 0.5936 MB / 0.6242 GB, free: 3.84 MB / 394.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.001396/0.7312, allocations: 0.6089 MB / 0.6248 GB, free: 3.363 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00463/0.7359, allocations: 2.514 MB / 0.6273 GB, free: 0.8125 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/0.7359, allocations: 0 / 0.6273 GB, free: 0.8125 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002957/0.7389, allocations: 1.749 MB / 0.629 GB, free: 14.99 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003115/0.742, allocations: 422.3 kB / 0.6294 GB, free: 14.58 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01031/0.7523, allocations: 6.108 MB / 0.6354 GB, free: 8.41 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002492/0.7549, allocations: 1.951 MB / 0.6373 GB, free: 6.426 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001829/0.7567, allocations: 399.8 kB / 0.6377 GB, free: 6.031 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005186/0.7572, allocations: 131.4 kB / 0.6378 GB, free: 5.902 MB / 410.7 MB Notification: Performance of SimCode: time 8.52e-07/0.7573, allocations: 4 kB / 0.6378 GB, free: 5.898 MB / 410.7 MB Notification: Performance of Templates: time 0.2369/0.9941, allocations: 31.53 MB / 0.6686 GB, free: 100 MB / 426.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches