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_Conveyor.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.001257/0.001257, allocations: 116.1 kB / 21.18 MB, free: 0.5898 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.001351/0.001351, allocations: 209.9 kB / 24.47 MB, free: 3.996 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.387/1.387, allocations: 230.4 MB / 258.1 MB, free: 8.148 MB / 206.1 MB " [Timeout remaining time 178] 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_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") [Timeout 660] "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.001872/0.001872, allocations: 75.81 kB / 378.8 MB, free: 2.852 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2632/0.2651, allocations: 53.31 MB / 432.1 MB, free: 7.367 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01188/0.277, allocations: 9.618 MB / 441.7 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006947/0.2839, allocations: 3.654 MB / 445.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001219/0.2851, allocations: 51.75 kB / 445.4 MB, free: 9.996 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001849/0.287, allocations: 0.7691 MB / 446.2 MB, free: 9.223 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00236/0.2893, allocations: 0.8779 MB / 447 MB, free: 8.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001136/0.2905, allocations: 455.1 kB / 447.5 MB, free: 7.895 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00302/0.2935, allocations: 2.432 MB / 449.9 MB, free: 5.453 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001477/0.295, allocations: 1.048 MB / 451 MB, free: 4.355 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001575/0.2965, allocations: 1.113 MB / 452.1 MB, free: 3.238 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002101/0.2986, allocations: 1.436 MB / 453.5 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004174/0.2991, allocations: 283.9 kB / 453.8 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008324/0.2999, allocations: 419.8 kB / 454.2 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008542/0.3007, allocations: 0.818 MB / 455 MB, free: 296 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001393/0.3021, allocations: 1.283 MB / 456.3 MB, free: 15 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004338/0.3065, allocations: 3.764 MB / 460.1 MB, free: 11.22 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.3065, allocations: 0 / 460.1 MB, free: 11.22 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3065, allocations: 0 / 460.1 MB, free: 11.22 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.378e-05/0.3065, allocations: 0 / 460.1 MB, free: 11.22 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: 490 * Number of variables: 490 Notification: Performance of Generate backend data structure: time 0.005543/0.3121, allocations: 2.738 MB / 462.8 MB, free: 8.426 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.3121, allocations: 12.03 kB / 462.8 MB, free: 8.414 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008182/0.313, allocations: 299.3 kB / 463.1 MB, free: 8.121 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002622/0.3156, allocations: 1.401 MB / 464.5 MB, free: 6.664 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001232/0.3157, allocations: 143.7 kB / 464.6 MB, free: 6.523 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003075/0.316, allocations: 191.9 kB / 464.8 MB, free: 6.336 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004111/0.3201, allocations: 2.436 MB / 467.3 MB, free: 3.867 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.383e-05/0.3202, allocations: 11.94 kB / 467.3 MB, free: 3.855 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001862/0.3204, allocations: 83.98 kB / 467.4 MB, free: 3.773 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001195/0.3205, allocations: 91.67 kB / 467.4 MB, free: 3.684 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003479/0.324, allocations: 1.994 MB / 469.4 MB, free: 1.688 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01201/0.336, allocations: 7.326 MB / 476.8 MB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001918/0.3379, allocations: 1.286 MB / 478.1 MB, free: 8.812 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001569/0.3395, allocations: 0.8212 MB / 478.9 MB, free: 7.996 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002404/0.3397, allocations: 118.1 kB / 479 MB, free: 7.863 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001081/0.3408, allocations: 0.6944 MB / 479.7 MB, free: 7.141 MB / 382.1 MB Notification: Performance of pre-optimization done (n=99): time 3.106e-06/0.3408, allocations: 0 / 479.7 MB, free: 7.141 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01602/0.3568, allocations: 7.356 MB / 487 MB, free: 15.61 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001196/0.3569, allocations: 167.2 kB / 487.2 MB, free: 15.4 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002133/0.359, allocations: 1.431 MB / 488.6 MB, free: 13.95 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001263/0.3592, allocations: 45.7 kB / 488.7 MB, free: 13.9 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009037/0.3601, allocations: 0.9662 MB / 489.6 MB, free: 12.93 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003917/0.3605, allocations: 436.3 kB / 490.1 MB, free: 12.5 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004043/0.3609, allocations: 251.5 kB / 490.3 MB, free: 12.24 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.3611, allocations: 361.9 kB / 490.7 MB, free: 11.88 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001035/0.3621, allocations: 0.6325 MB / 491.3 MB, free: 11.25 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001327/0.3634, allocations: 1.005 MB / 492.3 MB, free: 10.1 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002425/0.3658, allocations: 1.711 MB / 494 MB, free: 8.258 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.253e-06/0.3658, allocations: 8 kB / 494 MB, free: 8.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004076/0.3699, allocations: 2.344 MB / 496.4 MB, free: 5.863 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.143e-05/0.37, allocations: 10.97 kB / 496.4 MB, free: 5.855 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.83e-05/0.37, allocations: 8 kB / 496.4 MB, free: 5.848 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001206/0.3712, allocations: 0.4884 MB / 496.9 MB, free: 5.344 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001098/0.3723, allocations: 291.5 kB / 497.2 MB, free: 5.059 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007622/0.3799, allocations: 7.195 MB / 0.4925 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/0.3812, allocations: 99.86 kB / 0.4926 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001137/0.3814, allocations: 56 kB / 0.4927 GB, free: 13.3 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.dutyCycle.nextTimeEvent,$whenCondition1,dutyCycle.nextTimeEventScaled,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 143 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001154/0.3825, allocations: 0.634 MB / 0.4933 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003073/0.3828, allocations: 163 kB / 0.4935 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003738/0.3866, allocations: 2.135 MB / 0.4955 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.646e-05/0.3866, allocations: 15.98 kB / 0.4956 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/0.3866, allocations: 4 kB / 0.4956 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.459e-05/0.3866, allocations: 7.969 kB / 0.4956 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007778/0.3944, allocations: 4.45 MB / 0.4999 GB, free: 5.699 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/0.3944, allocations: 4.375 kB / 0.4999 GB, free: 5.695 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008057/0.3952, allocations: 203.7 kB / 0.5001 GB, free: 5.496 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001395/0.3966, allocations: 0.5342 MB / 0.5006 GB, free: 4.949 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.583e-05/0.3967, allocations: 35.98 kB / 0.5007 GB, free: 4.914 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008905/0.4056, allocations: 8.734 MB / 0.5092 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.4056, allocations: 0 / 0.5092 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005105/0.4107, allocations: 3.084 MB / 0.5122 GB, free: 8.445 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009226/0.4116, allocations: 379.9 kB / 0.5126 GB, free: 8.055 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002349/0.4118, allocations: 28 kB / 0.5126 GB, free: 8.027 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007696/0.4126, allocations: 67.92 kB / 0.5127 GB, free: 7.961 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002379/0.4129, allocations: 104.8 kB / 0.5128 GB, free: 7.859 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.063e-05/0.4129, allocations: 39.98 kB / 0.5128 GB, free: 7.82 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001462/0.4144, allocations: 0.9874 MB / 0.5138 GB, free: 6.832 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4144, allocations: 0 / 0.5138 GB, free: 6.832 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001642/0.416, allocations: 451.9 kB / 0.5142 GB, free: 6.391 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 7 (aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,mass.s,mass.v) * Number of discrete variables: 3 ($whenCondition1,dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of discrete states: 2 (dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,3,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.001729/0.4178, allocations: 0.5033 MB / 0.5147 GB, free: 6.055 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00367/0.4214, allocations: 2.188 MB / 0.5168 GB, free: 3.785 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.4214, allocations: 0 / 0.5168 GB, free: 3.785 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002324/0.4238, allocations: 1.461 MB / 0.5183 GB, free: 2.254 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001969/0.4257, allocations: 428 kB / 0.5187 GB, free: 1.844 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007289/0.433, allocations: 4.377 MB / 0.5229 GB, free: 13.38 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001483/0.4345, allocations: 1.686 MB / 0.5246 GB, free: 11.66 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004636/0.435, allocations: 115.4 kB / 0.5247 GB, free: 11.55 MB / 446.1 MB Notification: Performance of SimCode: time 1.012e-06/0.435, allocations: 0 / 0.5247 GB, free: 11.55 MB / 446.1 MB Notification: Performance of Templates: time 0.2719/0.7069, allocations: 74.02 MB / 0.597 GB, free: 48.61 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Conveyor/IMC_Conveyor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 658] Reference file matches [Calling sys.exit(0), Time elapsed: 16.298249249812216]