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.0009461/0.0009461, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004931/0.005877, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0008495/0.0008495, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001235/0.002085, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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.8109/0.8109, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1517/0.9627, allocations: 52.48 MB / 238.5 MB, free: 7.633 MB / 234.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.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|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.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|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.173e-06/1.173e-06, allocations: 0 / 239.8 MB, free: 6.348 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.808e-06/1.098e-05, allocations: 2.312 kB / 239.8 MB, free: 6.344 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.0073/0.007311, allocations: 9.288 MB / 249 MB, free: 13.03 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00502/0.01233, allocations: 3.522 MB / 252.6 MB, free: 9.52 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006233/0.01295, allocations: 60.53 kB / 252.6 MB, free: 9.461 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001094/0.01405, allocations: 0.7394 MB / 253.4 MB, free: 8.719 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001356/0.0154, allocations: 0.8923 MB / 254.3 MB, free: 7.824 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007462/0.01615, allocations: 478.8 kB / 254.7 MB, free: 7.355 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002054/0.01821, allocations: 2.505 MB / 257.2 MB, free: 4.836 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000872/0.01908, allocations: 1.041 MB / 258.3 MB, free: 3.734 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001587/0.02066, allocations: 1.95 MB / 260.2 MB, free: 1.77 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001055/0.02172, allocations: 1.224 MB / 261.4 MB, free: 0.543 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002379/0.02196, allocations: 272 kB / 261.7 MB, free: 284 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004996/0.02246, allocations: 407.6 kB / 262.1 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005403/0.023, allocations: 0.6624 MB / 262.8 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005455/0.02354, allocations: 0.7135 MB / 263.5 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001471/0.02501, allocations: 1.931 MB / 265.4 MB, free: 12.56 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.816e-06/0.02502, allocations: 0 / 265.4 MB, free: 12.56 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.02502, allocations: 0 / 265.4 MB, free: 12.56 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.434e-05/0.02505, allocations: 0 / 265.4 MB, free: 12.56 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.00266/0.02771, allocations: 2.931 MB / 268.3 MB, free: 9.594 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.095e-05/0.02774, allocations: 11.98 kB / 268.4 MB, free: 9.582 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005038/0.02824, allocations: 433.7 kB / 268.8 MB, free: 9.141 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001018/0.02926, allocations: 0.9593 MB / 269.7 MB, free: 8.137 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.11e-05/0.02933, allocations: 147.7 kB / 269.9 MB, free: 7.992 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003096/0.02964, allocations: 196 kB / 270.1 MB, free: 7.801 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001304/0.03095, allocations: 1.436 MB / 271.5 MB, free: 6.305 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.629e-05/0.03098, allocations: 7.953 kB / 271.5 MB, free: 6.297 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/0.03108, allocations: 79.98 kB / 271.6 MB, free: 6.219 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.767e-05/0.03115, allocations: 91.67 kB / 271.7 MB, free: 6.129 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007084/0.03186, allocations: 0.5483 MB / 272.2 MB, free: 5.574 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004325/0.03618, allocations: 4.787 MB / 277 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007718/0.03696, allocations: 0.5755 MB / 277.6 MB, free: 12 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004971/0.03745, allocations: 418.5 kB / 278 MB, free: 15.61 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.881e-05/0.03755, allocations: 36.98 kB / 278 MB, free: 15.57 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003757/0.03793, allocations: 492.7 kB / 278.5 MB, free: 15.03 MB / 282.7 MB Notification: Performance of pre-optimization done (n=99): time 1.613e-06/0.03793, allocations: 0 / 278.5 MB, free: 15.03 MB / 282.7 MB Notification: Performance of matching and sorting (n=121): time 0.005633/0.04356, allocations: 3.186 MB / 281.7 MB, free: 11.8 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.04359, allocations: 68.34 kB / 281.8 MB, free: 11.72 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008683/0.04446, allocations: 0.9929 MB / 282.8 MB, free: 10.71 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.443e-05/0.04452, allocations: 53.7 kB / 282.8 MB, free: 10.66 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004012/0.04493, allocations: 0.7875 MB / 283.6 MB, free: 9.855 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002563/0.04518, allocations: 440.2 kB / 284 MB, free: 9.422 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004092/0.04559, allocations: 235.4 kB / 284.3 MB, free: 9.188 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.9e-05/0.04569, allocations: 365.8 kB / 284.6 MB, free: 8.824 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002615/0.04595, allocations: 158.8 kB / 284.8 MB, free: 8.668 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004562/0.04641, allocations: 0.6084 MB / 285.4 MB, free: 7.883 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008418/0.04725, allocations: 0.8197 MB / 286.2 MB, free: 6.922 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.567e-06/0.04726, allocations: 8 kB / 286.2 MB, free: 6.914 MB / 282.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.001445/0.0487, allocations: 0.9792 MB / 287.2 MB, free: 5.906 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.04872, allocations: 16.25 kB / 287.2 MB, free: 5.891 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.04874, allocations: 11.94 kB / 287.2 MB, free: 5.879 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006731/0.04941, allocations: 267.4 kB / 287.5 MB, free: 5.598 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008036/0.05021, allocations: 327.5 kB / 287.8 MB, free: 5.277 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00334/0.05355, allocations: 4.762 MB / 292.6 MB, free: 248 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005143/0.05407, allocations: 63.88 kB / 292.6 MB, free: 184 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.229e-05/0.05414, allocations: 43.98 kB / 292.7 MB, free: 140 kB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (150): * Single equations (assignments): 145 * 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.0003291/0.05447, allocations: 200.5 kB / 292.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000187/0.05465, allocations: 127.8 kB / 293 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001326/0.05598, allocations: 0.9012 MB / 293.9 MB, free: 14.87 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.577e-06/0.05599, allocations: 12 kB / 293.9 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.056, allocations: 8.062 kB / 293.9 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/0.05601, allocations: 3.984 kB / 293.9 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003122/0.05913, allocations: 2.373 MB / 296.3 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.05914, allocations: 4 kB / 296.3 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000552/0.05969, allocations: 191.8 kB / 296.5 MB, free: 12.19 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003106/0.06, allocations: 195.3 kB / 296.7 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008092/0.06081, allocations: 354.7 kB / 297 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.521e-05/0.06087, allocations: 31.98 kB / 297.1 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003749/0.06462, allocations: 5.955 MB / 303 MB, free: 5.277 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.06463, allocations: 4 kB / 303 MB, free: 5.273 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001637/0.06626, allocations: 1.295 MB / 304.3 MB, free: 3.898 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001364/0.0664, allocations: 31.98 kB / 304.3 MB, free: 3.867 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004093/0.06681, allocations: 39.98 kB / 304.4 MB, free: 3.828 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001646/0.06697, allocations: 108.7 kB / 304.5 MB, free: 3.723 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.628e-05/0.06703, allocations: 31.98 kB / 304.5 MB, free: 3.691 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004427/0.06747, allocations: 465.9 kB / 305 MB, free: 3.23 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.06747, allocations: 0 / 305 MB, free: 3.23 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001161/0.06863, allocations: 439.9 kB / 305.4 MB, free: 2.801 MB / 298.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%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001462/0.0701, allocations: 0.6488 MB / 306 MB, free: 2.422 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00138/0.07148, allocations: 1.17 MB / 307.2 MB, free: 1.211 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.084e-05/0.07152, allocations: 31.05 kB / 307.2 MB, free: 1.18 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001208/0.07272, allocations: 1.178 MB / 308.4 MB, free: 15.94 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001959/0.07468, allocations: 3.329 MB / 311.8 MB, free: 11.96 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01603/0.09072, allocations: 3.428 MB / 315.2 MB, free: 8.445 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004388/0.09116, allocations: 481 kB / 315.7 MB, free: 7.949 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004866/0.09164, allocations: 184.1 kB / 315.8 MB, free: 7.766 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006774/0.09232, allocations: 361.1 kB / 316.2 MB, free: 7.41 MB / 314.7 MB Notification: Performance of SimCode: time 6.31e-07/0.09232, allocations: 0 / 316.2 MB, free: 7.41 MB / 314.7 MB Notification: Performance of Templates: time 0.134/0.2264, allocations: 25.52 MB / 341.7 MB, free: 76.14 MB / 330.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 5.157215078361332]