Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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=15000,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.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,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.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001374/0.001374, allocations: 109.4 kB / 18.78 MB, free: 3.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001412/0.001412, allocations: 207.2 kB / 19.79 MB, free: 2.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.677/1.677, allocations: 230.4 MB / 251.1 MB, free: 8.473 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 75.83 kB / 369 MB, free: 6.043 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2783/0.2802, allocations: 53.32 MB / 422.3 MB, free: 7.809 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01153/0.2918, allocations: 8.902 MB / 431.2 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006652/0.2984, allocations: 2.902 MB / 434.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001304/0.2997, allocations: 43.81 kB / 434.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001728/0.3014, allocations: 0.648 MB / 434.8 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002459/0.3039, allocations: 0.7456 MB / 435.5 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007938/0.3047, allocations: 323.6 kB / 435.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002911/0.3076, allocations: 2.244 MB / 438.1 MB, free: 7.949 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001775/0.3094, allocations: 1.274 MB / 439.4 MB, free: 6.625 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00168/0.3111, allocations: 1.036 MB / 440.4 MB, free: 5.586 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001947/0.313, allocations: 1.316 MB / 441.7 MB, free: 4.266 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003827/0.3134, allocations: 268 kB / 442 MB, free: 4.004 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006874/0.3141, allocations: 367.8 kB / 442.3 MB, free: 3.645 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007883/0.3149, allocations: 0.7752 MB / 443.1 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001302/0.3162, allocations: 1.21 MB / 444.3 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003941/0.3201, allocations: 3.546 MB / 447.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3201, allocations: 0 / 447.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3201, allocations: 0 / 447.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.481e-05/0.3202, allocations: 0 / 447.9 MB, free: 14.09 MB / 366.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.004997/0.3252, allocations: 2.552 MB / 450.4 MB, free: 11.48 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.3252, allocations: 12.03 kB / 450.4 MB, free: 11.47 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007078/0.3259, allocations: 263.4 kB / 450.7 MB, free: 11.21 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002357/0.3283, allocations: 1.31 MB / 452 MB, free: 9.844 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001236/0.3284, allocations: 139.9 kB / 452.1 MB, free: 9.707 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000285/0.3287, allocations: 179.9 kB / 452.3 MB, free: 9.531 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004222/0.3329, allocations: 2.378 MB / 454.7 MB, free: 7.117 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.318e-05/0.333, allocations: 7.953 kB / 454.7 MB, free: 7.109 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001752/0.3331, allocations: 71.98 kB / 454.8 MB, free: 7.039 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001159/0.3332, allocations: 99.44 kB / 454.9 MB, free: 6.941 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003527/0.3368, allocations: 1.966 MB / 456.8 MB, free: 4.973 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01131/0.3481, allocations: 7.072 MB / 463.9 MB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001932/0.35, allocations: 1.229 MB / 465.1 MB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001581/0.3516, allocations: 0.8034 MB / 465.9 MB, free: 11.61 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003088/0.3519, allocations: 130 kB / 466.1 MB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.434e-05/0.3519, allocations: 47.56 kB / 466.1 MB, free: 11.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=87): time 2.535e-06/0.3519, allocations: 4 kB / 466.1 MB, free: 11.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=104): time 0.01358/0.3655, allocations: 6.108 MB / 472.2 MB, free: 5.148 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/0.3656, allocations: 68.39 kB / 472.3 MB, free: 5.066 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001802/0.3674, allocations: 1.211 MB / 473.5 MB, free: 3.844 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.647e-05/0.3675, allocations: 41.7 kB / 473.5 MB, free: 3.797 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006863/0.3681, allocations: 0.8909 MB / 474.4 MB, free: 2.895 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003462/0.3685, allocations: 388.7 kB / 474.8 MB, free: 2.512 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003581/0.3689, allocations: 218.9 kB / 475 MB, free: 2.293 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.369, allocations: 357.9 kB / 475.4 MB, free: 1.938 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001045/0.3701, allocations: 0.6155 MB / 476 MB, free: 1.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001289/0.3714, allocations: 0.9227 MB / 476.9 MB, free: 280 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002455/0.3738, allocations: 1.639 MB / 478.5 MB, free: 14.51 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.3738, allocations: 3.938 kB / 478.5 MB, free: 14.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00387/0.3777, allocations: 2.224 MB / 480.8 MB, free: 12.24 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/0.3777, allocations: 8 kB / 480.8 MB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/0.3777, allocations: 8 kB / 480.8 MB, free: 12.22 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001158/0.3789, allocations: 480.1 kB / 481.3 MB, free: 11.74 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000981/0.3799, allocations: 267.6 kB / 481.5 MB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007362/0.3872, allocations: 7.035 MB / 488.6 MB, free: 4.027 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/0.3883, allocations: 87.97 kB / 488.6 MB, free: 3.941 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.549e-05/0.3884, allocations: 44 kB / 488.7 MB, free: 3.898 MB / 398.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.001096/0.3895, allocations: 0.591 MB / 489.3 MB, free: 3.297 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002819/0.3898, allocations: 147 kB / 489.4 MB, free: 3.152 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003621/0.3934, allocations: 2.028 MB / 491.4 MB, free: 1.078 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/0.3934, allocations: 8 kB / 491.5 MB, free: 1.07 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/0.3934, allocations: 7.984 kB / 491.5 MB, free: 1.062 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.41e-05/0.3935, allocations: 11.98 kB / 491.5 MB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007223/0.4007, allocations: 4.196 MB / 495.7 MB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.336e-06/0.4007, allocations: 4 kB / 495.7 MB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007268/0.4014, allocations: 175.8 kB / 495.8 MB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001337/0.4028, allocations: 0.5274 MB / 496.4 MB, free: 12 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.431e-05/0.4028, allocations: 31.98 kB / 496.4 MB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008639/0.4115, allocations: 8.62 MB / 0.4932 GB, free: 2.793 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.351e-06/0.4115, allocations: 7.938 kB / 0.4932 GB, free: 2.785 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004922/0.4164, allocations: 2.946 MB / 0.4961 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007364/0.4171, allocations: 356 kB / 0.4964 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001915/0.4173, allocations: 31.94 kB / 0.4964 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007801/0.4181, allocations: 71.92 kB / 0.4965 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002256/0.4183, allocations: 92.75 kB / 0.4966 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.577e-05/0.4184, allocations: 39.92 kB / 0.4966 GB, free: 15.14 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001282/0.4197, allocations: 0.8422 MB / 0.4975 GB, free: 14.3 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4197, allocations: 0 / 0.4975 GB, free: 14.3 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001449/0.4211, allocations: 411.9 kB / 0.4979 GB, free: 13.89 MB / 430.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.0003716/0.4215, allocations: 183.4 kB / 0.498 GB, free: 13.71 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003506/0.425, allocations: 2.097 MB / 0.5001 GB, free: 11.53 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.425, allocations: 2 kB / 0.5001 GB, free: 11.53 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002278/0.4273, allocations: 1.432 MB / 0.5015 GB, free: 10.03 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001664/0.429, allocations: 389.3 kB / 0.5018 GB, free: 9.656 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006365/0.4353, allocations: 3.982 MB / 0.5057 GB, free: 5.59 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001429/0.4368, allocations: 1.634 MB / 0.5073 GB, free: 3.922 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0008152/0.4376, allocations: 295.8 kB / 0.5076 GB, free: 3.629 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002768/0.4379, allocations: 99.42 kB / 0.5077 GB, free: 3.531 MB / 430.1 MB Notification: Performance of SimCode: time 6.81e-07/0.4379, allocations: 0 / 0.5077 GB, free: 3.531 MB / 430.1 MB Notification: Performance of Templates: time 0.04164/0.4795, allocations: 23.2 MB / 0.5304 GB, free: 12.56 MB / 462.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches