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.001931/0.001931, allocations: 110.4 kB / 17.73 MB, free: 5.363 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.002589/0.002589, allocations: 187.1 kB / 18.66 MB, free: 4.441 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.86/1.86, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001389/0.001389, allocations: 51.92 kB / 328.5 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1501, allocations: 46.61 MB / 375.2 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor): time 0.3609/0.5111, allocations: 9.411 MB / 384.6 MB, free: 8.285 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008724/0.5199, allocations: 3.396 MB / 388 MB, free: 6.352 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002461/0.5224, allocations: 43.19 kB / 388 MB, free: 6.34 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002786/0.5253, allocations: 0.7338 MB / 388.7 MB, free: 5.984 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003598/0.5289, allocations: 0.8065 MB / 389.5 MB, free: 5.496 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001709/0.5306, allocations: 454 kB / 390 MB, free: 5.227 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004186/0.5348, allocations: 2.42 MB / 392.4 MB, free: 4.023 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002684/0.5375, allocations: 1.746 MB / 394.2 MB, free: 3.285 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002773/0.5403, allocations: 1.087 MB / 395.2 MB, free: 2.773 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002701/0.543, allocations: 1.393 MB / 396.6 MB, free: 2.137 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005842/0.5436, allocations: 279.6 kB / 396.9 MB, free: 2.137 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001258/0.5449, allocations: 405.2 kB / 397.3 MB, free: 2.102 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00106/0.546, allocations: 0.8104 MB / 398.1 MB, free: 1.66 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001527/0.5475, allocations: 1.275 MB / 399.4 MB, free: 0.832 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005542/0.5531, allocations: 3.736 MB / 403.1 MB, free: 14.93 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.5531, allocations: 0 / 403.1 MB, free: 14.93 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.496e-06/0.5531, allocations: 0 / 403.1 MB, free: 14.93 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001109/0.5532, allocations: 1.281 kB / 403.1 MB, free: 14.93 MB / 334.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.00806/0.5613, allocations: 2.656 MB / 405.8 MB, free: 13.08 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.466e-05/0.5614, allocations: 10.25 kB / 405.8 MB, free: 13.08 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009656/0.5623, allocations: 274.5 kB / 406.1 MB, free: 12.94 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002653/0.565, allocations: 1.312 MB / 407.4 MB, free: 11.97 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001536/0.5652, allocations: 143.2 kB / 407.5 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003475/0.5655, allocations: 191.5 kB / 407.7 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005471/0.571, allocations: 2.432 MB / 410.1 MB, free: 10.42 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.379e-05/0.5711, allocations: 7.016 kB / 410.1 MB, free: 10.42 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002128/0.5713, allocations: 86.36 kB / 410.2 MB, free: 10.35 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001507/0.5715, allocations: 96.75 kB / 410.3 MB, free: 10.33 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004201/0.5757, allocations: 1.983 MB / 412.3 MB, free: 9.324 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0168/0.5925, allocations: 7.322 MB / 419.6 MB, free: 2.836 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002176/0.5948, allocations: 1.348 MB / 421 MB, free: 1.422 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001665/0.5965, allocations: 0.8737 MB / 421.8 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003196/0.5968, allocations: 118.1 kB / 422 MB, free: 424 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001237/0.5981, allocations: 0.6876 MB / 422.6 MB, free: 15.69 MB / 350.1 MB Notification: Performance of pre-optimization done (n=99): time 3.085e-06/0.5981, allocations: 0 / 422.6 MB, free: 15.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=121): time 0.01743/0.6155, allocations: 7.353 MB / 430 MB, free: 8.188 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001416/0.6157, allocations: 196.9 kB / 430.2 MB, free: 7.949 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002404/0.6181, allocations: 1.418 MB / 431.6 MB, free: 6.512 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001065/0.6182, allocations: 53.7 kB / 431.7 MB, free: 6.453 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00105/0.6193, allocations: 0.9249 MB / 432.6 MB, free: 5.516 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004532/0.6198, allocations: 421.9 kB / 433 MB, free: 5.098 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004393/0.6202, allocations: 243.5 kB / 433.2 MB, free: 4.852 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002144/0.6204, allocations: 365.9 kB / 433.6 MB, free: 4.488 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001073/0.6215, allocations: 0.6286 MB / 434.2 MB, free: 3.859 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001382/0.6229, allocations: 1.007 MB / 435.2 MB, free: 2.711 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002502/0.6254, allocations: 1.708 MB / 436.9 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.398e-06/0.6254, allocations: 4 kB / 436.9 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004223/0.6297, allocations: 2.336 MB / 439.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.957e-05/0.6297, allocations: 12 kB / 439.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.853e-05/0.6298, allocations: 8.25 kB / 439.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001255/0.631, allocations: 495.9 kB / 439.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001153/0.6322, allocations: 299.5 kB / 440.1 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007843/0.64, allocations: 7.175 MB / 447.2 MB, free: 6.078 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002069/0.6422, allocations: 103.7 kB / 447.3 MB, free: 5.977 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001194/0.6423, allocations: 52 kB / 447.4 MB, free: 5.926 MB / 366.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.001727/0.644, allocations: 0.6373 MB / 448 MB, free: 5.281 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004362/0.6445, allocations: 158.1 kB / 448.2 MB, free: 5.125 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004077/0.6486, allocations: 2.135 MB / 450.3 MB, free: 2.949 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.722e-05/0.6486, allocations: 16 kB / 450.3 MB, free: 2.934 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.699e-06/0.6486, allocations: 4 kB / 450.3 MB, free: 2.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.042e-05/0.6486, allocations: 7.969 kB / 450.4 MB, free: 2.922 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008385/0.657, allocations: 4.548 MB / 454.9 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.214e-05/0.6571, allocations: 4 kB / 454.9 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000821/0.6579, allocations: 183.7 kB / 455.1 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001402/0.6593, allocations: 0.5353 MB / 455.6 MB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.436e-05/0.6594, allocations: 35.97 kB / 455.7 MB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009626/0.6691, allocations: 8.719 MB / 464.4 MB, free: 4.184 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.005e-06/0.6692, allocations: 7.938 kB / 464.4 MB, free: 4.176 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006385/0.6755, allocations: 3.095 MB / 467.5 MB, free: 0.9844 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001326/0.6769, allocations: 367.1 kB / 467.8 MB, free: 0.6055 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002765/0.6772, allocations: 35.98 kB / 467.9 MB, free: 0.5703 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009022/0.6781, allocations: 71.92 kB / 467.9 MB, free: 0.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003536/0.6785, allocations: 96.75 kB / 468 MB, free: 416 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.15e-05/0.6786, allocations: 39.98 kB / 468.1 MB, free: 376 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002079/0.6807, allocations: 0.9831 MB / 469.1 MB, free: 15.38 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6807, allocations: 0 / 469.1 MB, free: 15.38 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002612/0.6833, allocations: 452 kB / 469.5 MB, free: 14.94 MB / 398.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.001601/0.6849, allocations: 0.4944 MB / 470 MB, free: 14.44 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004501/0.6894, allocations: 2.252 MB / 472.2 MB, free: 12.11 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 9.658e-06/0.6895, allocations: 0 / 472.2 MB, free: 12.11 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002735/0.6922, allocations: 1.526 MB / 473.8 MB, free: 10.51 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00275/0.695, allocations: 424.3 kB / 474.2 MB, free: 10.09 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009597/0.7046, allocations: 4.225 MB / 478.4 MB, free: 5.793 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002151/0.7068, allocations: 1.698 MB / 480.1 MB, free: 4.062 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001641/0.7085, allocations: 333 kB / 480.4 MB, free: 3.73 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00034/0.7088, allocations: 111.4 kB / 480.5 MB, free: 3.621 MB / 398.1 MB Notification: Performance of SimCode: time 4.438e-06/0.7089, allocations: 4 kB / 480.5 MB, free: 3.617 MB / 398.1 MB Notification: Performance of Templates: time 0.06284/0.7717, allocations: 25.05 MB / 0.4937 GB, free: 10.52 MB / 430.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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