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.001553/0.001559, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001875/0.001875, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.39/1.39, allocations: 227.4 MB / 247.4 MB, free: 10.6 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 61.31 kB / 307.6 MB, free: 0.668 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1062, allocations: 50.53 MB / 358.2 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01038/0.1166, allocations: 8.88 MB / 367 MB, free: 5.207 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00545/0.1221, allocations: 2.89 MB / 369.9 MB, free: 2.305 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001456/0.1236, allocations: 43.81 kB / 370 MB, free: 2.262 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001934/0.1256, allocations: 0.6055 MB / 370.6 MB, free: 1.652 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002407/0.128, allocations: 0.7144 MB / 371.3 MB, free: 0.9336 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009311/0.129, allocations: 323.5 kB / 371.6 MB, free: 0.6172 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1954/0.3244, allocations: 2.217 MB / 373.8 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0037/0.3281, allocations: 1.741 MB / 375.6 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002476/0.3306, allocations: 1.016 MB / 376.6 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003108/0.3338, allocations: 1.286 MB / 377.9 MB, free: 9.957 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001184/0.335, allocations: 269.5 kB / 378.1 MB, free: 9.957 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001854/0.3369, allocations: 366.4 kB / 378.5 MB, free: 9.957 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001464/0.3383, allocations: 0.7564 MB / 379.2 MB, free: 9.875 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001964/0.3403, allocations: 1.211 MB / 380.4 MB, free: 9.352 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004919/0.3452, allocations: 3.503 MB / 383.9 MB, free: 8.199 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.3453, allocations: 1.375 kB / 384 MB, free: 8.199 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.3453, allocations: 0 / 384 MB, free: 8.199 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001116/0.3454, allocations: 0 / 384 MB, free: 8.199 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.007101/0.3525, allocations: 2.487 MB / 386.4 MB, free: 6.77 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.023e-05/0.3526, allocations: 9.625 kB / 386.4 MB, free: 6.77 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/0.3536, allocations: 251.4 kB / 386.7 MB, free: 6.656 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00225/0.3559, allocations: 1.265 MB / 388 MB, free: 5.941 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001105/0.356, allocations: 143.4 kB / 388.1 MB, free: 5.879 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003006/0.3563, allocations: 177.2 kB / 388.3 MB, free: 5.82 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004378/0.3607, allocations: 2.378 MB / 390.6 MB, free: 4.848 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.183e-05/0.3608, allocations: 14 kB / 390.7 MB, free: 4.836 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001759/0.3609, allocations: 70.66 kB / 390.7 MB, free: 4.785 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000127/0.3611, allocations: 95.62 kB / 390.8 MB, free: 4.766 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003557/0.3646, allocations: 1.961 MB / 392.8 MB, free: 3.777 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01142/0.3761, allocations: 7.147 MB / 399.9 MB, free: 14.75 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001961/0.3781, allocations: 1.28 MB / 401.2 MB, free: 13.92 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001752/0.3799, allocations: 0.8784 MB / 402.1 MB, free: 13.3 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002498/0.3802, allocations: 118.1 kB / 402.2 MB, free: 13.16 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/0.3802, allocations: 43.56 kB / 402.2 MB, free: 13.11 MB / 318.1 MB Notification: Performance of pre-optimization done (n=87): time 3.206e-06/0.3802, allocations: 0 / 402.2 MB, free: 13.11 MB / 318.1 MB Notification: Performance of matching and sorting (n=104): time 0.0148/0.395, allocations: 6.109 MB / 408.4 MB, free: 6.883 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.323e-05/0.3951, allocations: 64.41 kB / 408.4 MB, free: 6.809 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001951/0.3971, allocations: 1.218 MB / 409.6 MB, free: 5.582 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001048/0.3972, allocations: 45.7 kB / 409.7 MB, free: 5.531 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006315/0.3978, allocations: 0.8682 MB / 410.6 MB, free: 4.652 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000305/0.3981, allocations: 361.7 kB / 410.9 MB, free: 4.305 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003656/0.3985, allocations: 225.9 kB / 411.1 MB, free: 4.078 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.3987, allocations: 353.9 kB / 411.5 MB, free: 3.727 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001011/0.3997, allocations: 0.6194 MB / 412.1 MB, free: 3.109 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001204/0.4009, allocations: 0.9223 MB / 413 MB, free: 2.059 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002288/0.4032, allocations: 1.631 MB / 414.6 MB, free: 344 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.4032, allocations: 4 kB / 414.6 MB, free: 340 kB / 318.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003946/0.4072, allocations: 2.229 MB / 416.9 MB, free: 14.12 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.747e-05/0.4072, allocations: 8.25 kB / 416.9 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.982e-05/0.4073, allocations: 12 kB / 416.9 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001148/0.4084, allocations: 479.3 kB / 417.4 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/0.4095, allocations: 277 kB / 417.6 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007183/0.4167, allocations: 7.015 MB / 424.7 MB, free: 5.973 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001581/0.4183, allocations: 91.88 kB / 424.7 MB, free: 5.883 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002465/0.4186, allocations: 48 kB / 424.8 MB, free: 5.836 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.001485/0.4201, allocations: 0.5997 MB / 425.4 MB, free: 5.242 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004793/0.4206, allocations: 134.4 kB / 425.5 MB, free: 5.109 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003977/0.4245, allocations: 2.027 MB / 427.5 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.508e-05/0.4246, allocations: 12 kB / 427.6 MB, free: 3.043 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.708e-05/0.4246, allocations: 8 kB / 427.6 MB, free: 3.035 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/0.4246, allocations: 3.984 kB / 427.6 MB, free: 3.031 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008548/0.4332, allocations: 4.229 MB / 431.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.049e-05/0.4332, allocations: 4.469 kB / 431.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007697/0.434, allocations: 182.4 kB / 432 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001351/0.4354, allocations: 0.5219 MB / 432.5 MB, free: 14.03 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001016/0.4355, allocations: 31.98 kB / 432.5 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008204/0.4437, allocations: 8.629 MB / 441.2 MB, free: 4.852 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/0.4437, allocations: 7.984 kB / 441.2 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005082/0.4488, allocations: 2.947 MB / 444.1 MB, free: 1.805 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009598/0.4498, allocations: 347.3 kB / 444.5 MB, free: 1.445 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004476/0.4503, allocations: 31.98 kB / 444.5 MB, free: 1.414 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/0.4514, allocations: 71.86 kB / 444.6 MB, free: 1.344 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000255/0.4516, allocations: 88.83 kB / 444.6 MB, free: 1.258 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.46e-05/0.4517, allocations: 35.98 kB / 444.7 MB, free: 1.223 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00172/0.4535, allocations: 0.8344 MB / 445.5 MB, free: 392 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4535, allocations: 0 / 445.5 MB, free: 392 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.001982/0.4555, allocations: 419.9 kB / 445.9 MB, free: 15.97 MB / 366.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.0004578/0.4559, allocations: 183 kB / 446.1 MB, free: 15.78 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004515/0.4605, allocations: 2.502 MB / 448.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.233e-06/0.4605, allocations: 128 / 448.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002328/0.4628, allocations: 1.479 MB / 450.1 MB, free: 11.65 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002442/0.4653, allocations: 383.3 kB / 450.5 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007358/0.4727, allocations: 3.981 MB / 454.4 MB, free: 7.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001624/0.4743, allocations: 1.614 MB / 456.1 MB, free: 5.586 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004757/0.4748, allocations: 111.4 kB / 456.2 MB, free: 5.477 MB / 366.1 MB Notification: Performance of SimCode: time 9.52e-07/0.4748, allocations: 0 / 456.2 MB, free: 5.477 MB / 366.1 MB Notification: Performance of Templates: time 0.07848/0.5533, allocations: 68.12 MB / 0.512 GB, free: 1.352 MB / 430.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/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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches