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.000922/0.0009221, allocations: 202.2 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.157/1.157, allocations: 227.2 MB / 245 MB, free: 7.492 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009488/0.0009488, allocations: 116 kB / 297.3 MB, free: 6.156 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002751/0.000275, allocations: 8 kB / 357.9 MB, free: 9.52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1877/0.188, allocations: 51.48 MB / 409.4 MB, free: 26.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1068/0.2948, allocations: 103.9 MB / 0.5013 GB, free: 2.633 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002207/0.295, allocations: 87.95 kB / 0.5014 GB, free: 2.547 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2436/0.5387, allocations: 41.27 MB / 0.5417 GB, free: 70.53 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.5387, allocations: 0 / 0.5417 GB, free: 70.53 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001277/0.5388, allocations: 51.92 kB / 0.5418 GB, free: 70.48 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.004162/0.543, allocations: 2.236 MB / 0.5439 GB, free: 68.18 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.092e-05/0.543, allocations: 8.031 kB / 0.544 GB, free: 68.18 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/0.544, allocations: 297.1 kB / 0.5442 GB, free: 67.88 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002533/0.5466, allocations: 1.427 MB / 0.5456 GB, free: 66.4 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.359e-05/0.5467, allocations: 135.6 kB / 0.5458 GB, free: 66.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002914/0.547, allocations: 187.9 kB / 0.5459 GB, free: 66.08 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003148/0.5501, allocations: 2.38 MB / 0.5483 GB, free: 63.62 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.927e-05/0.5502, allocations: 7.891 kB / 0.5483 GB, free: 63.61 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001598/0.5504, allocations: 76 kB / 0.5483 GB, free: 63.54 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.837e-05/0.5504, allocations: 79.5 kB / 0.5484 GB, free: 63.46 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002661/0.5531, allocations: 1.927 MB / 0.5503 GB, free: 61.53 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008768/0.5619, allocations: 7.499 MB / 0.5576 GB, free: 53.82 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001457/0.5634, allocations: 1.323 MB / 0.5589 GB, free: 52.43 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002155/0.5636, allocations: 134 kB / 0.559 GB, free: 52.28 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.899e-05/0.5636, allocations: 47.56 kB / 0.5591 GB, free: 52.22 MB / 378.7 MB Notification: Performance of pre-optimization done (n=87): time 2.565e-06/0.5636, allocations: 0 / 0.5591 GB, free: 52.22 MB / 378.7 MB Notification: Performance of matching and sorting (n=103): time 0.007297/0.5709, allocations: 5.064 MB / 0.564 GB, free: 47.05 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.632e-05/0.571, allocations: 68.41 kB / 0.5641 GB, free: 46.97 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001275/0.5722, allocations: 1.19 MB / 0.5653 GB, free: 45.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.657e-05/0.5723, allocations: 45.7 kB / 0.5653 GB, free: 45.71 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004024/0.5727, allocations: 0.897 MB / 0.5662 GB, free: 44.8 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000183/0.5729, allocations: 366.8 kB / 0.5665 GB, free: 44.44 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.738e-05/0.573, allocations: 20 kB / 0.5665 GB, free: 44.42 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.124e-05/0.5731, allocations: 353.9 kB / 0.5669 GB, free: 44.07 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007815/0.5738, allocations: 0.6467 MB / 0.5675 GB, free: 43.43 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008739/0.5747, allocations: 0.9415 MB / 0.5684 GB, free: 42.36 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009107/0.5756, allocations: 0.7915 MB / 0.5692 GB, free: 41.57 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.5757, allocations: 4 kB / 0.5692 GB, free: 41.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003372/0.579, allocations: 2.468 MB / 0.5716 GB, free: 39.08 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.5791, allocations: 8 kB / 0.5716 GB, free: 39.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.5791, allocations: 8 kB / 0.5716 GB, free: 39.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001664/0.5808, allocations: 0.782 MB / 0.5724 GB, free: 38.28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007521/0.5815, allocations: 227.7 kB / 0.5726 GB, free: 38.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008431/0.59, allocations: 8.886 MB / 0.5813 GB, free: 28.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009394/0.5909, allocations: 83.83 kB / 0.5814 GB, free: 28.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-05/0.591, allocations: 47.98 kB / 0.5814 GB, free: 28.77 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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.0009078/0.5919, allocations: 0.6286 MB / 0.582 GB, free: 28.13 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002381/0.5922, allocations: 150.2 kB / 0.5822 GB, free: 27.98 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002684/0.5949, allocations: 1.952 MB / 0.5841 GB, free: 26.01 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.5949, allocations: 8 kB / 0.5841 GB, free: 26 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.5949, allocations: 4 kB / 0.5841 GB, free: 26 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-06/0.5949, allocations: 3.984 kB / 0.5841 GB, free: 25.99 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005734/0.6007, allocations: 4.035 MB / 0.588 GB, free: 21.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.6007, allocations: 4 kB / 0.588 GB, free: 21.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007757/0.6015, allocations: 200 kB / 0.5882 GB, free: 21.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001042/0.6025, allocations: 466.3 kB / 0.5887 GB, free: 21.2 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.14e-05/0.6026, allocations: 27.98 kB / 0.5887 GB, free: 21.17 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004418/0.607, allocations: 6.321 MB / 0.5949 GB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.607, allocations: 4 kB / 0.5949 GB, free: 14.44 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003308/0.6104, allocations: 2.945 MB / 0.5978 GB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006486/0.611, allocations: 371.2 kB / 0.5981 GB, free: 11 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002075/0.6112, allocations: 20 kB / 0.5981 GB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007336/0.612, allocations: 79.92 kB / 0.5982 GB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000164/0.6122, allocations: 76.88 kB / 0.5983 GB, free: 10.83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.389e-05/0.6122, allocations: 31.98 kB / 0.5983 GB, free: 10.8 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001007/0.6132, allocations: 0.9308 MB / 0.5992 GB, free: 9.867 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6132, allocations: 0 / 0.5992 GB, free: 9.867 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001245/0.6145, allocations: 476 kB / 0.5997 GB, free: 9.402 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (87): * Single equations (assignments): 83 * 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.0004026/0.6149, allocations: 296.8 kB / 0.6 GB, free: 9.102 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002653/0.6176, allocations: 2.094 MB / 0.602 GB, free: 6.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.6176, allocations: 1.812 kB / 0.602 GB, free: 6.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00156/0.6192, allocations: 1.378 MB / 0.6034 GB, free: 5.543 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001237/0.6204, allocations: 353.2 kB / 0.6037 GB, free: 5.199 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00502/0.6254, allocations: 4.783 MB / 0.6084 GB, free: 380 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001342/0.6268, allocations: 1.728 MB / 0.61 GB, free: 14.61 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0008966/0.6277, allocations: 312.1 kB / 0.6103 GB, free: 14.3 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003017/0.628, allocations: 99.41 kB / 0.6104 GB, free: 14.2 MB / 394.7 MB Notification: Performance of SimCode: time 6.82e-07/0.628, allocations: 4 kB / 0.6104 GB, free: 14.2 MB / 394.7 MB Notification: Performance of Templates: time 0.03898/0.667, allocations: 24.53 MB / 0.6344 GB, free: 5.84 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/jenkins/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