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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001872/0.001872, allocations: 109.5 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00237/0.00237, allocations: 214 kB / 23.54 MB, free: 5.391 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 230.2 MB / 256.8 MB, free: 8.641 MB / 206.1 MB [Timeout remaining time 88] 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=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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 67.89 kB / 376.9 MB, free: 3.785 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.261, allocations: 53.31 MB / 430.2 MB, free: 7.637 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01145/0.2725, allocations: 8.918 MB / 439.1 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006385/0.2789, allocations: 2.898 MB / 442 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001547/0.2804, allocations: 47.81 kB / 442.1 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002092/0.2825, allocations: 0.6403 MB / 442.7 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00297/0.2855, allocations: 0.7418 MB / 443.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001038/0.2865, allocations: 331.5 kB / 443.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003293/0.2898, allocations: 2.241 MB / 446 MB, free: 7.766 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00175/0.2915, allocations: 1.274 MB / 447.3 MB, free: 6.441 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001797/0.2933, allocations: 1.028 MB / 448.3 MB, free: 5.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002308/0.2957, allocations: 1.323 MB / 449.6 MB, free: 4.082 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005565/0.2962, allocations: 268 kB / 449.9 MB, free: 3.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000919/0.2971, allocations: 367.8 kB / 450.3 MB, free: 3.461 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008263/0.298, allocations: 0.7674 MB / 451 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001414/0.2994, allocations: 1.217 MB / 452.2 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004383/0.3038, allocations: 3.542 MB / 455.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.3038, allocations: 0 / 455.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3038, allocations: 0 / 455.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.97e-05/0.3039, allocations: 0 / 455.8 MB, free: 13.91 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.005726/0.3096, allocations: 2.545 MB / 458.3 MB, free: 11.31 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/0.3096, allocations: 16.02 kB / 458.4 MB, free: 11.29 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007513/0.3104, allocations: 259.4 kB / 458.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002448/0.3128, allocations: 1.314 MB / 459.9 MB, free: 9.668 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001234/0.313, allocations: 135.9 kB / 460.1 MB, free: 9.535 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002874/0.3132, allocations: 195.8 kB / 460.2 MB, free: 9.344 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004355/0.3176, allocations: 2.367 MB / 462.6 MB, free: 6.941 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.657e-05/0.3177, allocations: 11.95 kB / 462.6 MB, free: 6.93 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001697/0.3178, allocations: 79.92 kB / 462.7 MB, free: 6.852 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001079/0.3179, allocations: 91.5 kB / 462.8 MB, free: 6.762 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003606/0.3215, allocations: 1.962 MB / 464.8 MB, free: 4.797 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01177/0.3333, allocations: 7.088 MB / 471.8 MB, free: 13.51 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001908/0.3352, allocations: 1.226 MB / 473.1 MB, free: 12.22 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001563/0.3368, allocations: 0.8034 MB / 473.9 MB, free: 11.42 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002467/0.337, allocations: 122.1 kB / 474 MB, free: 11.28 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.534e-05/0.3371, allocations: 39.56 kB / 474 MB, free: 11.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=87): time 2.775e-06/0.3371, allocations: 0 / 474 MB, free: 11.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=104): time 0.01416/0.3512, allocations: 6.116 MB / 480.1 MB, free: 4.969 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.784e-05/0.3513, allocations: 64.41 kB / 480.2 MB, free: 4.891 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001936/0.3532, allocations: 1.223 MB / 481.4 MB, free: 3.656 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001113/0.3533, allocations: 45.64 kB / 481.5 MB, free: 3.605 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007336/0.3541, allocations: 0.8831 MB / 482.4 MB, free: 2.711 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003604/0.3544, allocations: 384.7 kB / 482.7 MB, free: 2.332 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003828/0.3548, allocations: 222.9 kB / 482.9 MB, free: 2.109 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.355, allocations: 353.9 kB / 483.3 MB, free: 1.758 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001108/0.3561, allocations: 0.6155 MB / 483.9 MB, free: 1.141 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001314/0.3574, allocations: 0.9227 MB / 484.8 MB, free: 96 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002521/0.3599, allocations: 1.639 MB / 486.5 MB, free: 14.33 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/0.3599, allocations: 4 kB / 486.5 MB, free: 14.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004063/0.364, allocations: 2.228 MB / 488.7 MB, free: 12.05 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.669e-05/0.364, allocations: 11.98 kB / 488.7 MB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.666e-05/0.364, allocations: 8 kB / 488.7 MB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001157/0.3652, allocations: 484 kB / 489.2 MB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001057/0.3663, allocations: 271.6 kB / 489.5 MB, free: 11.28 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007462/0.3737, allocations: 7.01 MB / 496.5 MB, free: 3.855 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001171/0.3749, allocations: 83.91 kB / 496.6 MB, free: 3.773 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/0.375, allocations: 48 kB / 496.6 MB, free: 3.727 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.001083/0.3761, allocations: 0.599 MB / 497.2 MB, free: 3.117 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003048/0.3764, allocations: 143 kB / 497.3 MB, free: 2.977 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003792/0.3802, allocations: 2.024 MB / 499.4 MB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-05/0.3802, allocations: 12 kB / 499.4 MB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.929e-06/0.3802, allocations: 4 kB / 499.4 MB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.74e-05/0.3802, allocations: 11.95 kB / 499.4 MB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007789/0.388, allocations: 4.204 MB / 0.4918 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/0.388, allocations: 8.031 kB / 0.4918 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007767/0.3888, allocations: 179.7 kB / 0.492 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001409/0.3902, allocations: 0.5231 MB / 0.4925 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.313e-05/0.3903, allocations: 27.98 kB / 0.4925 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008938/0.3992, allocations: 8.64 MB / 0.5009 GB, free: 2.594 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.3992, allocations: 4 kB / 0.5009 GB, free: 2.59 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005011/0.4042, allocations: 2.934 MB / 0.5038 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008692/0.4051, allocations: 360 kB / 0.5042 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001912/0.4053, allocations: 35.92 kB / 0.5042 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007876/0.4061, allocations: 71.92 kB / 0.5043 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000244/0.4063, allocations: 88.81 kB / 0.5043 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.586e-05/0.4064, allocations: 39.94 kB / 0.5044 GB, free: 14.96 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001324/0.4077, allocations: 0.8383 MB / 0.5052 GB, free: 14.11 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4077, allocations: 0 / 0.5052 GB, free: 14.11 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001506/0.4092, allocations: 411.9 kB / 0.5056 GB, free: 13.71 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.0004202/0.4097, allocations: 188.9 kB / 0.5058 GB, free: 13.52 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003742/0.4134, allocations: 2.102 MB / 0.5078 GB, free: 11.34 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.4134, allocations: 4 kB / 0.5078 GB, free: 11.34 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002337/0.4158, allocations: 1.421 MB / 0.5092 GB, free: 9.848 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001908/0.4177, allocations: 386.3 kB / 0.5096 GB, free: 9.48 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007055/0.4247, allocations: 4.037 MB / 0.5135 GB, free: 5.355 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001461/0.4262, allocations: 1.618 MB / 0.5151 GB, free: 3.703 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004522/0.4266, allocations: 103.4 kB / 0.5152 GB, free: 3.602 MB / 430.1 MB Notification: Performance of SimCode: time 1.543e-06/0.4266, allocations: 0 / 0.5152 GB, free: 3.602 MB / 430.1 MB Notification: Performance of Templates: time 0.2849/0.7115, allocations: 68.45 MB / 0.5821 GB, free: 63.23 MB / 446.1 MB [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.makefile [Timeout 660] (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) [Timeout 480] 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.1.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) [Timeout 660] [Timeout remaining time 660] Reference file matches