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.001734/0.001734, allocations: 82.28 kB / 20.68 MB, free: 1.035 MB / 14.72 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.002033/0.002033, allocations: 155.4 kB / 23.94 MB, free: 4.176 MB / 14.72 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 1.474/1.474, allocations: 173.4 MB / 200.4 MB, free: 12.86 MB / 190.1 MB " [Timeout remaining time 178] 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 2.435e-06/2.435e-06, allocations: 0 / 318.9 MB, free: 3.555 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.987e-05/3.23e-05, allocations: 3.844 kB / 318.9 MB, free: 3.551 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01168/0.01172, allocations: 8.407 MB / 327.4 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009466/0.02118, allocations: 3.275 MB / 330.6 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002262/0.02344, allocations: 64 kB / 330.7 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002469/0.02591, allocations: 0.7193 MB / 331.4 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002938/0.02885, allocations: 0.8811 MB / 332.3 MB, free: 10.85 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001481/0.03033, allocations: 481.1 kB / 332.8 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003593/0.03392, allocations: 2.504 MB / 335.3 MB, free: 9.055 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001491/0.03541, allocations: 1.004 MB / 336.3 MB, free: 8.406 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002733/0.03815, allocations: 1.623 MB / 337.9 MB, free: 7.375 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001906/0.04005, allocations: 1.218 MB / 339.1 MB, free: 6.66 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004275/0.04048, allocations: 279.2 kB / 339.4 MB, free: 6.66 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008353/0.04132, allocations: 407.1 kB / 339.8 MB, free: 6.598 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008891/0.04221, allocations: 0.8295 MB / 340.6 MB, free: 5.926 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001224/0.04343, allocations: 0.8769 MB / 341.5 MB, free: 5.047 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004454/0.04788, allocations: 3.782 MB / 345.3 MB, free: 1.25 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.04789, allocations: 0 / 345.3 MB, free: 1.25 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.04789, allocations: 0 / 345.3 MB, free: 1.25 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.001e-05/0.04795, allocations: 0 / 345.3 MB, free: 1.25 MB / 302.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.005405/0.05335, allocations: 2.633 MB / 347.9 MB, free: 14.57 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.0534, allocations: 8.922 kB / 347.9 MB, free: 14.57 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000706/0.0541, allocations: 279.3 kB / 348.2 MB, free: 14.29 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002472/0.05657, allocations: 1.317 MB / 349.5 MB, free: 12.93 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001275/0.0567, allocations: 143.7 kB / 349.6 MB, free: 12.79 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003022/0.057, allocations: 195.9 kB / 349.8 MB, free: 12.6 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004222/0.06123, allocations: 2.536 MB / 352.4 MB, free: 10.01 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.043e-05/0.06128, allocations: 7.938 kB / 352.4 MB, free: 10 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001976/0.06148, allocations: 79.98 kB / 352.5 MB, free: 9.922 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001206/0.0616, allocations: 99.66 kB / 352.6 MB, free: 9.824 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003448/0.06504, allocations: 1.978 MB / 354.5 MB, free: 7.844 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01097/0.07602, allocations: 6.331 MB / 360.9 MB, free: 1.324 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001881/0.0779, allocations: 1.06 MB / 361.9 MB, free: 256 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001612/0.07951, allocations: 0.8186 MB / 362.7 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002052/0.07971, allocations: 48.91 kB / 362.8 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001207/0.08092, allocations: 0.7832 MB / 363.6 MB, free: 14.55 MB / 334.1 MB Notification: Performance of pre-optimization done (n=99): time 2.845e-06/0.08092, allocations: 0 / 363.6 MB, free: 14.55 MB / 334.1 MB Notification: Performance of matching and sorting (n=121): time 0.01682/0.09774, allocations: 6.812 MB / 370.4 MB, free: 7.688 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/0.09786, allocations: 179.1 kB / 370.6 MB, free: 7.473 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002051/0.09991, allocations: 1.269 MB / 371.8 MB, free: 6.191 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001152/0.1, allocations: 45.7 kB / 371.9 MB, free: 6.141 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009916/0.101, allocations: 0.9613 MB / 372.8 MB, free: 5.168 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004806/0.1015, allocations: 432.3 kB / 373.3 MB, free: 4.742 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004176/0.1019, allocations: 247.5 kB / 373.5 MB, free: 4.496 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001893/0.1021, allocations: 361.9 kB / 373.8 MB, free: 4.137 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001083/0.1032, allocations: 0.6364 MB / 374.5 MB, free: 3.5 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001532/0.1047, allocations: 1.105 MB / 375.6 MB, free: 2.227 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002765/0.1075, allocations: 1.711 MB / 377.3 MB, free: 396 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.757e-06/0.1075, allocations: 4 kB / 377.3 MB, free: 392 kB / 334.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004301/0.1118, allocations: 2.246 MB / 379.6 MB, free: 14.11 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.1118, allocations: 15.88 kB / 379.6 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/0.1118, allocations: 8 kB / 379.6 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00127/0.1131, allocations: 0.4884 MB / 380.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/0.1143, allocations: 287.6 kB / 380.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008151/0.1224, allocations: 6.764 MB / 387.1 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001199/0.1236, allocations: 87.91 kB / 387.2 MB, free: 6.152 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000113/0.1237, allocations: 56.06 kB / 387.2 MB, free: 6.098 MB / 350.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.001263/0.125, allocations: 0.6418 MB / 387.9 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002887/0.1253, allocations: 151 kB / 388 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004107/0.1294, allocations: 2.07 MB / 390.1 MB, free: 3.191 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/0.1294, allocations: 15.94 kB / 390.1 MB, free: 3.176 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/0.1294, allocations: 4 kB / 390.1 MB, free: 3.172 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.43e-05/0.1294, allocations: 3.984 kB / 390.1 MB, free: 3.168 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007721/0.1372, allocations: 3.88 MB / 394 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.1372, allocations: 4 kB / 394 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008623/0.138, allocations: 187.8 kB / 394.2 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001501/0.1395, allocations: 0.5352 MB / 394.7 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001023/0.1396, allocations: 35.98 kB / 394.8 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00989/0.1495, allocations: 8.168 MB / 402.9 MB, free: 5.855 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/0.1495, allocations: 7.938 kB / 402.9 MB, free: 5.848 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005698/0.1552, allocations: 2.989 MB / 405.9 MB, free: 2.789 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009927/0.1562, allocations: 278.9 kB / 406.2 MB, free: 2.516 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002367/0.1565, allocations: 35.98 kB / 406.2 MB, free: 2.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008186/0.1573, allocations: 71.92 kB / 406.3 MB, free: 2.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003258/0.1576, allocations: 100.7 kB / 406.4 MB, free: 2.312 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.79e-05/0.1577, allocations: 39.98 kB / 406.4 MB, free: 2.273 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001465/0.1591, allocations: 0.8581 MB / 407.3 MB, free: 1.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1591, allocations: 4 kB / 407.3 MB, free: 1.406 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001817/0.161, allocations: 447.9 kB / 407.7 MB, free: 0.9688 MB / 366.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 (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.002069/0.163, allocations: 0.54 MB / 408.3 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004005/0.167, allocations: 2.026 MB / 410.3 MB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/0.167, allocations: 0.625 kB / 410.3 MB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00266/0.1697, allocations: 1.403 MB / 411.7 MB, free: 13.08 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00198/0.1717, allocations: 350.9 kB / 412.1 MB, free: 12.74 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007386/0.1791, allocations: 4.08 MB / 416.1 MB, free: 8.586 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001445/0.1805, allocations: 1.121 MB / 417.3 MB, free: 7.43 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009453/0.1815, allocations: 311.8 kB / 417.6 MB, free: 7.121 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003251/0.1818, allocations: 104.5 kB / 417.7 MB, free: 7.02 MB / 382.1 MB Notification: Performance of SimCode: time 9.92e-07/0.1818, allocations: 0 / 417.7 MB, free: 7.02 MB / 382.1 MB Notification: Performance of Templates: time 0.0455/0.2273, allocations: 23.46 MB / 441.1 MB, free: 15.87 MB / 414.1 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 658] Reference file matches [Calling sys.exit(0), Time elapsed: 9.196451932191849]