Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001535/0.001535, allocations: 174.2 kB / 17.36 MB, free: 4.445 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.921/1.921, allocations: 205.6 MB / 223.7 MB, free: 8.926 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000845/0.0008453, allocations: 95.67 kB / 272.1 MB, free: 8.121 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003304/0.0003304, allocations: 4 kB / 329 MB, free: 15.05 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3601/0.3604, allocations: 47.58 MB / 376.6 MB, free: 45.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor): time 0.00847/0.369, allocations: 8.354 MB / 385 MB, free: 39.07 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006927/0.3759, allocations: 3.61 MB / 388.6 MB, free: 35.97 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001601/0.3776, allocations: 38.31 kB / 388.6 MB, free: 35.96 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001935/0.3795, allocations: 0.6463 MB / 389.3 MB, free: 35.51 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002358/0.3819, allocations: 0.7301 MB / 390 MB, free: 34.93 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009862/0.3829, allocations: 406 kB / 390.4 MB, free: 34.58 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002348/0.3853, allocations: 2.76 MB / 393.1 MB, free: 31.81 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001295/0.3866, allocations: 1.418 MB / 394.6 MB, free: 30.35 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001079/0.3877, allocations: 0.8596 MB / 395.4 MB, free: 29.49 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001181/0.3889, allocations: 1.198 MB / 396.6 MB, free: 28.29 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001995/0.3891, allocations: 124 kB / 396.7 MB, free: 28.16 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006198/0.3897, allocations: 259.8 kB / 397 MB, free: 27.91 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004865/0.3902, allocations: 0.619 MB / 397.6 MB, free: 27.29 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008487/0.391, allocations: 1.105 MB / 398.7 MB, free: 26.17 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002303/0.3934, allocations: 3.492 MB / 402.2 MB, free: 22.67 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.3934, allocations: 3.984 kB / 402.2 MB, free: 22.66 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.524e-06/0.3934, allocations: 0 / 402.2 MB, free: 22.66 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.285e-05/0.3935, allocations: 0 / 402.2 MB, free: 22.66 MB / 298.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.003901/0.3974, allocations: 2.262 MB / 404.5 MB, free: 20.34 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.3974, allocations: 8.031 kB / 404.5 MB, free: 20.34 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005777/0.398, allocations: 266 kB / 404.7 MB, free: 20.07 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001758/0.3998, allocations: 1.303 MB / 406 MB, free: 18.71 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.612e-05/0.3999, allocations: 143.7 kB / 406.2 MB, free: 18.57 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002622/0.4002, allocations: 195.9 kB / 406.4 MB, free: 18.38 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003591/0.4038, allocations: 2.424 MB / 408.8 MB, free: 15.93 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.55e-05/0.4038, allocations: 7.906 kB / 408.8 MB, free: 15.92 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001519/0.404, allocations: 79.98 kB / 408.9 MB, free: 15.84 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.829e-05/0.4041, allocations: 95.69 kB / 409 MB, free: 15.75 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002806/0.4069, allocations: 1.978 MB / 411 MB, free: 13.77 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009559/0.4165, allocations: 7.432 MB / 418.4 MB, free: 6.137 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001485/0.418, allocations: 1.355 MB / 419.7 MB, free: 4.723 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001236/0.4193, allocations: 0.8855 MB / 420.6 MB, free: 3.832 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002537/0.4195, allocations: 122.1 kB / 420.7 MB, free: 3.695 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000958/0.4205, allocations: 0.6875 MB / 421.4 MB, free: 2.973 MB / 298.7 MB Notification: Performance of pre-optimization done (n=99): time 3.717e-06/0.4205, allocations: 0 / 421.4 MB, free: 2.973 MB / 298.7 MB Notification: Performance of matching and sorting (n=121): time 0.01467/0.4352, allocations: 7.408 MB / 428.8 MB, free: 11.41 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001292/0.4354, allocations: 204.9 kB / 429 MB, free: 11.17 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001981/0.4374, allocations: 1.411 MB / 430.5 MB, free: 9.738 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.43e-05/0.4374, allocations: 45.7 kB / 430.5 MB, free: 9.688 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009003/0.4383, allocations: 0.9326 MB / 431.4 MB, free: 8.742 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003806/0.4387, allocations: 421.9 kB / 431.8 MB, free: 8.324 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.087e-05/0.4388, allocations: 32 kB / 431.9 MB, free: 8.293 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.439, allocations: 353.9 kB / 432.2 MB, free: 7.941 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009933/0.44, allocations: 0.6364 MB / 432.9 MB, free: 7.305 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001303/0.4413, allocations: 0.9951 MB / 433.9 MB, free: 6.16 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002367/0.4437, allocations: 1.704 MB / 435.6 MB, free: 4.32 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/0.4437, allocations: 4 kB / 435.6 MB, free: 4.316 MB / 314.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003944/0.4477, allocations: 2.32 MB / 437.9 MB, free: 1.953 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.831e-05/0.4477, allocations: 18.75 kB / 437.9 MB, free: 1.938 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/0.4477, allocations: 8 kB / 437.9 MB, free: 1.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001174/0.4489, allocations: 0.4884 MB / 438.4 MB, free: 1.426 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/0.45, allocations: 299.5 kB / 438.7 MB, free: 1.133 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007055/0.4571, allocations: 6.577 MB / 445.3 MB, free: 10.15 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001409/0.4585, allocations: 95.97 kB / 445.4 MB, free: 10.06 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002046/0.4588, allocations: 52 kB / 445.4 MB, free: 10.01 MB / 330.7 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 ($whenCondition1,$PRE.dutyCycle.nextTimeEvent,dutyCycle.nextTimeEvent,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEventScaled) * 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.001436/0.4602, allocations: 0.6262 MB / 446 MB, free: 9.371 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004607/0.4607, allocations: 154.1 kB / 446.2 MB, free: 9.219 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003988/0.4647, allocations: 2.139 MB / 448.3 MB, free: 7.039 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.219e-05/0.4647, allocations: 19.94 kB / 448.3 MB, free: 7.02 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.972e-05/0.4647, allocations: 8 kB / 448.4 MB, free: 7.012 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.246e-05/0.4648, allocations: 3.984 kB / 448.4 MB, free: 7.008 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008959/0.4737, allocations: 4.55 MB / 452.9 MB, free: 2.316 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.304e-05/0.4738, allocations: 4.375 kB / 452.9 MB, free: 2.312 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008183/0.4746, allocations: 199.8 kB / 453.1 MB, free: 2.117 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001471/0.4761, allocations: 0.5353 MB / 453.6 MB, free: 1.566 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001119/0.4762, allocations: 39.97 kB / 453.7 MB, free: 1.527 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008615/0.4849, allocations: 8.014 MB / 461.7 MB, free: 8.973 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.624e-05/0.4849, allocations: 4 kB / 461.7 MB, free: 8.969 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005296/0.4902, allocations: 3.085 MB / 464.8 MB, free: 5.785 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009721/0.4912, allocations: 375 kB / 465.1 MB, free: 5.398 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004419/0.4917, allocations: 35.98 kB / 465.2 MB, free: 5.363 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00103/0.4927, allocations: 75.88 kB / 465.3 MB, free: 5.289 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002781/0.493, allocations: 96.8 kB / 465.4 MB, free: 5.195 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.269e-05/0.4931, allocations: 43.98 kB / 465.4 MB, free: 5.152 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001909/0.495, allocations: 0.9636 MB / 466.4 MB, free: 4.188 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4951, allocations: 0 / 466.4 MB, free: 4.188 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00196/0.497, allocations: 455.9 kB / 466.8 MB, free: 3.742 MB / 346.7 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.001319/0.4984, allocations: 0.5484 MB / 467.4 MB, free: 3.297 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003954/0.5023, allocations: 2.246 MB / 469.6 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.5023, allocations: 0 / 469.6 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002517/0.5049, allocations: 1.524 MB / 471.1 MB, free: 15.38 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003024/0.5079, allocations: 400.4 kB / 471.5 MB, free: 14.98 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008807/0.5167, allocations: 5.265 MB / 476.8 MB, free: 9.645 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00195/0.5187, allocations: 1.702 MB / 478.5 MB, free: 7.91 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001369/0.5201, allocations: 329 kB / 478.8 MB, free: 7.582 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004584/0.5206, allocations: 107.4 kB / 478.9 MB, free: 7.477 MB / 362.7 MB Notification: Performance of SimCode: time 1.082e-06/0.5206, allocations: 0 / 478.9 MB, free: 7.477 MB / 362.7 MB Notification: Performance of Templates: time 0.04717/0.5678, allocations: 23.43 MB / 0.4906 GB, free: 32 kB / 378.7 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