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.001326/0.001326, allocations: 179.1 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.446/1.446, allocations: 205.3 MB / 214.4 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007712/0.0007712, allocations: 86.38 kB / 262.4 MB, free: 1.688 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.073e-05/1.074e-05, allocations: 4 kB / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07872/0.07875, allocations: 47.58 MB / 363.1 MB, free: 7.074 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.31/0.3888, allocations: 106.8 MB / 469.9 MB, free: 5.18 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002198/0.3891, allocations: 90.81 kB / 470 MB, free: 5.133 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1127/0.5019, allocations: 43.95 MB / 0.5019 GB, free: 14.59 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.5019, allocations: 0 / 0.5019 GB, free: 14.59 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001404/0.5021, allocations: 55.94 kB / 0.5019 GB, free: 14.54 MB / 394.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.003692/0.5058, allocations: 2.065 MB / 0.5039 GB, free: 12.42 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.5058, allocations: 11.97 kB / 0.504 GB, free: 12.41 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006379/0.5065, allocations: 277 kB / 0.5042 GB, free: 12.14 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002478/0.5089, allocations: 1.428 MB / 0.5056 GB, free: 10.65 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.341e-05/0.509, allocations: 60 kB / 0.5057 GB, free: 10.59 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002236/0.5093, allocations: 111.9 kB / 0.5058 GB, free: 10.48 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0027/0.512, allocations: 1.745 MB / 0.5075 GB, free: 8.738 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003186/0.5152, allocations: 2.094 MB / 0.5095 GB, free: 6.57 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.063e-05/0.5152, allocations: 7.906 kB / 0.5095 GB, free: 6.562 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001427/0.5154, allocations: 0 / 0.5095 GB, free: 6.562 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.098e-05/0.5155, allocations: 91.62 kB / 0.5096 GB, free: 6.473 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009936/0.5254, allocations: 7.07 MB / 0.5165 GB, free: 15.21 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001533/0.527, allocations: 1.295 MB / 0.5178 GB, free: 13.86 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000946/0.5279, allocations: 0.6958 MB / 0.5185 GB, free: 13.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002774/0.5282, allocations: 138.3 kB / 0.5186 GB, free: 13.01 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008912/0.5291, allocations: 0.659 MB / 0.5192 GB, free: 12.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=102): time 3.447e-06/0.5292, allocations: 0 / 0.5192 GB, free: 12.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=130): time 0.01055/0.5397, allocations: 6.065 MB / 0.5252 GB, free: 6.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.119e-05/0.5398, allocations: 197.2 kB / 0.5254 GB, free: 5.926 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001325/0.5411, allocations: 1.009 MB / 0.5263 GB, free: 4.906 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.609e-05/0.5412, allocations: 33.7 kB / 0.5264 GB, free: 4.867 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007211/0.542, allocations: 0.9316 MB / 0.5273 GB, free: 3.922 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003062/0.5423, allocations: 429.5 kB / 0.5277 GB, free: 3.496 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.865e-05/0.5424, allocations: 0 / 0.5277 GB, free: 3.496 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.5425, allocations: 365.9 kB / 0.528 GB, free: 3.133 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008255/0.5433, allocations: 0.6365 MB / 0.5287 GB, free: 2.496 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001042/0.5444, allocations: 0.9935 MB / 0.5296 GB, free: 1.363 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/0.5454, allocations: 0.8065 MB / 0.5304 GB, free: 0.5547 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/0.5454, allocations: 8 kB / 0.5304 GB, free: 0.5469 MB / 410.7 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.2011/0.7466, allocations: 2.303 MB / 0.5327 GB, free: 106 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.562e-05/0.7467, allocations: 11.31 kB / 0.5327 GB, free: 106 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/0.7467, allocations: 10.67 kB / 0.5327 GB, free: 106 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001667/0.7484, allocations: 0.6493 MB / 0.5333 GB, free: 105.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/0.7495, allocations: 301.6 kB / 0.5336 GB, free: 105.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006611/0.7561, allocations: 6.184 MB / 0.5397 GB, free: 103.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00116/0.7573, allocations: 73.59 kB / 0.5397 GB, free: 103.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001187/0.7574, allocations: 56.2 kB / 0.5398 GB, free: 103.6 MB / 410.7 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 ($whenCondition1,$PRE.dutyCycle.nextTimeEvent,dutyCycle.nextTimeEvent,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEventScaled) * Number of discrete 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,84.0%) 23,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002423/0.7577, allocations: 137.5 kB / 0.5399 GB, free: 103.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002249/0.7579, allocations: 143.1 kB / 0.54 GB, free: 103.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003994/0.7619, allocations: 2.212 MB / 0.5422 GB, free: 103.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-05/0.7619, allocations: 13.84 kB / 0.5422 GB, free: 103.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/0.762, allocations: 7.641 kB / 0.5422 GB, free: 103.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.867e-05/0.762, allocations: 9.953 kB / 0.5422 GB, free: 103.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007364/0.7693, allocations: 4.472 MB / 0.5466 GB, free: 102.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.984e-06/0.7694, allocations: 5.062 kB / 0.5466 GB, free: 102.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007339/0.7701, allocations: 186.7 kB / 0.5468 GB, free: 102.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001738/0.7719, allocations: 0.7281 MB / 0.5475 GB, free: 102.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.247e-05/0.772, allocations: 14.33 kB / 0.5475 GB, free: 102.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006979/0.7789, allocations: 7.83 MB / 0.5552 GB, free: 99.03 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.779, allocations: 12.06 kB / 0.5552 GB, free: 99.03 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00387/0.7828, allocations: 3.276 MB / 0.5584 GB, free: 98.21 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005467/0.7834, allocations: 376.4 kB / 0.5587 GB, free: 97.97 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001899/0.7836, allocations: 10.47 kB / 0.5587 GB, free: 97.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007304/0.7843, allocations: 57.88 kB / 0.5588 GB, free: 97.97 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001887/0.7845, allocations: 110.3 kB / 0.5589 GB, free: 97.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.737e-05/0.7846, allocations: 44.3 kB / 0.5589 GB, free: 97.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009091/0.7855, allocations: 0.7533 MB / 0.5597 GB, free: 97.6 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7855, allocations: 0 / 0.5597 GB, free: 97.6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00144/0.787, allocations: 451.8 kB / 0.5601 GB, free: 97.59 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 95 * 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,63.3%) 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.001079/0.7881, allocations: 0.5334 MB / 0.5606 GB, free: 97.39 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002647/0.7907, allocations: 2.23 MB / 0.5628 GB, free: 96.36 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.7908, allocations: 0 / 0.5628 GB, free: 96.36 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001838/0.7926, allocations: 1.533 MB / 0.5643 GB, free: 95.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001252/0.7939, allocations: 290 kB / 0.5646 GB, free: 95.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00436/0.7982, allocations: 3.424 MB / 0.5679 GB, free: 94.05 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001035/0.7993, allocations: 1.754 MB / 0.5696 GB, free: 93.16 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000796/0.8001, allocations: 298.2 kB / 0.5699 GB, free: 93.13 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002601/0.8004, allocations: 105.8 kB / 0.57 GB, free: 93.11 MB / 410.7 MB Notification: Performance of SimCode: time 2.81e-07/0.8004, allocations: 0 / 0.57 GB, free: 93.11 MB / 410.7 MB Notification: Performance of Templates: time 0.04283/0.8432, allocations: 22.32 MB / 0.5918 GB, free: 89.89 MB / 410.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