Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.002099/0.002099, allocations: 96.25 kB / 20.96 MB, free: 3.473 MB / 18.57 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.002691/0.002691, allocations: 160.9 kB / 24.27 MB, free: 172 kB / 18.57 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.543/1.543, allocations: 177 MB / 204.4 MB, free: 5.609 MB / 186.7 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_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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 272.2 MB, free: 1.781 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.864e-05/3.036e-05, allocations: 2.312 kB / 272.2 MB, free: 1.777 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01251/0.01254, allocations: 8.462 MB / 280.7 MB, free: 9.27 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008143/0.02068, allocations: 3.442 MB / 284.1 MB, free: 5.82 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00163/0.02231, allocations: 63.56 kB / 284.2 MB, free: 5.758 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002438/0.02475, allocations: 0.7299 MB / 284.9 MB, free: 5.023 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003163/0.02791, allocations: 0.916 MB / 285.8 MB, free: 4.102 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001352/0.02926, allocations: 458.9 kB / 286.3 MB, free: 3.652 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00409/0.03335, allocations: 2.512 MB / 288.8 MB, free: 1.133 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001923/0.03528, allocations: 1.006 MB / 289.8 MB, free: 80 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1226/0.1579, allocations: 1.627 MB / 291.4 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002499/0.1604, allocations: 1.214 MB / 292.6 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007549/0.1611, allocations: 281.6 kB / 292.9 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001146/0.1623, allocations: 420.8 kB / 293.3 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008424/0.1631, allocations: 0.8386 MB / 294.2 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001259/0.1644, allocations: 0.8744 MB / 295 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004557/0.1689, allocations: 3.807 MB / 298.8 MB, free: 15.7 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.1689, allocations: 1.094 kB / 298.8 MB, free: 15.7 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1689, allocations: 0 / 298.8 MB, free: 15.7 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001087/0.169, allocations: 0.75 kB / 298.8 MB, free: 15.7 MB / 266.7 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.006325/0.1754, allocations: 2.646 MB / 301.5 MB, free: 14.44 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.1754, allocations: 13.58 kB / 301.5 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001144/0.1765, allocations: 456.2 kB / 301.9 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002315/0.1789, allocations: 1.365 MB / 303.3 MB, free: 13.44 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.607e-05/0.179, allocations: 147.4 kB / 303.5 MB, free: 13.37 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002873/0.1792, allocations: 190.8 kB / 303.6 MB, free: 13.31 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00373/0.183, allocations: 2.541 MB / 306.2 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.367e-05/0.183, allocations: 11.28 kB / 306.2 MB, free: 11.76 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001798/0.1832, allocations: 78.73 kB / 306.3 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.099e-05/0.1833, allocations: 94.22 kB / 306.4 MB, free: 11.69 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002813/0.1861, allocations: 1.985 MB / 308.4 MB, free: 10.68 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009226/0.1953, allocations: 6.436 MB / 314.8 MB, free: 5.566 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001367/0.1967, allocations: 1.066 MB / 315.9 MB, free: 4.508 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001218/0.1979, allocations: 0.8243 MB / 316.7 MB, free: 3.688 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001853/0.1981, allocations: 52.91 kB / 316.7 MB, free: 3.637 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008655/0.199, allocations: 0.7872 MB / 317.5 MB, free: 2.801 MB / 266.7 MB Notification: Performance of pre-optimization done (n=99): time 2.665e-06/0.199, allocations: 0 / 317.5 MB, free: 2.801 MB / 266.7 MB Notification: Performance of matching and sorting (n=121): time 0.01574/0.2147, allocations: 6.859 MB / 324.4 MB, free: 11.94 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001412/0.2148, allocations: 167.2 kB / 324.5 MB, free: 11.73 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002253/0.2171, allocations: 1.282 MB / 325.8 MB, free: 10.44 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001424/0.2172, allocations: 49.7 kB / 325.9 MB, free: 10.39 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001116/0.2184, allocations: 0.968 MB / 326.8 MB, free: 9.41 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004991/0.2189, allocations: 441.9 kB / 327.3 MB, free: 8.984 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000717/0.2196, allocations: 243.5 kB / 327.5 MB, free: 8.742 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002345/0.2198, allocations: 361.9 kB / 327.9 MB, free: 8.383 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001213/0.221, allocations: 0.6442 MB / 328.5 MB, free: 7.738 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001659/0.2227, allocations: 1.097 MB / 329.6 MB, free: 6.48 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002922/0.2256, allocations: 1.714 MB / 331.3 MB, free: 4.676 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.528e-06/0.2256, allocations: 6.938 kB / 331.3 MB, free: 4.672 MB / 282.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.0048/0.2304, allocations: 2.311 MB / 333.6 MB, free: 2.41 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/0.2304, allocations: 8 kB / 333.6 MB, free: 2.402 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.966e-05/0.2305, allocations: 12 kB / 333.7 MB, free: 2.391 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001553/0.232, allocations: 0.5262 MB / 334.2 MB, free: 1.855 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001431/0.2334, allocations: 302.4 kB / 334.5 MB, free: 1.578 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008773/0.2422, allocations: 6.791 MB / 341.3 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001465/0.2437, allocations: 91.91 kB / 341.4 MB, free: 10.44 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001419/0.2438, allocations: 52 kB / 341.4 MB, free: 10.39 MB / 298.7 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.001606/0.2454, allocations: 0.6328 MB / 342 MB, free: 9.762 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004397/0.2459, allocations: 191 kB / 342.2 MB, free: 9.574 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004289/0.2502, allocations: 2.071 MB / 344.3 MB, free: 7.492 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.471e-05/0.2502, allocations: 12 kB / 344.3 MB, free: 7.48 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/0.2502, allocations: 4 kB / 344.3 MB, free: 7.477 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.644e-05/0.2502, allocations: 11.98 kB / 344.3 MB, free: 7.465 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008289/0.2585, allocations: 3.891 MB / 348.2 MB, free: 3.562 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.838e-06/0.2585, allocations: 7.375 kB / 348.2 MB, free: 3.559 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008719/0.2594, allocations: 187.2 kB / 348.4 MB, free: 3.383 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002052/0.2614, allocations: 0.563 MB / 349 MB, free: 2.809 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001074/0.2615, allocations: 35.98 kB / 349 MB, free: 2.773 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01059/0.2721, allocations: 8.207 MB / 357.2 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.085e-06/0.2721, allocations: 7.938 kB / 357.2 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006068/0.2782, allocations: 3.045 MB / 360.3 MB, free: 7.105 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000824/0.279, allocations: 278.9 kB / 360.5 MB, free: 6.832 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002321/0.2792, allocations: 32 kB / 360.6 MB, free: 6.801 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008159/0.2801, allocations: 71.92 kB / 360.6 MB, free: 6.73 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002821/0.2803, allocations: 104.1 kB / 360.7 MB, free: 6.633 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.515e-05/0.2804, allocations: 39.98 kB / 360.8 MB, free: 6.594 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001493/0.2819, allocations: 0.874 MB / 361.6 MB, free: 5.715 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2819, allocations: 0 / 361.6 MB, free: 5.715 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001758/0.2837, allocations: 447.9 kB / 362.1 MB, free: 5.277 MB / 314.7 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 (105): * Single equations (assignments): 98 * 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.002222/0.2859, allocations: 0.5154 MB / 362.6 MB, free: 4.98 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004248/0.2902, allocations: 2.041 MB / 364.6 MB, free: 2.934 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.2902, allocations: 0 / 364.6 MB, free: 2.934 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002635/0.2928, allocations: 1.401 MB / 366 MB, free: 1.504 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001993/0.2948, allocations: 369.7 kB / 366.4 MB, free: 1.148 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008098/0.3029, allocations: 4.155 MB / 370.6 MB, free: 12.93 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001899/0.3048, allocations: 1.133 MB / 371.7 MB, free: 11.76 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001124/0.3059, allocations: 307.8 kB / 372 MB, free: 11.45 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003564/0.3063, allocations: 108.5 kB / 372.1 MB, free: 11.35 MB / 330.7 MB Notification: Performance of SimCode: time 1.462e-06/0.3063, allocations: 0 / 372.1 MB, free: 11.35 MB / 330.7 MB Notification: Performance of Templates: time 0.04764/0.3539, allocations: 23.7 MB / 395.8 MB, free: 4.004 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Conveyor/IMC_Conveyor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 9.450148225063458]