Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.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_Inverter,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|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter,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|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001545/0.001545, allocations: 197.4 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.207/1.207, allocations: 227.2 MB / 245 MB, free: 7.484 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008799/0.0008799, allocations: 104.8 kB / 297.3 MB, free: 6.191 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002462/0.0002464, allocations: 8 kB / 357.9 MB, free: 9.527 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2041/0.2043, allocations: 51.47 MB / 409.4 MB, free: 26.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1118/0.3162, allocations: 103.3 MB / 0.5008 GB, free: 3.242 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002476/0.3165, allocations: 88.73 kB / 0.5008 GB, free: 3.156 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2507/0.5672, allocations: 40.43 MB / 0.5403 GB, free: 71.95 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.5672, allocations: 0 / 0.5403 GB, free: 71.95 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001649/0.5674, allocations: 51.88 kB / 0.5404 GB, free: 71.89 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: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.004544/0.5719, allocations: 2.146 MB / 0.5425 GB, free: 69.69 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.572, allocations: 8.031 kB / 0.5425 GB, free: 69.68 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008763/0.5729, allocations: 269.5 kB / 0.5427 GB, free: 69.42 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002679/0.5756, allocations: 1.348 MB / 0.544 GB, free: 68.02 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.586e-05/0.5757, allocations: 143.5 kB / 0.5442 GB, free: 67.88 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003486/0.576, allocations: 179.9 kB / 0.5444 GB, free: 67.71 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003523/0.5796, allocations: 2.344 MB / 0.5466 GB, free: 65.28 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.34e-05/0.5796, allocations: 7.906 kB / 0.5466 GB, free: 65.27 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001658/0.5798, allocations: 72 kB / 0.5467 GB, free: 65.2 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.8e-05/0.5799, allocations: 83.52 kB / 0.5468 GB, free: 65.12 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002794/0.5827, allocations: 1.884 MB / 0.5486 GB, free: 63.23 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008711/0.5914, allocations: 7.183 MB / 0.5557 GB, free: 55.86 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001453/0.5929, allocations: 1.314 MB / 0.5569 GB, free: 54.47 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002705/0.5931, allocations: 130.1 kB / 0.5571 GB, free: 54.33 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/0.5932, allocations: 51.48 kB / 0.5571 GB, free: 54.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=90): time 2.735e-06/0.5932, allocations: 0 / 0.5571 GB, free: 54.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=113): time 0.01291/0.6061, allocations: 7.207 MB / 0.5641 GB, free: 46.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.458e-05/0.6061, allocations: 64.41 kB / 0.5642 GB, free: 46.84 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00119/0.6073, allocations: 1.052 MB / 0.5652 GB, free: 45.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.008e-05/0.6074, allocations: 45.7 kB / 0.5653 GB, free: 45.72 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003679/0.6078, allocations: 0.8614 MB / 0.5661 GB, free: 44.85 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002041/0.608, allocations: 394.3 kB / 0.5665 GB, free: 44.46 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.051e-05/0.6081, allocations: 31.94 kB / 0.5665 GB, free: 44.43 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.898e-05/0.6082, allocations: 353.9 kB / 0.5669 GB, free: 44.07 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008408/0.609, allocations: 0.6819 MB / 0.5675 GB, free: 43.39 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00093/0.6099, allocations: 0.9814 MB / 0.5685 GB, free: 42.29 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009769/0.6109, allocations: 0.8345 MB / 0.5693 GB, free: 41.45 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.6109, allocations: 0 / 0.5693 GB, free: 41.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.00323/0.6142, allocations: 2.436 MB / 0.5717 GB, free: 38.99 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.6142, allocations: 12 kB / 0.5717 GB, free: 38.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.6142, allocations: 8 kB / 0.5717 GB, free: 38.97 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001263/0.6155, allocations: 0.6375 MB / 0.5723 GB, free: 38.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008738/0.6164, allocations: 283.6 kB / 0.5726 GB, free: 38.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005554/0.6219, allocations: 6.522 MB / 0.579 GB, free: 31.26 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009692/0.6229, allocations: 95.95 kB / 0.5791 GB, free: 31.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/0.623, allocations: 52.12 kB / 0.5791 GB, free: 31.11 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 (133): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,76.0%) 23,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009619/0.624, allocations: 0.6102 MB / 0.5797 GB, free: 30.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002447/0.6243, allocations: 146.2 kB / 0.5798 GB, free: 30.35 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003262/0.6275, allocations: 2.275 MB / 0.5821 GB, free: 28.05 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/0.6276, allocations: 12 kB / 0.5821 GB, free: 28.04 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/0.6276, allocations: 4 kB / 0.5821 GB, free: 28.04 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.707e-06/0.6276, allocations: 7.938 kB / 0.5821 GB, free: 28.03 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006432/0.634, allocations: 4.426 MB / 0.5864 GB, free: 23.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.634, allocations: 4 kB / 0.5864 GB, free: 23.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000674/0.6347, allocations: 180 kB / 0.5866 GB, free: 23.33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001602/0.6363, allocations: 0.7222 MB / 0.5873 GB, free: 22.6 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-05/0.6364, allocations: 35.98 kB / 0.5873 GB, free: 22.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006984/0.6434, allocations: 8.311 MB / 0.5954 GB, free: 13.85 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.6435, allocations: 4 kB / 0.5954 GB, free: 13.84 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004289/0.6478, allocations: 3.371 MB / 0.5987 GB, free: 10.37 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007754/0.6485, allocations: 355.3 kB / 0.5991 GB, free: 10 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000284/0.6488, allocations: 28 kB / 0.5991 GB, free: 9.977 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008711/0.6497, allocations: 83.91 kB / 0.5992 GB, free: 9.895 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000198/0.6499, allocations: 104.8 kB / 0.5993 GB, free: 9.793 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-05/0.65, allocations: 35.98 kB / 0.5993 GB, free: 9.758 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00103/0.651, allocations: 0.8071 MB / 0.6001 GB, free: 8.945 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6511, allocations: 0 / 0.6001 GB, free: 8.945 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001353/0.6524, allocations: 480 kB / 0.6006 GB, free: 8.477 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.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,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 (83): * Single equations (assignments): 79 * 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 {(7,59.2%) 21,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004434/0.6529, allocations: 297 kB / 0.6008 GB, free: 8.176 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002953/0.6558, allocations: 2.322 MB / 0.6031 GB, free: 5.789 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.6558, allocations: 0 / 0.6031 GB, free: 5.789 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002029/0.6579, allocations: 1.581 MB / 0.6047 GB, free: 4.152 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001344/0.6592, allocations: 365.5 kB / 0.605 GB, free: 3.801 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005716/0.665, allocations: 4.738 MB / 0.6096 GB, free: 15 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001491/0.6665, allocations: 1.685 MB / 0.6113 GB, free: 13.28 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0009186/0.6674, allocations: 300.1 kB / 0.6116 GB, free: 12.98 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002722/0.6677, allocations: 91.42 kB / 0.6117 GB, free: 12.89 MB / 394.7 MB Notification: Performance of SimCode: time 9.52e-07/0.6677, allocations: 0 / 0.6117 GB, free: 12.89 MB / 394.7 MB Notification: Performance of Templates: time 0.04078/0.7085, allocations: 24.89 MB / 0.636 GB, free: 4.172 MB / 410.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Inverter/IMC_Inverter.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches