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.001171/0.001171, allocations: 84.25 kB / 22.21 MB, free: 2.285 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.001488/0.001488, allocations: 167.3 kB / 25.61 MB, free: 8.473 MB / 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 0.9308/0.9308, allocations: 177 MB / 205.9 MB, free: 4.441 MB / 186.7 MB " [Timeout remaining time 179] 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=20000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|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=20000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|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.663e-06/1.663e-06, allocations: 0 / 274.1 MB, free: 4.262 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.593e-05/1.759e-05, allocations: 6.141 kB / 274.1 MB, free: 4.258 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.007809/0.007827, allocations: 9.241 MB / 283.4 MB, free: 10.98 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005347/0.01317, allocations: 3.539 MB / 286.9 MB, free: 7.445 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005436/0.01372, allocations: 63.56 kB / 287 MB, free: 7.383 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001112/0.01483, allocations: 0.7221 MB / 287.7 MB, free: 6.656 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001239/0.01607, allocations: 0.9354 MB / 288.6 MB, free: 5.715 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005541/0.01662, allocations: 454.9 kB / 289.1 MB, free: 5.27 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001558/0.01818, allocations: 2.509 MB / 291.6 MB, free: 2.746 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009355/0.01912, allocations: 1.029 MB / 292.6 MB, free: 1.672 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001486/0.0206, allocations: 1.801 MB / 294.4 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001134/0.02174, allocations: 1.243 MB / 295.7 MB, free: 14.62 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002532/0.02199, allocations: 272 kB / 295.9 MB, free: 14.35 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004798/0.02247, allocations: 411.6 kB / 296.3 MB, free: 13.95 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004972/0.02297, allocations: 0.8179 MB / 297.1 MB, free: 13.13 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006855/0.02365, allocations: 0.8652 MB / 298 MB, free: 12.27 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00177/0.02542, allocations: 2.075 MB / 300.1 MB, free: 10.18 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.02542, allocations: 0 / 300.1 MB, free: 10.18 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.02543, allocations: 0 / 300.1 MB, free: 10.18 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.33e-05/0.02546, allocations: 0 / 300.1 MB, free: 10.18 MB / 282.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.002841/0.0283, allocations: 2.723 MB / 302.8 MB, free: 7.414 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.02833, allocations: 8.031 kB / 302.8 MB, free: 7.406 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006339/0.02897, allocations: 451.3 kB / 303.3 MB, free: 6.965 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001246/0.03021, allocations: 1.251 MB / 304.5 MB, free: 5.668 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.767e-05/0.0303, allocations: 136.1 kB / 304.6 MB, free: 5.535 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002166/0.03052, allocations: 199.9 kB / 304.8 MB, free: 5.34 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004327/0.03484, allocations: 1.414 MB / 306.2 MB, free: 3.859 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.594e-05/0.0349, allocations: 3.984 kB / 306.3 MB, free: 3.855 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001321/0.03503, allocations: 75.98 kB / 306.3 MB, free: 3.781 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.189e-05/0.03512, allocations: 95.69 kB / 306.4 MB, free: 3.688 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009706/0.03609, allocations: 0.5586 MB / 307 MB, free: 3.125 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006633/0.04273, allocations: 5.922 MB / 312.9 MB, free: 13.01 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007154/0.04344, allocations: 0.575 MB / 313.5 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006059/0.04405, allocations: 445.3 kB / 313.9 MB, free: 11.99 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001442/0.04419, allocations: 44.98 kB / 314 MB, free: 11.95 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004544/0.04465, allocations: 497.8 kB / 314.4 MB, free: 11.4 MB / 298.7 MB Notification: Performance of pre-optimization done (n=99): time 2.364e-06/0.04465, allocations: 0 / 314.4 MB, free: 11.4 MB / 298.7 MB Notification: Performance of matching and sorting (n=121): time 0.005221/0.04987, allocations: 3.122 MB / 317.6 MB, free: 8.223 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.807e-05/0.04994, allocations: 167.2 kB / 317.7 MB, free: 8.02 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009329/0.05087, allocations: 1.107 MB / 318.8 MB, free: 6.902 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.253e-05/0.05093, allocations: 49.7 kB / 318.9 MB, free: 6.848 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006358/0.05157, allocations: 1.046 MB / 319.9 MB, free: 5.789 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002585/0.05183, allocations: 444.2 kB / 320.4 MB, free: 5.352 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002694/0.0521, allocations: 269 kB / 320.6 MB, free: 5.078 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.05225, allocations: 0.5471 MB / 321.2 MB, free: 4.523 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002415/0.05249, allocations: 167.8 kB / 321.3 MB, free: 4.359 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000516/0.05301, allocations: 0.7721 MB / 322.1 MB, free: 3.355 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008343/0.05384, allocations: 0.9203 MB / 323 MB, free: 2.25 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/0.05385, allocations: 0 / 323 MB, free: 2.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.001706/0.05556, allocations: 1.217 MB / 324.2 MB, free: 1.004 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.05558, allocations: 12 kB / 324.3 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-05/0.0556, allocations: 8.25 kB / 324.3 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006239/0.05622, allocations: 301.5 kB / 324.6 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005829/0.0568, allocations: 259.6 kB / 324.8 MB, free: 428 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004183/0.06099, allocations: 6.499 MB / 331.3 MB, free: 9.582 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006727/0.06166, allocations: 63.94 kB / 331.4 MB, free: 9.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.35e-05/0.06172, allocations: 40 kB / 331.4 MB, free: 9.48 MB / 314.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.0004854/0.06221, allocations: 240.2 kB / 331.6 MB, free: 9.234 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002571/0.06246, allocations: 198.9 kB / 331.8 MB, free: 9.039 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001378/0.06384, allocations: 1.049 MB / 332.9 MB, free: 7.957 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/0.06385, allocations: 12 kB / 332.9 MB, free: 7.945 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.737e-06/0.06386, allocations: 7.984 kB / 332.9 MB, free: 7.938 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.06387, allocations: 3.984 kB / 332.9 MB, free: 7.934 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003655/0.06752, allocations: 2.849 MB / 335.8 MB, free: 4.973 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.06753, allocations: 4.031 kB / 335.8 MB, free: 4.969 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004117/0.06794, allocations: 175.7 kB / 335.9 MB, free: 4.797 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000682/0.06862, allocations: 329.4 kB / 336.3 MB, free: 4.457 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.349e-05/0.0687, allocations: 31.98 kB / 336.3 MB, free: 4.426 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004207/0.0729, allocations: 8.204 MB / 344.5 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.07291, allocations: 4 kB / 344.5 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002209/0.07511, allocations: 1.53 MB / 346 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004346/0.07555, allocations: 242.9 kB / 346.3 MB, free: 9.906 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001371/0.07569, allocations: 32 kB / 346.3 MB, free: 9.875 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003714/0.07606, allocations: 47.97 kB / 346.3 MB, free: 9.828 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001741/0.07623, allocations: 100.7 kB / 346.4 MB, free: 9.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.64e-05/0.07628, allocations: 31.98 kB / 346.5 MB, free: 9.699 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005584/0.07684, allocations: 0.6164 MB / 347.1 MB, free: 9.078 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.07684, allocations: 0 / 347.1 MB, free: 9.078 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001192/0.07803, allocations: 447.9 kB / 347.5 MB, free: 8.641 MB / 330.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.000983/0.07901, allocations: 473.3 kB / 348 MB, free: 8.297 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001566/0.08058, allocations: 1.387 MB / 349.4 MB, free: 6.852 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.08058, allocations: 0.6875 kB / 349.4 MB, free: 6.852 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001031/0.08161, allocations: 1.202 MB / 350.6 MB, free: 5.57 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0012/0.08281, allocations: 368 kB / 350.9 MB, free: 5.215 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005111/0.08792, allocations: 3.566 MB / 354.5 MB, free: 1.547 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004825/0.08841, allocations: 0.5166 MB / 355 MB, free: 1.004 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005519/0.08896, allocations: 192 kB / 355.2 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000619/0.08958, allocations: 418 kB / 355.6 MB, free: 412 kB / 330.7 MB Notification: Performance of SimCode: time 1.493e-06/0.08958, allocations: 0 / 355.6 MB, free: 412 kB / 330.7 MB Notification: Performance of Templates: time 0.1391/0.2287, allocations: 25.14 MB / 380.8 MB, free: 63.5 MB / 330.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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 5.415099391248077]