Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.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_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_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001735/0.001735, allocations: 182.5 kB / 17.27 MB, free: 4.504 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.37/1.37, allocations: 222.9 MB / 240.9 MB, free: 10.98 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.001108/0.001108, allocations: 109.5 kB / 291.2 MB, free: 10.95 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009632/0.0009634, allocations: 43.94 kB / 350 MB, free: 76 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2796/0.2806, allocations: 49.43 MB / 399.5 MB, free: 33.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.007245/0.2879, allocations: 8.789 MB / 408.3 MB, free: 24.56 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004423/0.2923, allocations: 2.798 MB / 411.1 MB, free: 21.76 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001064/0.2934, allocations: 39.81 kB / 411.1 MB, free: 21.72 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00134/0.2948, allocations: 0.5323 MB / 411.6 MB, free: 21.18 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001541/0.2964, allocations: 0.6294 MB / 412.3 MB, free: 20.55 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005305/0.2969, allocations: 291.7 kB / 412.5 MB, free: 20.27 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001791/0.2987, allocations: 2.581 MB / 415.1 MB, free: 17.67 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001228/0.3, allocations: 1.449 MB / 416.6 MB, free: 16.18 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009895/0.301, allocations: 0.9067 MB / 417.5 MB, free: 15.27 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001205/0.3022, allocations: 1.238 MB / 418.7 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002325/0.3024, allocations: 168 kB / 418.9 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005042/0.3029, allocations: 263.8 kB / 419.1 MB, free: 13.6 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004524/0.3034, allocations: 0.6621 MB / 419.8 MB, free: 12.94 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007978/0.3042, allocations: 1.1 MB / 420.9 MB, free: 11.83 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002234/0.3065, allocations: 3.396 MB / 424.3 MB, free: 8.426 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.3065, allocations: 0 / 424.3 MB, free: 8.426 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3065, allocations: 0 / 424.3 MB, free: 8.426 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.142e-05/0.3065, allocations: 4 kB / 424.3 MB, free: 8.422 MB / 298.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.004411/0.311, allocations: 2.493 MB / 426.8 MB, free: 5.871 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.311, allocations: 8.031 kB / 426.8 MB, free: 5.863 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005164/0.3115, allocations: 254.2 kB / 427.1 MB, free: 5.613 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001743/0.3133, allocations: 1.259 MB / 428.3 MB, free: 4.309 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.995e-05/0.3133, allocations: 135.9 kB / 428.4 MB, free: 4.176 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002075/0.3136, allocations: 180 kB / 428.6 MB, free: 4 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002963/0.3165, allocations: 2.374 MB / 431 MB, free: 1.59 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.66e-05/0.3166, allocations: 7.984 kB / 431 MB, free: 1.582 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001383/0.3167, allocations: 75.98 kB / 431.1 MB, free: 1.508 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.411e-05/0.3168, allocations: 91.5 kB / 431.2 MB, free: 1.418 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002846/0.3197, allocations: 1.97 MB / 433.1 MB, free: 15.45 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01097/0.3307, allocations: 7.148 MB / 440.3 MB, free: 8.102 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001722/0.3324, allocations: 1.263 MB / 441.5 MB, free: 6.773 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001474/0.3339, allocations: 0.8698 MB / 442.4 MB, free: 5.906 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002831/0.3342, allocations: 118.1 kB / 442.5 MB, free: 5.773 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.3342, allocations: 44.03 kB / 442.6 MB, free: 5.719 MB / 314.7 MB Notification: Performance of pre-optimization done (n=87): time 3.086e-06/0.3343, allocations: 4 kB / 442.6 MB, free: 5.715 MB / 314.7 MB Notification: Performance of matching and sorting (n=104): time 0.01428/0.3485, allocations: 6.088 MB / 448.7 MB, free: 15.47 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.3486, allocations: 72.33 kB / 448.7 MB, free: 15.39 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001757/0.3504, allocations: 1.211 MB / 449.9 MB, free: 14.17 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.575e-05/0.3505, allocations: 41.7 kB / 450 MB, free: 14.12 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005925/0.3511, allocations: 0.8729 MB / 450.9 MB, free: 13.23 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002886/0.3514, allocations: 358.8 kB / 451.2 MB, free: 12.88 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000356/0.3517, allocations: 226.8 kB / 451.4 MB, free: 12.65 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.3519, allocations: 357.9 kB / 451.8 MB, free: 12.3 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009548/0.3528, allocations: 0.6155 MB / 452.4 MB, free: 11.68 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001145/0.354, allocations: 0.9188 MB / 453.3 MB, free: 10.63 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002158/0.3562, allocations: 1.647 MB / 455 MB, free: 8.859 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.289e-06/0.3562, allocations: 0 / 455 MB, free: 8.859 MB / 330.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003794/0.36, allocations: 2.227 MB / 457.2 MB, free: 6.586 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.017e-05/0.36, allocations: 8 kB / 457.2 MB, free: 6.578 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.942e-05/0.36, allocations: 8 kB / 457.2 MB, free: 6.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001102/0.3612, allocations: 476.1 kB / 457.7 MB, free: 6.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009898/0.3622, allocations: 267.6 kB / 457.9 MB, free: 5.828 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006454/0.3686, allocations: 6.435 MB / 464.4 MB, free: 14.99 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001167/0.3698, allocations: 83.83 kB / 464.5 MB, free: 14.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-05/0.3699, allocations: 51.98 kB / 464.5 MB, free: 14.86 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (132): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001201/0.3711, allocations: 0.6028 MB / 465.1 MB, free: 14.25 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002416/0.3714, allocations: 130.4 kB / 465.2 MB, free: 14.12 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003364/0.3747, allocations: 2.031 MB / 467.3 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/0.3748, allocations: 12 kB / 467.3 MB, free: 12.03 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.822e-06/0.3748, allocations: 4 kB / 467.3 MB, free: 12.03 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/0.3748, allocations: 3.984 kB / 467.3 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006628/0.3814, allocations: 4.239 MB / 471.5 MB, free: 7.648 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.715e-06/0.3814, allocations: 4 kB / 471.5 MB, free: 7.645 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007245/0.3822, allocations: 175.8 kB / 471.7 MB, free: 7.473 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001279/0.3835, allocations: 0.5223 MB / 472.2 MB, free: 6.938 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.495e-05/0.3836, allocations: 27.98 kB / 472.2 MB, free: 6.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007028/0.3906, allocations: 7.923 MB / 480.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.83e-06/0.3906, allocations: 4 kB / 480.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03414/0.4248, allocations: 24.16 MB / 0.4925 GB, free: 5.395 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006661/0.4255, allocations: 347.3 kB / 0.4928 GB, free: 5.035 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001563/0.4256, allocations: 28 kB / 0.4929 GB, free: 5.008 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008019/0.4264, allocations: 75.97 kB / 0.4929 GB, free: 4.934 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002832/0.4267, allocations: 84.77 kB / 0.493 GB, free: 4.852 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.097e-05/0.4268, allocations: 35.98 kB / 0.4931 GB, free: 4.816 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001319/0.4281, allocations: 0.8421 MB / 0.4939 GB, free: 3.969 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4282, allocations: 4 kB / 0.4939 GB, free: 3.965 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0021/0.4303, allocations: 0.5665 MB / 0.4944 GB, free: 3.398 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,loadInertia.phi) * 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): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (1,6,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003387/0.4306, allocations: 194.1 kB / 0.4946 GB, free: 3.199 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003118/0.4337, allocations: 2.146 MB / 0.4967 GB, free: 0.9727 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.4337, allocations: 0 / 0.4967 GB, free: 0.9727 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1945/0.6282, allocations: 1.468 MB / 0.4981 GB, free: 96.24 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002224/0.6305, allocations: 364 kB / 0.4985 GB, free: 96.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008355/0.6389, allocations: 6.229 MB / 0.5046 GB, free: 93.28 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001293/0.6402, allocations: 1.676 MB / 0.5062 GB, free: 92.54 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00125/0.6415, allocations: 316.1 kB / 0.5065 GB, free: 92.49 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000308/0.6418, allocations: 100.6 kB / 0.5066 GB, free: 92.49 MB / 378.7 MB Notification: Performance of SimCode: time 7.81e-07/0.6418, allocations: 0 / 0.5066 GB, free: 92.49 MB / 378.7 MB Notification: Performance of Templates: time 0.03754/0.6793, allocations: 27.01 MB / 0.533 GB, free: 70.33 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Inverter/IMC_Inverter.csv","../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches