Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.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_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 175.8 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.463/1.463, allocations: 223.3 MB / 241.4 MB, free: 11.7 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.001001/0.001001, allocations: 95.22 kB / 292.6 MB, free: 10.78 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002884/0.0002885, allocations: 11.94 kB / 352.4 MB, free: 15 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2025/0.2028, allocations: 50.39 MB / 402.8 MB, free: 32.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.114/0.3169, allocations: 103.2 MB / 0.4941 GB, free: 9.055 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002717/0.3172, allocations: 94.17 kB / 0.4942 GB, free: 8.965 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2748/0.592, allocations: 41.09 MB / 0.5344 GB, free: 80.88 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.592, allocations: 0 / 0.5344 GB, free: 80.88 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000136/0.5922, allocations: 51.94 kB / 0.5344 GB, free: 80.83 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.004472/0.5967, allocations: 2.198 MB / 0.5365 GB, free: 78.57 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.5967, allocations: 8.031 kB / 0.5366 GB, free: 78.56 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008969/0.5976, allocations: 270 kB / 0.5368 GB, free: 78.3 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002607/0.6002, allocations: 1.459 MB / 0.5382 GB, free: 76.78 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.043e-05/0.6003, allocations: 136 kB / 0.5384 GB, free: 76.65 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003863/0.6007, allocations: 188.2 kB / 0.5385 GB, free: 76.46 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003537/0.6043, allocations: 2.396 MB / 0.5409 GB, free: 73.99 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-05/0.6044, allocations: 7.906 kB / 0.5409 GB, free: 73.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000171/0.6045, allocations: 79.97 kB / 0.541 GB, free: 73.9 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.137e-05/0.6046, allocations: 87.48 kB / 0.5411 GB, free: 73.82 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002932/0.6075, allocations: 1.923 MB / 0.5429 GB, free: 71.89 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009764/0.6173, allocations: 7.499 MB / 0.5503 GB, free: 64.18 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001522/0.6189, allocations: 1.327 MB / 0.5515 GB, free: 62.79 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001125/0.62, allocations: 0.8457 MB / 0.5524 GB, free: 61.94 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000188/0.6202, allocations: 134 kB / 0.5525 GB, free: 61.79 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.825e-05/0.6202, allocations: 43.56 kB / 0.5525 GB, free: 61.73 MB / 378.7 MB Notification: Performance of pre-optimization done (n=87): time 2.134e-06/0.6203, allocations: 0 / 0.5525 GB, free: 61.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=103): time 0.007639/0.6279, allocations: 5.025 MB / 0.5575 GB, free: 56.6 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.278e-05/0.6279, allocations: 64.41 kB / 0.5575 GB, free: 56.52 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001939/0.6299, allocations: 1.345 MB / 0.5588 GB, free: 55.17 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.288e-05/0.63, allocations: 49.64 kB / 0.5589 GB, free: 55.12 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003935/0.6304, allocations: 0.8931 MB / 0.5597 GB, free: 54.21 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001857/0.6306, allocations: 362.8 kB / 0.5601 GB, free: 53.85 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.916e-05/0.6306, allocations: 32 kB / 0.5601 GB, free: 53.82 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.14e-05/0.6307, allocations: 345.9 kB / 0.5605 GB, free: 53.48 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008087/0.6315, allocations: 0.6428 MB / 0.5611 GB, free: 52.83 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009022/0.6324, allocations: 0.9384 MB / 0.562 GB, free: 51.77 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001805/0.6342, allocations: 1.665 MB / 0.5636 GB, free: 49.98 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/0.6343, allocations: 7.984 kB / 0.5636 GB, free: 49.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003479/0.6377, allocations: 2.464 MB / 0.566 GB, free: 47.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.6378, allocations: 8 kB / 0.566 GB, free: 47.49 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/0.6378, allocations: 12 kB / 0.5661 GB, free: 47.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001617/0.6394, allocations: 0.7742 MB / 0.5668 GB, free: 46.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007353/0.6402, allocations: 235.7 kB / 0.567 GB, free: 46.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008511/0.6487, allocations: 8.584 MB / 0.5754 GB, free: 37.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001126/0.6498, allocations: 79.83 kB / 0.5755 GB, free: 37.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001903/0.65, allocations: 59.92 kB / 0.5756 GB, free: 37.48 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * 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 (111): * Single equations (assignments): 109 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(6,77.8%) 35} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001161/0.6512, allocations: 0.6263 MB / 0.5762 GB, free: 36.84 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003119/0.6515, allocations: 142.3 kB / 0.5763 GB, free: 36.7 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002744/0.6543, allocations: 1.928 MB / 0.5782 GB, free: 34.74 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.6543, allocations: 12.12 kB / 0.5782 GB, free: 34.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.6543, allocations: 8 kB / 0.5782 GB, free: 34.72 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.6543, allocations: 7.984 kB / 0.5782 GB, free: 34.71 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005746/0.6601, allocations: 4.042 MB / 0.5822 GB, free: 30.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.6601, allocations: 4 kB / 0.5822 GB, free: 30.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007447/0.6609, allocations: 196 kB / 0.5823 GB, free: 30.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001003/0.6619, allocations: 472.4 kB / 0.5828 GB, free: 29.91 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.017e-05/0.662, allocations: 27.98 kB / 0.5828 GB, free: 29.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004374/0.6663, allocations: 6.188 MB / 0.5889 GB, free: 23.29 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.6664, allocations: 4.062 kB / 0.5889 GB, free: 23.29 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003442/0.6698, allocations: 2.841 MB / 0.5916 GB, free: 20.39 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006378/0.6705, allocations: 363.2 kB / 0.592 GB, free: 20.02 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002719/0.6708, allocations: 28 kB / 0.592 GB, free: 19.99 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008058/0.6716, allocations: 67.92 kB / 0.5921 GB, free: 19.92 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002087/0.6718, allocations: 96.75 kB / 0.5922 GB, free: 19.83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.352e-05/0.6719, allocations: 31.98 kB / 0.5922 GB, free: 19.8 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001436/0.6733, allocations: 0.923 MB / 0.5931 GB, free: 18.87 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6733, allocations: 3.938 kB / 0.5931 GB, free: 18.87 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001459/0.6748, allocations: 468.1 kB / 0.5936 GB, free: 18.41 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w) * 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 (88): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003993/0.6752, allocations: 316.3 kB / 0.5939 GB, free: 18.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002809/0.678, allocations: 2.076 MB / 0.5959 GB, free: 15.99 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.678, allocations: 4.062 kB / 0.5959 GB, free: 15.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001631/0.6797, allocations: 1.371 MB / 0.5972 GB, free: 14.55 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002003/0.6817, allocations: 359.8 kB / 0.5976 GB, free: 14.21 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00581/0.6875, allocations: 4.797 MB / 0.6023 GB, free: 9.355 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001434/0.689, allocations: 1.693 MB / 0.6039 GB, free: 7.633 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001102/0.6901, allocations: 316.1 kB / 0.6042 GB, free: 7.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003051/0.6904, allocations: 99.42 kB / 0.6043 GB, free: 7.223 MB / 378.7 MB Notification: Performance of SimCode: time 5.72e-07/0.6904, allocations: 0 / 0.6043 GB, free: 7.223 MB / 378.7 MB Notification: Performance of Templates: time 0.03863/0.729, allocations: 24.72 MB / 0.6284 GB, free: 14.71 MB / 410.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Initialize/IMC_Initialize.csv","../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches