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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=400000,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=400000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 95.23 kB / 16.65 MB, free: 6.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 175.4 kB / 17.56 MB, free: 6.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 223.3 MB / 241.6 MB, free: 204 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000346/0.0003458, allocations: 11.94 kB / 301.4 MB, free: 6.125 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1164, allocations: 50.42 MB / 351.8 MB, free: 3.691 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.009127/0.1256, allocations: 8.881 MB / 360.7 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00646/0.1321, allocations: 3.374 MB / 364.1 MB, free: 7.383 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007644/0.1329, allocations: 51.69 kB / 364.1 MB, free: 7.332 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001451/0.1343, allocations: 0.6413 MB / 364.8 MB, free: 6.688 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00171/0.136, allocations: 0.7267 MB / 365.5 MB, free: 5.957 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008938/0.1369, allocations: 419.4 kB / 365.9 MB, free: 5.547 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002497/0.1395, allocations: 2.733 MB / 368.7 MB, free: 2.801 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001663/0.1411, allocations: 1.45 MB / 370.1 MB, free: 1.305 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001138/0.1423, allocations: 0.8557 MB / 371 MB, free: 456 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2431/0.3854, allocations: 1.189 MB / 372.2 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006898/0.3861, allocations: 121.6 kB / 372.3 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001378/0.3875, allocations: 259.8 kB / 372.5 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009378/0.3885, allocations: 0.6221 MB / 373.1 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001925/0.3904, allocations: 1.099 MB / 374.2 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005776/0.3962, allocations: 3.498 MB / 377.7 MB, free: 10.8 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.3963, allocations: 0.9844 kB / 377.7 MB, free: 10.8 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.447e-06/0.3963, allocations: 0 / 377.7 MB, free: 10.8 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.000141/0.3964, allocations: 1.375 kB / 377.7 MB, free: 10.8 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.007155/0.4036, allocations: 2.268 MB / 380 MB, free: 9.68 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.664e-05/0.4037, allocations: 8.75 kB / 380 MB, free: 9.68 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001587/0.4053, allocations: 271 kB / 380.3 MB, free: 9.555 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003525/0.4088, allocations: 1.348 MB / 381.6 MB, free: 9.117 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001363/0.409, allocations: 147.9 kB / 381.8 MB, free: 9.105 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005258/0.4095, allocations: 184 kB / 382 MB, free: 9.105 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005234/0.4147, allocations: 2.442 MB / 384.4 MB, free: 8.957 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.802e-05/0.4148, allocations: 6.312 kB / 384.4 MB, free: 8.953 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000219/0.4151, allocations: 78.77 kB / 384.5 MB, free: 8.949 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001636/0.4152, allocations: 96.3 kB / 384.6 MB, free: 8.945 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004147/0.4194, allocations: 1.994 MB / 386.6 MB, free: 8.629 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01132/0.4307, allocations: 7.428 MB / 394 MB, free: 3.441 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001719/0.4325, allocations: 1.354 MB / 395.4 MB, free: 2.578 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001432/0.4339, allocations: 0.8912 MB / 396.2 MB, free: 2.176 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002096/0.4342, allocations: 121.7 kB / 396.4 MB, free: 2.07 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000948/0.4351, allocations: 0.6874 MB / 397 MB, free: 1.637 MB / 302.1 MB Notification: Performance of pre-optimization done (n=99): time 3.647e-06/0.4351, allocations: 7.984 kB / 397.1 MB, free: 1.629 MB / 302.1 MB Notification: Performance of matching and sorting (n=121): time 0.0156/0.4507, allocations: 7.392 MB / 404.4 MB, free: 12.47 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/0.4509, allocations: 175.1 kB / 404.6 MB, free: 12.27 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002352/0.4533, allocations: 1.418 MB / 406 MB, free: 10.83 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001166/0.4534, allocations: 49.7 kB / 406.1 MB, free: 10.77 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008773/0.4543, allocations: 0.9322 MB / 407 MB, free: 9.832 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003923/0.4547, allocations: 419.3 kB / 407.4 MB, free: 9.426 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001713/0.4549, allocations: 113.7 kB / 407.5 MB, free: 9.309 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.455, allocations: 357.9 kB / 407.9 MB, free: 8.953 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001061/0.4561, allocations: 0.6403 MB / 408.5 MB, free: 8.312 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001294/0.4574, allocations: 1.007 MB / 409.5 MB, free: 7.168 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002468/0.4599, allocations: 1.712 MB / 411.2 MB, free: 5.359 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.157e-06/0.4599, allocations: 4 kB / 411.3 MB, free: 5.355 MB / 318.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004195/0.4641, allocations: 2.348 MB / 413.6 MB, free: 3.035 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.77e-05/0.4642, allocations: 12.03 kB / 413.6 MB, free: 3.023 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.109e-05/0.4642, allocations: 8 kB / 413.6 MB, free: 3.016 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001209/0.4654, allocations: 0.4898 MB / 414.1 MB, free: 2.512 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00114/0.4666, allocations: 294 kB / 414.4 MB, free: 2.242 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00721/0.4738, allocations: 6.607 MB / 421 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001673/0.4755, allocations: 95.83 kB / 421.1 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001206/0.4756, allocations: 51.98 kB / 421.1 MB, free: 11.12 MB / 334.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.001396/0.477, allocations: 0.6378 MB / 421.8 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002821/0.4773, allocations: 154.1 kB / 421.9 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003753/0.4811, allocations: 2.157 MB / 424.1 MB, free: 8.156 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/0.4811, allocations: 12 kB / 424.1 MB, free: 8.145 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/0.4811, allocations: 4 kB / 424.1 MB, free: 8.141 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.316e-05/0.4811, allocations: 3.984 kB / 424.1 MB, free: 8.137 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007726/0.4889, allocations: 4.464 MB / 428.6 MB, free: 3.609 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.076e-05/0.4889, allocations: 7.984 kB / 428.6 MB, free: 3.602 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008231/0.4897, allocations: 191.3 kB / 428.8 MB, free: 3.426 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001509/0.4913, allocations: 0.5308 MB / 429.3 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.282e-05/0.4914, allocations: 43.91 kB / 429.3 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00828/0.4997, allocations: 8.032 MB / 437.4 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/0.4997, allocations: 4 kB / 437.4 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005748/0.5055, allocations: 3.087 MB / 440.5 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001092/0.5066, allocations: 383 kB / 440.8 MB, free: 6.762 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00056/0.5071, allocations: 32 kB / 440.9 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001244/0.5084, allocations: 71.92 kB / 440.9 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003064/0.5087, allocations: 102.1 kB / 441 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.923e-05/0.5088, allocations: 36 kB / 441.1 MB, free: 6.527 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002126/0.511, allocations: 0.9792 MB / 442.1 MB, free: 5.547 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.511, allocations: 0 / 442.1 MB, free: 5.547 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002598/0.5136, allocations: 448 kB / 442.5 MB, free: 5.109 MB / 350.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 (104): * Single equations (assignments): 97 * 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.001604/0.5152, allocations: 0.504 MB / 443 MB, free: 4.789 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004123/0.5193, allocations: 2.247 MB / 445.2 MB, free: 2.504 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/0.5194, allocations: 4.188 kB / 445.2 MB, free: 2.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002669/0.522, allocations: 1.528 MB / 446.8 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003172/0.5252, allocations: 395.3 kB / 447.2 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008466/0.5337, allocations: 5.265 MB / 452.4 MB, free: 11.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001457/0.5352, allocations: 1.694 MB / 454.1 MB, free: 9.5 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001248/0.5365, allocations: 321 kB / 454.4 MB, free: 9.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003809/0.5368, allocations: 115.4 kB / 454.5 MB, free: 9.066 MB / 366.1 MB Notification: Performance of SimCode: time 9.02e-07/0.5369, allocations: 0 / 454.5 MB, free: 9.066 MB / 366.1 MB Notification: Performance of Templates: time 0.0438/0.5807, allocations: 23.42 MB / 478 MB, free: 1.934 MB / 382.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.makefile (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) 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) Reference file matches