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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 112.3 kB / 17.74 MB, free: 5.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001843/0.001843, allocations: 187 kB / 18.67 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001701/0.001702, allocations: 43.92 kB / 352 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.2493, allocations: 49.44 MB / 401.4 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01545/0.2648, allocations: 8.837 MB / 410.3 MB, free: 0 / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00809/0.273, allocations: 2.825 MB / 413.1 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001604/0.2746, allocations: 47.81 kB / 413.1 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002533/0.2772, allocations: 0.5938 MB / 413.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003334/0.2806, allocations: 0.7067 MB / 414.4 MB, free: 11.81 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001216/0.2818, allocations: 323.5 kB / 414.7 MB, free: 11.49 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003897/0.2857, allocations: 2.221 MB / 417 MB, free: 9.266 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003187/0.289, allocations: 1.754 MB / 418.7 MB, free: 7.465 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002104/0.2911, allocations: 1.012 MB / 419.7 MB, free: 6.449 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00272/0.2938, allocations: 1.288 MB / 421 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006412/0.2945, allocations: 271.9 kB / 421.3 MB, free: 4.891 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001103/0.2956, allocations: 359.8 kB / 421.6 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001121/0.2968, allocations: 0.7558 MB / 422.4 MB, free: 3.781 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001971/0.2988, allocations: 1.202 MB / 423.6 MB, free: 2.574 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005134/0.3039, allocations: 3.532 MB / 427.1 MB, free: 15.03 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.304, allocations: 0 / 427.1 MB, free: 15.03 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.809e-06/0.304, allocations: 3.984 kB / 427.1 MB, free: 15.03 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.392e-05/0.3041, allocations: 0 / 427.1 MB, free: 15.03 MB / 350.1 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.008046/0.3121, allocations: 2.481 MB / 429.6 MB, free: 12.49 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.3122, allocations: 8.031 kB / 429.6 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001091/0.3133, allocations: 246.2 kB / 429.9 MB, free: 12.24 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003597/0.3169, allocations: 1.309 MB / 431.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001552/0.3171, allocations: 135.9 kB / 431.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004643/0.3176, allocations: 184 kB / 431.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006694/0.3243, allocations: 2.378 MB / 433.9 MB, free: 8.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.987e-05/0.3244, allocations: 0 / 433.9 MB, free: 8.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002611/0.3246, allocations: 72 kB / 433.9 MB, free: 8.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001572/0.3248, allocations: 91.5 kB / 434 MB, free: 8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005933/0.3308, allocations: 1.966 MB / 436 MB, free: 6.031 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01769/0.3485, allocations: 7.066 MB / 443.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00301/0.3515, allocations: 1.281 MB / 444.3 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00257/0.3541, allocations: 0.8581 MB / 445.2 MB, free: 12.56 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003346/0.3545, allocations: 114.1 kB / 445.3 MB, free: 12.43 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.496e-05/0.3546, allocations: 44.03 kB / 445.3 MB, free: 12.38 MB / 366.1 MB Notification: Performance of pre-optimization done (n=87): time 4.618e-06/0.3546, allocations: 0 / 445.3 MB, free: 12.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=104): time 0.02272/0.3773, allocations: 6.101 MB / 451.4 MB, free: 6.121 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.111e-05/0.3774, allocations: 60.41 kB / 451.5 MB, free: 6.047 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00222/0.3797, allocations: 1.211 MB / 452.7 MB, free: 4.824 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001296/0.3798, allocations: 49.64 kB / 452.8 MB, free: 4.77 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006252/0.3804, allocations: 0.8651 MB / 453.6 MB, free: 3.891 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003118/0.3808, allocations: 362.8 kB / 454 MB, free: 3.531 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003641/0.3811, allocations: 222.8 kB / 454.2 MB, free: 3.309 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.3813, allocations: 357.9 kB / 454.6 MB, free: 2.953 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001005/0.3823, allocations: 0.6155 MB / 455.2 MB, free: 2.336 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00114/0.3834, allocations: 0.9188 MB / 456.1 MB, free: 1.293 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002201/0.3856, allocations: 1.643 MB / 457.7 MB, free: 15.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.458e-06/0.3857, allocations: 4 kB / 457.7 MB, free: 15.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003744/0.3894, allocations: 2.231 MB / 460 MB, free: 13.24 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/0.3895, allocations: 8 kB / 460 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.907e-05/0.3895, allocations: 12 kB / 460 MB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00109/0.3906, allocations: 472.1 kB / 460.4 MB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009528/0.3915, allocations: 271.6 kB / 460.7 MB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007829/0.3994, allocations: 7.016 MB / 467.7 MB, free: 5.055 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001129/0.4006, allocations: 79.83 kB / 467.8 MB, free: 4.977 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001753/0.4007, allocations: 51.98 kB / 467.9 MB, free: 4.926 MB / 382.1 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.001107/0.4019, allocations: 0.6028 MB / 468.5 MB, free: 4.312 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003711/0.4022, allocations: 130.4 kB / 468.6 MB, free: 4.184 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003685/0.4059, allocations: 2.028 MB / 470.6 MB, free: 2.105 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/0.406, allocations: 12 kB / 470.6 MB, free: 2.094 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.538e-05/0.406, allocations: 7.938 kB / 470.6 MB, free: 2.086 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/0.406, allocations: 3.984 kB / 470.6 MB, free: 2.082 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007569/0.4136, allocations: 4.207 MB / 474.8 MB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/0.4137, allocations: 8.094 kB / 474.9 MB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000752/0.4144, allocations: 179.8 kB / 475 MB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001321/0.4158, allocations: 0.523 MB / 475.5 MB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.379e-05/0.4159, allocations: 35.98 kB / 475.6 MB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007685/0.4236, allocations: 8.632 MB / 484.2 MB, free: 3.797 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.4236, allocations: 8.062 kB / 484.2 MB, free: 3.789 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004672/0.4283, allocations: 2.941 MB / 487.2 MB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000738/0.4291, allocations: 339.4 kB / 487.5 MB, free: 404 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003314/0.4294, allocations: 31.98 kB / 487.5 MB, free: 372 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008757/0.4303, allocations: 71.86 kB / 487.6 MB, free: 300 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002376/0.4305, allocations: 88.81 kB / 487.7 MB, free: 212 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.273e-05/0.4306, allocations: 35.98 kB / 487.7 MB, free: 176 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001343/0.432, allocations: 0.842 MB / 488.6 MB, free: 15.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.432, allocations: 0 / 488.6 MB, free: 15.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001499/0.4335, allocations: 408 kB / 489 MB, free: 14.93 MB / 414.1 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.0003914/0.4339, allocations: 190.9 kB / 489.1 MB, free: 14.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003339/0.4373, allocations: 2.173 MB / 491.3 MB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/0.4373, allocations: 0 / 491.3 MB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002217/0.4395, allocations: 1.468 MB / 492.8 MB, free: 10.94 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001978/0.4415, allocations: 389.8 kB / 493.2 MB, free: 10.56 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00628/0.4478, allocations: 3.951 MB / 497.1 MB, free: 6.523 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0013/0.4491, allocations: 1.618 MB / 498.7 MB, free: 4.871 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004058/0.4496, allocations: 99.42 kB / 498.8 MB, free: 4.773 MB / 414.1 MB Notification: Performance of SimCode: time 5.62e-07/0.4496, allocations: 4 kB / 498.8 MB, free: 4.77 MB / 414.1 MB Notification: Performance of Templates: time 0.2622/0.7118, allocations: 68.38 MB / 0.5539 GB, free: 128.1 MB / 462.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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