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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001835/0.001835, allocations: 109.1 kB / 21.18 MB, free: 0.7852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002495/0.002495, allocations: 218 kB / 24.49 MB, free: 4.172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.478/1.478, allocations: 230.5 MB / 258.1 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] 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.002133/0.002133, allocations: 71.89 kB / 379 MB, free: 2.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.253, allocations: 53.41 MB / 432.5 MB, free: 6.75 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01095/0.264, allocations: 8.957 MB / 441.4 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005853/0.2698, allocations: 2.909 MB / 444.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001356/0.2712, allocations: 55.62 kB / 444.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001776/0.273, allocations: 0.6446 MB / 445 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002425/0.2754, allocations: 0.7613 MB / 445.8 MB, free: 9.375 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008921/0.2763, allocations: 323.5 kB / 446.1 MB, free: 9.059 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003148/0.2794, allocations: 2.241 MB / 448.3 MB, free: 6.805 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001529/0.281, allocations: 1.02 MB / 449.4 MB, free: 5.738 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001732/0.2827, allocations: 1.051 MB / 450.4 MB, free: 4.684 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002232/0.2849, allocations: 1.323 MB / 451.7 MB, free: 3.355 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000549/0.2855, allocations: 268 kB / 452 MB, free: 3.094 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00091/0.2864, allocations: 375.7 kB / 452.4 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008662/0.2873, allocations: 0.7674 MB / 453.1 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001783/0.289, allocations: 1.209 MB / 454.3 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0046/0.2936, allocations: 3.551 MB / 457.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.2937, allocations: 0 / 457.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2937, allocations: 0 / 457.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.804e-05/0.2937, allocations: 0 / 457.9 MB, free: 13.18 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.005481/0.2992, allocations: 2.47 MB / 460.4 MB, free: 10.67 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.2993, allocations: 8.031 kB / 460.4 MB, free: 10.66 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007537/0.3, allocations: 271.4 kB / 460.6 MB, free: 10.39 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002701/0.3027, allocations: 1.242 MB / 461.9 MB, free: 9.109 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001213/0.3028, allocations: 131.9 kB / 462 MB, free: 8.98 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003598/0.3032, allocations: 191.9 kB / 462.2 MB, free: 8.793 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004501/0.3077, allocations: 2.367 MB / 464.6 MB, free: 6.391 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.986e-05/0.3078, allocations: 11.94 kB / 464.6 MB, free: 6.379 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001864/0.3079, allocations: 72 kB / 464.6 MB, free: 6.309 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001126/0.3081, allocations: 95.5 kB / 464.7 MB, free: 6.215 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003662/0.3117, allocations: 1.966 MB / 466.7 MB, free: 4.246 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01226/0.324, allocations: 6.945 MB / 473.6 MB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001849/0.3258, allocations: 1.004 MB / 474.6 MB, free: 12.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001585/0.3274, allocations: 0.8031 MB / 475.5 MB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002026/0.3276, allocations: 40.95 kB / 475.5 MB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.006e-05/0.3277, allocations: 47.56 kB / 475.5 MB, free: 11.2 MB / 382.1 MB Notification: Performance of pre-optimization done (n=87): time 3.256e-06/0.3277, allocations: 0 / 475.5 MB, free: 11.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=104): time 0.01389/0.3415, allocations: 5.671 MB / 481.2 MB, free: 5.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.356e-05/0.3416, allocations: 64.41 kB / 481.3 MB, free: 5.406 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001891/0.3435, allocations: 1.215 MB / 482.5 MB, free: 4.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001101/0.3436, allocations: 45.7 kB / 482.5 MB, free: 4.129 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000723/0.3443, allocations: 0.8947 MB / 483.4 MB, free: 3.223 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003566/0.3447, allocations: 384.7 kB / 483.8 MB, free: 2.844 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00037/0.3451, allocations: 222.9 kB / 484 MB, free: 2.621 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.3452, allocations: 353.9 kB / 484.4 MB, free: 2.27 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001067/0.3463, allocations: 0.6116 MB / 485 MB, free: 1.656 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001283/0.3476, allocations: 0.9227 MB / 485.9 MB, free: 0.6094 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002546/0.3501, allocations: 1.643 MB / 487.5 MB, free: 14.84 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.204e-05/0.3501, allocations: 4 kB / 487.5 MB, free: 14.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004171/0.3543, allocations: 2.149 MB / 489.7 MB, free: 12.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.76e-05/0.3543, allocations: 8 kB / 489.7 MB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.03e-05/0.3544, allocations: 12 kB / 489.7 MB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00119/0.3555, allocations: 472.2 kB / 490.2 MB, free: 12.17 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001066/0.3566, allocations: 279.5 kB / 490.4 MB, free: 11.89 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007668/0.3643, allocations: 6.702 MB / 497.2 MB, free: 4.855 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001262/0.3655, allocations: 91.86 kB / 497.2 MB, free: 4.766 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/0.3657, allocations: 48 kB / 497.3 MB, free: 4.719 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.001102/0.3668, allocations: 0.5989 MB / 497.9 MB, free: 4.109 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003076/0.3671, allocations: 147 kB / 498 MB, free: 3.965 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003765/0.3708, allocations: 1.949 MB / 500 MB, free: 1.992 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.468e-05/0.3708, allocations: 16 kB / 500 MB, free: 1.977 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.808e-06/0.3709, allocations: 4 kB / 500 MB, free: 1.973 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.414e-05/0.3709, allocations: 7.969 kB / 0.4883 GB, free: 1.965 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008023/0.3789, allocations: 4.096 MB / 0.4923 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.058e-05/0.3789, allocations: 4 kB / 0.4923 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008054/0.3797, allocations: 175.8 kB / 0.4925 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001474/0.3812, allocations: 0.5275 MB / 0.493 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.9e-05/0.3813, allocations: 31.98 kB / 0.493 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008996/0.3903, allocations: 8.199 MB / 0.501 GB, free: 4.355 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.606e-06/0.3903, allocations: 11.88 kB / 0.501 GB, free: 4.344 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005082/0.3954, allocations: 2.863 MB / 0.5038 GB, free: 1.406 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009005/0.3963, allocations: 274.9 kB / 0.5041 GB, free: 1.137 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002176/0.3965, allocations: 35.92 kB / 0.5041 GB, free: 1.102 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008333/0.3973, allocations: 71.92 kB / 0.5042 GB, free: 1.031 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002545/0.3976, allocations: 96.7 kB / 0.5043 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.669e-05/0.3976, allocations: 35.98 kB / 0.5043 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001341/0.399, allocations: 0.8384 MB / 0.5051 GB, free: 60 kB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.399, allocations: 3.938 kB / 0.5051 GB, free: 56 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.001574/0.4006, allocations: 408.1 kB / 0.5055 GB, free: 15.65 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.0004224/0.401, allocations: 186.5 kB / 0.5057 GB, free: 15.46 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003606/0.4046, allocations: 1.944 MB / 0.5076 GB, free: 13.47 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.4046, allocations: 0 / 0.5076 GB, free: 13.47 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002398/0.407, allocations: 1.373 MB / 0.5089 GB, free: 12.05 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001916/0.4089, allocations: 390.4 kB / 0.5093 GB, free: 11.68 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006813/0.4157, allocations: 4.023 MB / 0.5132 GB, free: 7.578 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001442/0.4172, allocations: 1.622 MB / 0.5148 GB, free: 5.922 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004033/0.4176, allocations: 99.42 kB / 0.5149 GB, free: 5.824 MB / 430.1 MB Notification: Performance of SimCode: time 8.62e-07/0.4176, allocations: 0 / 0.5149 GB, free: 5.824 MB / 430.1 MB Notification: Performance of Templates: time 0.2625/0.6801, allocations: 68.45 MB / 0.5818 GB, free: 64.98 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 [Calling sys.exit(0), Time elapsed: 12.825509203132242]