Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.AsynchronousInductionMachines.AIMC_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_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001611/0.001611, allocations: 107.4 kB / 17.16 MB, free: 6.305 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.00193/0.00193, allocations: 198 kB / 18.07 MB, free: 5.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.928/1.928, allocations: 205.1 MB / 223.9 MB, free: 12.47 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00117/0.001171, allocations: 43.94 kB / 280 MB, free: 3.594 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1166, allocations: 46.63 MB / 326.6 MB, free: 4.883 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor): time 0.01117/0.1278, allocations: 9.361 MB / 336 MB, free: 11.47 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007507/0.1354, allocations: 3.355 MB / 339.3 MB, free: 8.102 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001906/0.1373, allocations: 39.81 kB / 339.4 MB, free: 8.062 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00231/0.1397, allocations: 0.649 MB / 340 MB, free: 7.41 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003137/0.1429, allocations: 0.7345 MB / 340.7 MB, free: 6.672 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001334/0.1442, allocations: 407.5 kB / 341.1 MB, free: 6.273 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003731/0.148, allocations: 2.744 MB / 343.9 MB, free: 3.516 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001962/0.1499, allocations: 1.43 MB / 345.3 MB, free: 2.043 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001668/0.1516, allocations: 0.9611 MB / 346.3 MB, free: 1.078 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001928/0.1536, allocations: 1.335 MB / 347.6 MB, free: 15.74 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003714/0.1539, allocations: 172 kB / 347.8 MB, free: 15.57 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000978/0.1549, allocations: 319.7 kB / 348.1 MB, free: 15.26 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009373/0.1559, allocations: 0.6932 MB / 348.8 MB, free: 14.56 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001672/0.1576, allocations: 1.166 MB / 350 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003724/0.1613, allocations: 3.602 MB / 353.6 MB, free: 9.777 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/0.1613, allocations: 3.938 kB / 353.6 MB, free: 9.773 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.919e-06/0.1613, allocations: 3.984 kB / 353.6 MB, free: 9.77 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.628e-05/0.1614, allocations: 4 kB / 353.6 MB, free: 9.766 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.005654/0.1671, allocations: 2.659 MB / 356.2 MB, free: 7.047 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.1671, allocations: 12.03 kB / 356.2 MB, free: 7.035 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006456/0.1678, allocations: 266 kB / 356.5 MB, free: 6.773 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002124/0.1699, allocations: 1.303 MB / 357.8 MB, free: 5.414 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001154/0.17, allocations: 139.7 kB / 357.9 MB, free: 5.277 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00027/0.1703, allocations: 187.9 kB / 358.1 MB, free: 5.094 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004059/0.1744, allocations: 2.44 MB / 360.6 MB, free: 2.621 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.439e-05/0.1744, allocations: 11.89 kB / 360.6 MB, free: 2.609 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001646/0.1746, allocations: 76 kB / 360.6 MB, free: 2.535 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.411e-05/0.1747, allocations: 95.67 kB / 360.7 MB, free: 2.441 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003216/0.1779, allocations: 1.986 MB / 362.7 MB, free: 464 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01309/0.191, allocations: 7.393 MB / 370.1 MB, free: 8.863 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001985/0.1931, allocations: 1.359 MB / 371.5 MB, free: 7.441 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001533/0.1946, allocations: 0.8861 MB / 372.4 MB, free: 6.551 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002783/0.1949, allocations: 118.1 kB / 372.5 MB, free: 6.418 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001107/0.196, allocations: 0.6836 MB / 373.2 MB, free: 5.699 MB / 318.1 MB Notification: Performance of pre-optimization done (n=99): time 2.414e-06/0.196, allocations: 0 / 373.2 MB, free: 5.699 MB / 318.1 MB Notification: Performance of matching and sorting (n=121): time 0.2553/0.4514, allocations: 7.346 MB / 380.5 MB, free: 51.05 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001635/0.4516, allocations: 198 kB / 380.7 MB, free: 50.84 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003189/0.4548, allocations: 1.417 MB / 382.1 MB, free: 50.55 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003133/0.4551, allocations: 52.17 kB / 382.2 MB, free: 50.5 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00103/0.4562, allocations: 0.9294 MB / 383.1 MB, free: 49.79 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005552/0.4567, allocations: 429.4 kB / 383.5 MB, free: 49.46 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005027/0.4572, allocations: 245.7 kB / 383.8 MB, free: 49.35 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.4574, allocations: 361 kB / 384.1 MB, free: 49.02 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001408/0.4588, allocations: 0.6316 MB / 384.7 MB, free: 48.8 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001663/0.4605, allocations: 1.004 MB / 385.7 MB, free: 48.15 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003052/0.4635, allocations: 1.708 MB / 387.5 MB, free: 47.2 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.635e-05/0.4636, allocations: 2.281 kB / 387.5 MB, free: 47.2 MB / 318.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.005165/0.4688, allocations: 2.334 MB / 389.8 MB, free: 46.21 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.895e-05/0.4688, allocations: 9.125 kB / 389.8 MB, free: 46.21 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.367e-05/0.4689, allocations: 10.73 kB / 389.8 MB, free: 46.21 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001437/0.4703, allocations: 0.4914 MB / 390.3 MB, free: 46.05 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001321/0.4717, allocations: 292.9 kB / 390.6 MB, free: 46.02 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007518/0.4792, allocations: 6.587 MB / 397.2 MB, free: 40.93 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002147/0.4815, allocations: 89.2 kB / 397.3 MB, free: 40.9 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002335/0.4817, allocations: 58.36 kB / 397.3 MB, free: 40.89 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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.001713/0.4834, allocations: 0.64 MB / 398 MB, free: 40.52 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006398/0.4841, allocations: 152.4 kB / 398.1 MB, free: 40.44 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003682/0.4878, allocations: 2.141 MB / 400.2 MB, free: 39.51 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/0.4878, allocations: 11.84 kB / 400.3 MB, free: 39.51 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/0.4878, allocations: 11.84 kB / 400.3 MB, free: 39.51 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.318e-05/0.4878, allocations: 7.453 kB / 400.3 MB, free: 39.51 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00714/0.495, allocations: 4.555 MB / 404.8 MB, free: 36.93 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/0.495, allocations: 3.438 kB / 404.8 MB, free: 36.93 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007731/0.4958, allocations: 186.1 kB / 405 MB, free: 36.89 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00146/0.4973, allocations: 0.5391 MB / 405.6 MB, free: 36.6 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001131/0.4974, allocations: 39.7 kB / 405.6 MB, free: 36.57 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00617/0.5036, allocations: 8.01 MB / 413.6 MB, free: 28.51 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.5037, allocations: 4 kB / 413.6 MB, free: 28.5 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004401/0.5081, allocations: 3.088 MB / 416.7 MB, free: 25.33 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001108/0.5092, allocations: 371 kB / 417.1 MB, free: 24.95 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002521/0.5095, allocations: 31.98 kB / 417.1 MB, free: 24.91 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008173/0.5103, allocations: 75.94 kB / 417.2 MB, free: 24.84 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002792/0.5106, allocations: 104 kB / 417.3 MB, free: 24.74 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.874e-05/0.5107, allocations: 36.86 kB / 417.3 MB, free: 24.71 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001335/0.512, allocations: 0.9753 MB / 418.3 MB, free: 23.73 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.512, allocations: 4 kB / 418.3 MB, free: 23.73 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001875/0.5139, allocations: 450.7 kB / 418.7 MB, free: 23.29 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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.001333/0.5153, allocations: 0.4947 MB / 419.2 MB, free: 22.82 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003616/0.5189, allocations: 2.24 MB / 421.5 MB, free: 20.51 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 9.248e-06/0.5189, allocations: 4.062 kB / 421.5 MB, free: 20.51 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002322/0.5213, allocations: 1.521 MB / 423 MB, free: 18.91 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002735/0.524, allocations: 401.1 kB / 423.4 MB, free: 18.52 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008206/0.5322, allocations: 5.113 MB / 428.5 MB, free: 13.36 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001361/0.5337, allocations: 1.702 MB / 430.2 MB, free: 11.62 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001293/0.535, allocations: 329 kB / 430.5 MB, free: 11.29 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002909/0.5353, allocations: 107.4 kB / 430.6 MB, free: 11.18 MB / 318.1 MB Notification: Performance of SimCode: time 1.142e-06/0.5353, allocations: 0 / 430.6 MB, free: 11.18 MB / 318.1 MB Notification: Performance of Templates: time 0.04404/0.5794, allocations: 23.78 MB / 454.4 MB, free: 3.371 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_Conveyor/AIMC_Conveyor.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches