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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.0008974/0.0008976, allocations: 92.97 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001084/0.001084, allocations: 202.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.38/1.38, allocations: 227.8 MB / 246.8 MB, free: 11.37 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003658/0.0003658, allocations: 8 kB / 307.7 MB, free: 0.7891 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1121, allocations: 51.52 MB / 359.3 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.009004/0.1211, allocations: 8.315 MB / 367.6 MB, free: 4.918 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005114/0.1263, allocations: 2.844 MB / 370.4 MB, free: 2.062 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007273/0.127, allocations: 43.81 kB / 370.5 MB, free: 2.02 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001284/0.1283, allocations: 0.5283 MB / 371 MB, free: 1.488 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001656/0.13, allocations: 0.6333 MB / 371.6 MB, free: 0.8516 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005872/0.1306, allocations: 295.7 kB / 371.9 MB, free: 0.5625 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.2048/0.3354, allocations: 2.553 MB / 374.5 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002295/0.3378, allocations: 1.428 MB / 375.9 MB, free: 9.938 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001886/0.3397, allocations: 0.7813 MB / 376.7 MB, free: 9.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001862/0.3416, allocations: 1.107 MB / 377.8 MB, free: 9.609 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003164/0.3419, allocations: 118.2 kB / 377.9 MB, free: 9.609 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007015/0.3426, allocations: 221.6 kB / 378.1 MB, free: 9.609 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006706/0.3433, allocations: 0.5785 MB / 378.7 MB, free: 9.527 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001212/0.3445, allocations: 1.038 MB / 379.7 MB, free: 9.184 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004859/0.3494, allocations: 3.311 MB / 383 MB, free: 8.789 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3494, allocations: 0 / 383 MB, free: 8.789 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.3494, allocations: 0 / 383 MB, free: 8.789 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001088/0.3495, allocations: 0 / 383 MB, free: 8.789 MB / 302.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.00498/0.3545, allocations: 2.13 MB / 385.2 MB, free: 7.738 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/0.3546, allocations: 9.469 kB / 385.2 MB, free: 7.738 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008264/0.3554, allocations: 255.1 kB / 385.4 MB, free: 7.621 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001902/0.3573, allocations: 1.271 MB / 386.7 MB, free: 7.172 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001078/0.3575, allocations: 139.3 kB / 386.8 MB, free: 7.16 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002813/0.3577, allocations: 181.3 kB / 387 MB, free: 7.098 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004011/0.3618, allocations: 2.39 MB / 389.4 MB, free: 5.711 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.024e-05/0.3618, allocations: 9.562 kB / 389.4 MB, free: 5.707 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000169/0.362, allocations: 73.64 kB / 389.5 MB, free: 5.652 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000106/0.3621, allocations: 92.31 kB / 389.6 MB, free: 5.637 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003378/0.3655, allocations: 1.982 MB / 391.6 MB, free: 4.641 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009489/0.375, allocations: 7.171 MB / 398.7 MB, free: 15.61 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001801/0.3768, allocations: 1.287 MB / 400 MB, free: 14.79 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001588/0.3784, allocations: 0.8781 MB / 400.9 MB, free: 14.4 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000237/0.3787, allocations: 124 kB / 401 MB, free: 14.29 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.3787, allocations: 50.75 kB / 401.1 MB, free: 14.23 MB / 318.1 MB Notification: Performance of pre-optimization done (n=87): time 2.494e-06/0.3787, allocations: 0 / 401.1 MB, free: 14.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=104): time 0.01397/0.3927, allocations: 6.226 MB / 407.3 MB, free: 7.906 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.262e-05/0.3928, allocations: 64.41 kB / 407.4 MB, free: 7.832 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001759/0.3945, allocations: 1.219 MB / 408.6 MB, free: 6.602 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001023/0.3947, allocations: 41.7 kB / 408.6 MB, free: 6.555 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005987/0.3953, allocations: 0.8713 MB / 409.5 MB, free: 5.672 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002959/0.3956, allocations: 363.1 kB / 409.8 MB, free: 5.32 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001482/0.3957, allocations: 105.7 kB / 410 MB, free: 5.211 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.3959, allocations: 357.9 kB / 410.3 MB, free: 4.855 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001061/0.3969, allocations: 0.6233 MB / 410.9 MB, free: 4.23 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001226/0.3982, allocations: 0.9305 MB / 411.9 MB, free: 3.172 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002383/0.4006, allocations: 1.657 MB / 413.5 MB, free: 1.395 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.4006, allocations: 3.984 kB / 413.5 MB, free: 1.391 MB / 318.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003843/0.4044, allocations: 2.24 MB / 415.8 MB, free: 15.11 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.66e-05/0.4045, allocations: 15.98 kB / 415.8 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/0.4045, allocations: 8 kB / 415.8 MB, free: 15.08 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001088/0.4056, allocations: 473.4 kB / 416.2 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/0.4066, allocations: 279.6 kB / 416.5 MB, free: 14.33 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006508/0.4131, allocations: 6.438 MB / 423 MB, free: 7.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00137/0.4145, allocations: 87.98 kB / 423 MB, free: 7.414 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/0.4147, allocations: 55.98 kB / 423.1 MB, free: 7.359 MB / 334.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.001374/0.416, allocations: 0.595 MB / 423.7 MB, free: 6.754 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003334/0.4164, allocations: 142.2 kB / 423.8 MB, free: 6.613 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003692/0.4201, allocations: 2.047 MB / 425.9 MB, free: 4.52 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/0.4201, allocations: 12 kB / 425.9 MB, free: 4.508 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.096e-06/0.4201, allocations: 4 kB / 425.9 MB, free: 4.504 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.233e-05/0.4201, allocations: 7.969 kB / 425.9 MB, free: 4.496 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007149/0.4273, allocations: 4.245 MB / 430.1 MB, free: 148 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.716e-06/0.4273, allocations: 4 kB / 430.1 MB, free: 144 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007732/0.4281, allocations: 188.2 kB / 430.3 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001373/0.4295, allocations: 0.5166 MB / 430.8 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.855e-05/0.4296, allocations: 31.98 kB / 430.9 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007713/0.4373, allocations: 7.927 MB / 438.8 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.4373, allocations: 4 kB / 438.8 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00502/0.4424, allocations: 2.966 MB / 441.8 MB, free: 3.883 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008303/0.4432, allocations: 355.2 kB / 442.1 MB, free: 3.516 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001931/0.4434, allocations: 31.98 kB / 442.2 MB, free: 3.484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008261/0.4443, allocations: 79.92 kB / 442.2 MB, free: 3.406 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002207/0.4445, allocations: 92.75 kB / 442.3 MB, free: 3.316 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.067e-05/0.4446, allocations: 35.98 kB / 442.4 MB, free: 3.281 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00128/0.4459, allocations: 0.8345 MB / 443.2 MB, free: 2.441 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.4459, allocations: 3.938 kB / 443.2 MB, free: 2.438 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001514/0.4474, allocations: 408 kB / 443.6 MB, free: 2.039 MB / 350.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.0003908/0.4478, allocations: 188.1 kB / 443.8 MB, free: 1.848 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003674/0.4515, allocations: 2.181 MB / 446 MB, free: 15.58 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.4515, allocations: 4 kB / 446 MB, free: 15.58 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002315/0.4538, allocations: 1.484 MB / 447.4 MB, free: 14.03 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002785/0.4566, allocations: 369.4 kB / 447.8 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00708/0.4637, allocations: 4.872 MB / 452.7 MB, free: 8.723 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001369/0.4651, allocations: 1.634 MB / 454.3 MB, free: 7.059 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001074/0.4662, allocations: 299.8 kB / 454.6 MB, free: 6.762 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002669/0.4665, allocations: 95.42 kB / 454.7 MB, free: 6.668 MB / 366.1 MB Notification: Performance of SimCode: time 7.72e-07/0.4665, allocations: 0 / 454.7 MB, free: 6.668 MB / 366.1 MB Notification: Performance of Templates: time 0.03868/0.5052, allocations: 21.15 MB / 475.9 MB, free: 1.734 MB / 382.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches