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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001741/0.001741, allocations: 181.2 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.974/1.974, allocations: 205.4 MB / 223.1 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009327/0.0009327, allocations: 88.11 kB / 271.5 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003666/0.0003668, allocations: 11.98 kB / 328.3 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3645, allocations: 47.57 MB / 375.8 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1448/0.5094, allocations: 107.3 MB / 483.1 MB, free: 5.297 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003152/0.5097, allocations: 91.95 kB / 483.2 MB, free: 5.207 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3905/0.9003, allocations: 44.47 MB / 0.5153 GB, free: 96.18 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.9004, allocations: 0 / 0.5153 GB, free: 96.18 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002739/0.9006, allocations: 54.47 kB / 0.5154 GB, free: 96.17 MB / 378.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.007862/0.9085, allocations: 2.298 MB / 0.5176 GB, free: 94.92 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.9086, allocations: 10.47 kB / 0.5176 GB, free: 94.92 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001707/0.9103, allocations: 276.9 kB / 0.5179 GB, free: 94.79 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004782/0.9151, allocations: 1.441 MB / 0.5193 GB, free: 93.99 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001713/0.9153, allocations: 146.3 kB / 0.5194 GB, free: 93.93 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001131/0.9164, allocations: 192.9 kB / 0.5196 GB, free: 93.86 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006267/0.9227, allocations: 2.402 MB / 0.522 GB, free: 92.7 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-05/0.9228, allocations: 11.86 kB / 0.522 GB, free: 92.7 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002706/0.9231, allocations: 80.69 kB / 0.522 GB, free: 92.64 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001079/0.9232, allocations: 91.69 kB / 0.5221 GB, free: 92.62 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003159/0.9264, allocations: 1.885 MB / 0.524 GB, free: 91.66 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01115/0.9376, allocations: 7.446 MB / 0.5312 GB, free: 84.71 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001631/0.9392, allocations: 1.386 MB / 0.5326 GB, free: 83.26 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002703/0.9395, allocations: 133.9 kB / 0.5327 GB, free: 83.12 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009195/0.9405, allocations: 0.7023 MB / 0.5334 GB, free: 82.39 MB / 378.7 MB Notification: Performance of pre-optimization done (n=102): time 3.907e-06/0.9405, allocations: 0 / 0.5334 GB, free: 82.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=130): time 0.0179/0.9584, allocations: 8.386 MB / 0.5416 GB, free: 73.87 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.429e-05/0.9585, allocations: 171.5 kB / 0.5418 GB, free: 73.67 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002488/0.961, allocations: 1.22 MB / 0.543 GB, free: 72.43 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002424/0.9613, allocations: 49.7 kB / 0.543 GB, free: 72.38 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009045/0.9622, allocations: 0.9287 MB / 0.5439 GB, free: 71.44 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005487/0.9628, allocations: 457.2 kB / 0.5444 GB, free: 71 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001247/0.9629, allocations: 27.94 kB / 0.5444 GB, free: 70.97 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.963, allocations: 369.9 kB / 0.5447 GB, free: 70.6 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001337/0.9644, allocations: 0.6988 MB / 0.5454 GB, free: 69.9 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001479/0.9659, allocations: 1.051 MB / 0.5464 GB, free: 68.71 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00143/0.9673, allocations: 0.8535 MB / 0.5473 GB, free: 67.86 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.554e-05/0.9674, allocations: 0 / 0.5473 GB, free: 67.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.004817/0.9722, allocations: 2.529 MB / 0.5497 GB, free: 65.31 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.301e-05/0.9723, allocations: 8 kB / 0.5498 GB, free: 65.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.435e-05/0.9723, allocations: 12.23 kB / 0.5498 GB, free: 65.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001647/0.974, allocations: 0.657 MB / 0.5504 GB, free: 64.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001196/0.9752, allocations: 303.5 kB / 0.5507 GB, free: 64.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007078/0.9823, allocations: 6.698 MB / 0.5572 GB, free: 57.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001992/0.9843, allocations: 104 kB / 0.5573 GB, free: 57.26 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004732/0.9848, allocations: 56 kB / 0.5574 GB, free: 57.2 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (149): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,76.0%) 23,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0024/0.9873, allocations: 0.6387 MB / 0.558 GB, free: 56.55 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008982/0.9882, allocations: 158 kB / 0.5582 GB, free: 56.4 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006863/0.9951, allocations: 2.398 MB / 0.5605 GB, free: 53.98 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.02e-05/0.9951, allocations: 12 kB / 0.5605 GB, free: 53.96 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.674e-05/0.9952, allocations: 8.047 kB / 0.5605 GB, free: 53.96 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-05/0.9952, allocations: 11.95 kB / 0.5605 GB, free: 53.95 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01481/1.01, allocations: 4.792 MB / 0.5652 GB, free: 49.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.99e-05/1.01, allocations: 7.969 kB / 0.5652 GB, free: 49.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001209/1.011, allocations: 188.1 kB / 0.5654 GB, free: 48.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00291/1.014, allocations: 0.7458 MB / 0.5661 GB, free: 48.12 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00025/1.015, allocations: 31.98 kB / 0.5662 GB, free: 48.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01227/1.027, allocations: 8.413 MB / 0.5744 GB, free: 39.29 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.664e-06/1.027, allocations: 7.953 kB / 0.5744 GB, free: 39.28 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008669/1.036, allocations: 3.457 MB / 0.5778 GB, free: 35.73 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001871/1.038, allocations: 403 kB / 0.5781 GB, free: 35.31 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009225/1.039, allocations: 32 kB / 0.5782 GB, free: 35.28 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002223/1.041, allocations: 79.91 kB / 0.5782 GB, free: 35.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005754/1.041, allocations: 101.1 kB / 0.5783 GB, free: 35.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002075/1.042, allocations: 43.98 kB / 0.5784 GB, free: 35.06 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003224/1.045, allocations: 0.944 MB / 0.5793 GB, free: 34.11 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.61e-07/1.045, allocations: 0 / 0.5793 GB, free: 34.11 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004325/1.049, allocations: 0.5233 MB / 0.5798 GB, free: 33.59 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (100): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(7,59.2%) 21,(1,100.0%) 3,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00218/1.051, allocations: 0.6005 MB / 0.5804 GB, free: 33.04 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006412/1.058, allocations: 2.399 MB / 0.5828 GB, free: 30.57 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.082e-05/1.058, allocations: 4.062 kB / 0.5828 GB, free: 30.57 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004254/1.062, allocations: 1.63 MB / 0.5843 GB, free: 28.87 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004142/1.066, allocations: 375.6 kB / 0.5847 GB, free: 28.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0122/1.079, allocations: 5.137 MB / 0.5897 GB, free: 23.32 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001943/1.081, allocations: 1.757 MB / 0.5914 GB, free: 21.54 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002026/1.083, allocations: 329.2 kB / 0.5918 GB, free: 21.21 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004389/1.083, allocations: 115.4 kB / 0.5919 GB, free: 21.09 MB / 378.7 MB Notification: Performance of SimCode: time 1.202e-06/1.083, allocations: 0 / 0.5919 GB, free: 21.09 MB / 378.7 MB Notification: Performance of Templates: time 0.07333/1.157, allocations: 27.33 MB / 0.6186 GB, free: 9.734 MB / 394.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