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.001514/0.001514, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.298/1.298, allocations: 225.6 MB / 234.8 MB, free: 3.234 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008713/0.0008714, allocations: 99.12 kB / 286.7 MB, free: 5.281 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.508e-05/1.511e-05, allocations: 4 kB / 343.7 MB, free: 8.234 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08516/0.08519, allocations: 51.48 MB / 395.2 MB, free: 4.715 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.292/0.3772, allocations: 102.6 MB / 497.8 MB, free: 6.812 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002452/0.3775, allocations: 79.98 kB / 497.9 MB, free: 6.773 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1062/0.4837, allocations: 39.96 MB / 0.5252 GB, free: 3.688 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.4837, allocations: 0 / 0.5252 GB, free: 3.688 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001526/0.4839, allocations: 55.94 kB / 0.5253 GB, free: 3.633 MB / 394.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.004541/0.4884, allocations: 1.945 MB / 0.5272 GB, free: 1.637 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.4885, allocations: 8.031 kB / 0.5272 GB, free: 1.629 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001098/0.4896, allocations: 253.3 kB / 0.5274 GB, free: 1.379 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003133/0.4927, allocations: 1.363 MB / 0.5288 GB, free: 15.97 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.305e-05/0.4929, allocations: 56 kB / 0.5288 GB, free: 15.92 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004596/0.4933, allocations: 107.9 kB / 0.5289 GB, free: 15.81 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003375/0.4967, allocations: 1.686 MB / 0.5306 GB, free: 14.12 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003744/0.5005, allocations: 2.025 MB / 0.5325 GB, free: 12.02 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.577e-05/0.5005, allocations: 0 / 0.5325 GB, free: 12.02 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001707/0.5007, allocations: 7.953 kB / 0.5325 GB, free: 12.01 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.161e-05/0.5008, allocations: 95.42 kB / 0.5326 GB, free: 11.92 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01004/0.5109, allocations: 6.806 MB / 0.5393 GB, free: 4.941 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001483/0.5124, allocations: 1.23 MB / 0.5405 GB, free: 3.645 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008908/0.5133, allocations: 0.6624 MB / 0.5411 GB, free: 2.984 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003096/0.5136, allocations: 133.8 kB / 0.5413 GB, free: 2.836 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.855e-05/0.5137, allocations: 51.28 kB / 0.5413 GB, free: 2.773 MB / 410.7 MB Notification: Performance of pre-optimization done (n=90): time 3.797e-06/0.5137, allocations: 0 / 0.5413 GB, free: 2.773 MB / 410.7 MB Notification: Performance of matching and sorting (n=114): time 0.008625/0.5223, allocations: 4.593 MB / 0.5458 GB, free: 14.12 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.981e-05/0.5224, allocations: 68.72 kB / 0.5459 GB, free: 14.04 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001113/0.5235, allocations: 0.8514 MB / 0.5467 GB, free: 13.18 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.278e-05/0.5236, allocations: 25.7 kB / 0.5467 GB, free: 13.14 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005652/0.5242, allocations: 0.8684 MB / 0.5476 GB, free: 12.26 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000321/0.5245, allocations: 382.3 kB / 0.5479 GB, free: 11.88 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.072e-05/0.5246, allocations: 0 / 0.5479 GB, free: 11.88 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.5247, allocations: 357.9 kB / 0.5483 GB, free: 11.53 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008443/0.5256, allocations: 0.6039 MB / 0.5489 GB, free: 10.92 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001002/0.5266, allocations: 0.9129 MB / 0.5498 GB, free: 9.883 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009688/0.5276, allocations: 0.7597 MB / 0.5505 GB, free: 9.125 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.5276, allocations: 4 kB / 0.5505 GB, free: 9.121 MB / 426.7 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.003396/0.531, allocations: 2.209 MB / 0.5527 GB, free: 6.891 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/0.531, allocations: 8 kB / 0.5527 GB, free: 6.883 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.78e-05/0.531, allocations: 8 kB / 0.5527 GB, free: 6.875 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001463/0.5325, allocations: 0.6235 MB / 0.5533 GB, free: 6.242 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001078/0.5336, allocations: 283.6 kB / 0.5535 GB, free: 5.965 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006546/0.5402, allocations: 6.044 MB / 0.5595 GB, free: 15.69 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009888/0.5412, allocations: 67.91 kB / 0.5595 GB, free: 15.62 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/0.5413, allocations: 52.05 kB / 0.5596 GB, free: 15.57 MB / 442.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 130 * 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.000243/0.5415, allocations: 137.3 kB / 0.5597 GB, free: 15.43 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002126/0.5417, allocations: 126.5 kB / 0.5598 GB, free: 15.31 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003517/0.5453, allocations: 2.079 MB / 0.5618 GB, free: 13.2 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.5453, allocations: 12 kB / 0.5619 GB, free: 13.19 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.5453, allocations: 8 kB / 0.5619 GB, free: 13.18 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.663e-05/0.5453, allocations: 3.984 kB / 0.5619 GB, free: 13.18 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006439/0.5518, allocations: 4.048 MB / 0.5658 GB, free: 9.043 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.154e-06/0.5518, allocations: 4 kB / 0.5658 GB, free: 9.039 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007168/0.5525, allocations: 175.8 kB / 0.566 GB, free: 8.867 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001809/0.5544, allocations: 0.7018 MB / 0.5667 GB, free: 8.152 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-05/0.5545, allocations: 19.92 kB / 0.5667 GB, free: 8.133 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008043/0.5625, allocations: 7.704 MB / 0.5742 GB, free: 84 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.543e-06/0.5625, allocations: 4 kB / 0.5742 GB, free: 80 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2044/0.7669, allocations: 3.171 MB / 0.5773 GB, free: 97.46 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005787/0.7675, allocations: 345 kB / 0.5777 GB, free: 97.37 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001709/0.7677, allocations: 9.609 kB / 0.5777 GB, free: 97.37 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007577/0.7685, allocations: 68.28 kB / 0.5777 GB, free: 97.37 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002124/0.7687, allocations: 101.6 kB / 0.5778 GB, free: 97.37 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.23e-05/0.7688, allocations: 39.05 kB / 0.5779 GB, free: 97.37 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007852/0.7696, allocations: 0.6378 MB / 0.5785 GB, free: 97.26 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.7696, allocations: 0 / 0.5785 GB, free: 97.26 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001225/0.7708, allocations: 411.3 kB / 0.5789 GB, free: 97.26 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 81 * 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 {(5,84.0%) 23,(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.0004053/0.7712, allocations: 281.5 kB / 0.5791 GB, free: 97.17 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0027/0.7739, allocations: 2.124 MB / 0.5812 GB, free: 96.73 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.774, allocations: 0 / 0.5812 GB, free: 96.73 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001752/0.7757, allocations: 1.459 MB / 0.5826 GB, free: 96.29 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001188/0.7769, allocations: 280.2 kB / 0.5829 GB, free: 96.28 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004183/0.7811, allocations: 3.203 MB / 0.586 GB, free: 95.51 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009936/0.7821, allocations: 1.689 MB / 0.5877 GB, free: 94.76 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0007955/0.7829, allocations: 278.2 kB / 0.588 GB, free: 94.72 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002216/0.7832, allocations: 85.97 kB / 0.588 GB, free: 94.72 MB / 442.7 MB Notification: Performance of SimCode: time 7.52e-07/0.7832, allocations: 0 / 0.588 GB, free: 94.72 MB / 442.7 MB Notification: Performance of Templates: time 0.03052/0.8137, allocations: 20.11 MB / 0.6077 GB, free: 93.77 MB / 442.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