Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.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_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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001953/0.001952, allocations: 200.7 kB / 18.11 MB, free: 3.719 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.776/1.776, allocations: 226.5 MB / 245.4 MB, free: 6.457 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008231/0.0008231, allocations: 107.2 kB / 297.5 MB, free: 6.66 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002016/0.0002016, allocations: 4 kB / 358.1 MB, free: 10.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2011/0.2013, allocations: 51.29 MB / 409.4 MB, free: 27.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1143/0.3157, allocations: 104 MB / 0.5013 GB, free: 3.5 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002455/0.316, allocations: 87.95 kB / 0.5014 GB, free: 3.414 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2558/0.5717, allocations: 41.24 MB / 0.5417 GB, free: 72.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.5718, allocations: 0 / 0.5417 GB, free: 72.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001108/0.5719, allocations: 47.94 kB / 0.5417 GB, free: 72.04 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.003407/0.5753, allocations: 2.215 MB / 0.5439 GB, free: 69.77 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.5753, allocations: 12.03 kB / 0.5439 GB, free: 69.76 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007823/0.5761, allocations: 302.1 kB / 0.5442 GB, free: 69.46 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002061/0.5782, allocations: 1.463 MB / 0.5456 GB, free: 67.94 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.875e-05/0.5783, allocations: 143.9 kB / 0.5457 GB, free: 67.8 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002287/0.5785, allocations: 180.4 kB / 0.5459 GB, free: 67.62 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003045/0.5816, allocations: 2.392 MB / 0.5482 GB, free: 65.15 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.291e-05/0.5816, allocations: 11.84 kB / 0.5483 GB, free: 65.14 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001529/0.5818, allocations: 76 kB / 0.5483 GB, free: 65.07 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.916e-05/0.5819, allocations: 75.5 kB / 0.5484 GB, free: 64.99 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002668/0.5845, allocations: 1.935 MB / 0.5503 GB, free: 63.05 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009358/0.5939, allocations: 7.502 MB / 0.5576 GB, free: 55.34 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001629/0.5956, allocations: 1.309 MB / 0.5589 GB, free: 53.96 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001139/0.5967, allocations: 0.8534 MB / 0.5597 GB, free: 53.11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002273/0.597, allocations: 134.6 kB / 0.5599 GB, free: 52.96 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.597, allocations: 43.5 kB / 0.5599 GB, free: 52.91 MB / 378.7 MB Notification: Performance of pre-optimization done (n=87): time 3.557e-06/0.597, allocations: 0 / 0.5599 GB, free: 52.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=103): time 0.007709/0.6047, allocations: 5.036 MB / 0.5648 GB, free: 47.76 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.013e-05/0.6048, allocations: 64.41 kB / 0.5649 GB, free: 47.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001589/0.6064, allocations: 1.349 MB / 0.5662 GB, free: 46.31 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.606e-05/0.6065, allocations: 41.7 kB / 0.5662 GB, free: 46.27 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003974/0.6069, allocations: 0.9004 MB / 0.5671 GB, free: 45.36 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000186/0.6071, allocations: 362.7 kB / 0.5675 GB, free: 45 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.735e-05/0.6072, allocations: 24 kB / 0.5675 GB, free: 44.97 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.432e-05/0.6072, allocations: 349.9 kB / 0.5678 GB, free: 44.62 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008021/0.608, allocations: 0.6428 MB / 0.5684 GB, free: 43.98 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008928/0.609, allocations: 0.9384 MB / 0.5694 GB, free: 42.92 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001824/0.6108, allocations: 1.673 MB / 0.571 GB, free: 41.13 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/0.6108, allocations: 0 / 0.571 GB, free: 41.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003527/0.6143, allocations: 2.472 MB / 0.5734 GB, free: 38.64 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.6144, allocations: 8 kB / 0.5734 GB, free: 38.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/0.6144, allocations: 8 kB / 0.5734 GB, free: 38.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001674/0.6161, allocations: 0.7779 MB / 0.5742 GB, free: 37.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007698/0.6168, allocations: 235.6 kB / 0.5744 GB, free: 37.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008532/0.6254, allocations: 8.581 MB / 0.5828 GB, free: 28.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009852/0.6264, allocations: 92 kB / 0.5829 GB, free: 28.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.913e-05/0.6265, allocations: 51.94 kB / 0.5829 GB, free: 28.62 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.0009622/0.6275, allocations: 0.6262 MB / 0.5835 GB, free: 27.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002537/0.6277, allocations: 142.2 kB / 0.5837 GB, free: 27.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002855/0.6306, allocations: 1.936 MB / 0.5856 GB, free: 25.88 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.6306, allocations: 12 kB / 0.5856 GB, free: 25.87 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.6306, allocations: 0 / 0.5856 GB, free: 25.87 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.6306, allocations: 7.984 kB / 0.5856 GB, free: 25.86 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005545/0.6362, allocations: 4.039 MB / 0.5895 GB, free: 21.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.663e-06/0.6362, allocations: 8 kB / 0.5895 GB, free: 21.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007614/0.637, allocations: 195.7 kB / 0.5897 GB, free: 21.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001029/0.638, allocations: 471.2 kB / 0.5902 GB, free: 21.05 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.649e-05/0.6381, allocations: 27.98 kB / 0.5902 GB, free: 21.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004311/0.6424, allocations: 6.184 MB / 0.5962 GB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.6425, allocations: 4 kB / 0.5962 GB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003444/0.6459, allocations: 2.845 MB / 0.599 GB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006043/0.6465, allocations: 367.2 kB / 0.5994 GB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002436/0.6468, allocations: 27.94 kB / 0.5994 GB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007566/0.6475, allocations: 79.92 kB / 0.5995 GB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001804/0.6477, allocations: 84.81 kB / 0.5996 GB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.624e-05/0.6478, allocations: 35.98 kB / 0.5996 GB, free: 10.92 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001181/0.649, allocations: 0.9269 MB / 0.6005 GB, free: 9.992 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.649, allocations: 0 / 0.6005 GB, free: 9.992 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001456/0.6505, allocations: 475.9 kB / 0.6009 GB, free: 9.527 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.0004941/0.651, allocations: 289.1 kB / 0.6012 GB, free: 9.234 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002985/0.654, allocations: 2.072 MB / 0.6032 GB, free: 7.141 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.654, allocations: 4 kB / 0.6032 GB, free: 7.137 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001658/0.6557, allocations: 1.378 MB / 0.6046 GB, free: 5.695 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002092/0.6578, allocations: 360.4 kB / 0.6049 GB, free: 5.348 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005831/0.6636, allocations: 4.793 MB / 0.6096 GB, free: 0.5039 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001427/0.6651, allocations: 1.693 MB / 0.6113 GB, free: 14.77 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001027/0.6661, allocations: 316.1 kB / 0.6116 GB, free: 14.46 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002815/0.6664, allocations: 91.42 kB / 0.6117 GB, free: 14.37 MB / 394.7 MB Notification: Performance of SimCode: time 4.71e-07/0.6664, allocations: 0 / 0.6117 GB, free: 14.37 MB / 394.7 MB Notification: Performance of Templates: time 0.04162/0.708, allocations: 24.8 MB / 0.6359 GB, free: 5.738 MB / 410.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches