Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008006/0.0008006, allocations: 84 kB / 21.43 MB, free: 3.121 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005768/0.005768, allocations: 147.8 kB / 24.68 MB, free: 9.438 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8292/0.8292, allocations: 173.4 MB / 201.2 MB, free: 9.402 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 319.7 MB, free: 5.812 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.735e-05/1.873e-05, allocations: 2.281 kB / 319.7 MB, free: 5.809 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.006779/0.006797, allocations: 8.416 MB / 328.1 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00395/0.01075, allocations: 3.276 MB / 331.4 MB, free: 10.07 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006052/0.01135, allocations: 63.56 kB / 331.5 MB, free: 10 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001123/0.01248, allocations: 0.7221 MB / 332.2 MB, free: 9.277 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001247/0.01372, allocations: 0.8772 MB / 333.1 MB, free: 8.395 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006264/0.01435, allocations: 482.6 kB / 333.5 MB, free: 7.926 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001562/0.01591, allocations: 2.497 MB / 336 MB, free: 5.414 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008725/0.01678, allocations: 1.01 MB / 337 MB, free: 4.363 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001143/0.01793, allocations: 1.618 MB / 338.7 MB, free: 2.742 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001056/0.01898, allocations: 1.212 MB / 339.9 MB, free: 1.527 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002353/0.01922, allocations: 283.9 kB / 340.1 MB, free: 1.25 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004236/0.01964, allocations: 407.7 kB / 340.5 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004634/0.0201, allocations: 0.8296 MB / 341.4 MB, free: 16 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000586/0.02069, allocations: 0.8691 MB / 342.2 MB, free: 15.14 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002292/0.02298, allocations: 3.778 MB / 346 MB, free: 11.36 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.02299, allocations: 3.984 kB / 346 MB, free: 11.35 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.02299, allocations: 0 / 346 MB, free: 11.35 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.084e-05/0.02302, allocations: 4 kB / 346 MB, free: 11.35 MB / 314.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.002829/0.02585, allocations: 2.632 MB / 348.7 MB, free: 8.672 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.02589, allocations: 8.922 kB / 348.7 MB, free: 8.664 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003955/0.02628, allocations: 287.3 kB / 348.9 MB, free: 8.383 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00138/0.02766, allocations: 1.314 MB / 350.3 MB, free: 7.027 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.465e-05/0.02773, allocations: 147.7 kB / 350.4 MB, free: 6.883 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001808/0.02792, allocations: 188 kB / 350.6 MB, free: 6.699 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002412/0.03033, allocations: 2.54 MB / 353.1 MB, free: 4.102 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.589e-05/0.03036, allocations: 0 / 353.1 MB, free: 4.102 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001136/0.03048, allocations: 79.98 kB / 353.2 MB, free: 4.023 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.706e-05/0.03054, allocations: 95.67 kB / 353.3 MB, free: 3.93 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00207/0.03261, allocations: 1.99 MB / 355.3 MB, free: 1.938 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00596/0.03857, allocations: 6.327 MB / 361.6 MB, free: 11.42 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001561/0.04014, allocations: 1.056 MB / 362.7 MB, free: 10.35 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001147/0.04128, allocations: 0.8225 MB / 363.5 MB, free: 9.527 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001681/0.04145, allocations: 48.84 kB / 363.5 MB, free: 9.48 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007933/0.04224, allocations: 0.787 MB / 364.3 MB, free: 8.641 MB / 330.7 MB Notification: Performance of pre-optimization done (n=99): time 2.916e-06/0.04225, allocations: 4 kB / 364.3 MB, free: 8.637 MB / 330.7 MB Notification: Performance of matching and sorting (n=121): time 0.00924/0.05149, allocations: 6.816 MB / 371.1 MB, free: 1.773 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.922e-05/0.05157, allocations: 175.1 kB / 371.3 MB, free: 1.562 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001321/0.05289, allocations: 1.265 MB / 372.6 MB, free: 292 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.864e-05/0.05296, allocations: 45.7 kB / 372.6 MB, free: 240 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005741/0.05353, allocations: 0.9574 MB / 373.6 MB, free: 15.27 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002392/0.05377, allocations: 432.3 kB / 374 MB, free: 14.84 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002479/0.05402, allocations: 247.5 kB / 374.3 MB, free: 14.59 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.05412, allocations: 361.9 kB / 374.6 MB, free: 14.23 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006428/0.05476, allocations: 0.6402 MB / 375.2 MB, free: 13.59 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008213/0.05559, allocations: 1.105 MB / 376.3 MB, free: 12.32 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001506/0.05709, allocations: 1.715 MB / 378.1 MB, free: 10.48 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.0571, allocations: 0 / 378.1 MB, free: 10.48 MB / 346.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.00244/0.05954, allocations: 2.25 MB / 380.3 MB, free: 8.203 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.05956, allocations: 11.94 kB / 380.3 MB, free: 8.191 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/0.05958, allocations: 12 kB / 380.3 MB, free: 8.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000686/0.06026, allocations: 496.2 kB / 380.8 MB, free: 7.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000594/0.06086, allocations: 299.5 kB / 381.1 MB, free: 7.387 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004399/0.06526, allocations: 6.756 MB / 387.9 MB, free: 340 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008046/0.06606, allocations: 91.98 kB / 388 MB, free: 248 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.497e-05/0.06613, allocations: 55.98 kB / 388 MB, free: 192 kB / 346.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.0009746/0.06711, allocations: 0.6378 MB / 388.7 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002053/0.06731, allocations: 147 kB / 388.8 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002291/0.06961, allocations: 2.07 MB / 390.9 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.06961, allocations: 12 kB / 390.9 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.06962, allocations: 4 kB / 390.9 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/0.06963, allocations: 7.969 kB / 390.9 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004467/0.0741, allocations: 3.872 MB / 394.8 MB, free: 9.309 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.0741, allocations: 0 / 394.8 MB, free: 9.309 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004325/0.07454, allocations: 196.1 kB / 395 MB, free: 9.117 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007917/0.07533, allocations: 0.5389 MB / 395.5 MB, free: 8.562 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.207e-05/0.07539, allocations: 35.97 kB / 395.5 MB, free: 8.527 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004984/0.08037, allocations: 8.17 MB / 403.7 MB, free: 15.95 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.08038, allocations: 0 / 403.7 MB, free: 15.95 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003188/0.08357, allocations: 3.005 MB / 406.7 MB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005392/0.0841, allocations: 278.9 kB / 407 MB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001289/0.08423, allocations: 31.98 kB / 407 MB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003956/0.08463, allocations: 63.94 kB / 407.1 MB, free: 12.51 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001817/0.08481, allocations: 112.7 kB / 407.2 MB, free: 12.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-05/0.08486, allocations: 35.98 kB / 407.2 MB, free: 12.37 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009197/0.08578, allocations: 0.8581 MB / 408.1 MB, free: 11.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.08578, allocations: 4 kB / 408.1 MB, free: 11.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001093/0.08687, allocations: 447.9 kB / 408.5 MB, free: 11.06 MB / 378.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.000901/0.08778, allocations: 0.5277 MB / 409 MB, free: 10.71 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002266/0.09004, allocations: 2.046 MB / 411.1 MB, free: 8.625 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.09005, allocations: 0 / 411.1 MB, free: 8.625 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001294/0.09134, allocations: 1.388 MB / 412.5 MB, free: 7.184 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.09237, allocations: 359 kB / 412.8 MB, free: 6.836 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004756/0.09713, allocations: 4.14 MB / 417 MB, free: 2.613 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008403/0.09797, allocations: 1.11 MB / 418.1 MB, free: 1.469 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003019/0.09827, allocations: 112.5 kB / 418.2 MB, free: 1.359 MB / 378.7 MB Notification: Performance of SimCode: time 1.042e-06/0.09827, allocations: 0 / 418.2 MB, free: 1.359 MB / 378.7 MB Notification: Performance of Templates: time 0.1791/0.2774, allocations: 73.36 MB / 491.5 MB, free: 89.36 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Conveyor/IMC_Conveyor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 10.642101572826505]