Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.002282/0.002286, allocations: 180.1 kB / 13.66 MB, free: 1.66 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.997/1.997, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001063/0.001063, allocations: 94.58 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.965e-05/2.981e-05, allocations: 4 kB / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09622/0.09627, allocations: 47.57 MB / 369.1 MB, free: 2.199 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4589/0.5553, allocations: 107.2 MB / 476.3 MB, free: 2.301 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000276/0.5556, allocations: 89.23 kB / 476.4 MB, free: 2.258 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1931/0.7487, allocations: 44.5 MB / 0.5087 GB, free: 7.09 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.7488, allocations: 0 / 0.5087 GB, free: 7.09 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002139/0.749, allocations: 51.94 kB / 0.5087 GB, free: 7.039 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.007251/0.7563, allocations: 2.073 MB / 0.5108 GB, free: 4.914 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.7563, allocations: 11.97 kB / 0.5108 GB, free: 4.902 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001491/0.7578, allocations: 277 kB / 0.511 GB, free: 4.629 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004867/0.7627, allocations: 1.428 MB / 0.5124 GB, free: 3.145 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001777/0.7629, allocations: 139.8 kB / 0.5126 GB, free: 3.008 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006137/0.7636, allocations: 195.9 kB / 0.5128 GB, free: 2.816 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006876/0.7705, allocations: 2.351 MB / 0.5151 GB, free: 400 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001214/0.7706, allocations: 23.78 kB / 0.5151 GB, free: 376 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003065/0.771, allocations: 87.92 kB / 0.5152 GB, free: 288 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001631/0.7711, allocations: 79.69 kB / 0.5152 GB, free: 208 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005922/0.7771, allocations: 1.842 MB / 0.517 GB, free: 14.36 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02061/0.7977, allocations: 7.441 MB / 0.5243 GB, free: 6.719 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003135/0.8009, allocations: 1.353 MB / 0.5256 GB, free: 5.297 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001903/0.8029, allocations: 0.7184 MB / 0.5263 GB, free: 4.582 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004451/0.8033, allocations: 142 kB / 0.5265 GB, free: 4.426 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001656/0.805, allocations: 0.6798 MB / 0.5271 GB, free: 3.719 MB / 410.7 MB Notification: Performance of pre-optimization done (n=102): time 4.338e-06/0.805, allocations: 0 / 0.5271 GB, free: 3.719 MB / 410.7 MB Notification: Performance of matching and sorting (n=130): time 0.2998/1.105, allocations: 7.636 MB / 0.5346 GB, free: 103.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.33e-05/1.105, allocations: 199.8 kB / 0.5348 GB, free: 103.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003161/1.108, allocations: 1.211 MB / 0.536 GB, free: 103.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000322/1.109, allocations: 49.56 kB / 0.536 GB, free: 103.1 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009395/1.11, allocations: 0.8902 MB / 0.5369 GB, free: 102.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006805/1.11, allocations: 448.8 kB / 0.5373 GB, free: 102.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001378/1.11, allocations: 31.34 kB / 0.5373 GB, free: 102.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001422/1.111, allocations: 367.3 kB / 0.5377 GB, free: 102.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001769/1.112, allocations: 0.6658 MB / 0.5383 GB, free: 102.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002145/1.115, allocations: 1.034 MB / 0.5393 GB, free: 101.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002289/1.117, allocations: 0.8336 MB / 0.5402 GB, free: 101.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.259e-05/1.117, allocations: 2.375 kB / 0.5402 GB, free: 101.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.007375/1.124, allocations: 2.377 MB / 0.5425 GB, free: 101.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.972e-05/1.124, allocations: 9.344 kB / 0.5425 GB, free: 101.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.132e-05/1.124, allocations: 9.906 kB / 0.5425 GB, free: 101.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003007/1.127, allocations: 0.6583 MB / 0.5431 GB, free: 101.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00235/1.13, allocations: 301.4 kB / 0.5434 GB, free: 101.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01226/1.142, allocations: 6.452 MB / 0.5497 GB, free: 98.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002285/1.144, allocations: 104.7 kB / 0.5498 GB, free: 98.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002747/1.145, allocations: 60.11 kB / 0.5499 GB, free: 98.97 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.000439/1.145, allocations: 192.7 kB / 0.5501 GB, free: 98.86 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005371/1.146, allocations: 158.2 kB / 0.5502 GB, free: 98.78 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006429/1.152, allocations: 2.347 MB / 0.5525 GB, free: 98.52 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.162e-05/1.152, allocations: 10.06 kB / 0.5525 GB, free: 98.52 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.325e-05/1.152, allocations: 7.562 kB / 0.5525 GB, free: 98.52 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-05/1.152, allocations: 7.219 kB / 0.5525 GB, free: 98.52 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01263/1.165, allocations: 4.84 MB / 0.5573 GB, free: 96.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.394e-05/1.165, allocations: 6.469 kB / 0.5573 GB, free: 96.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001528/1.167, allocations: 191.9 kB / 0.5575 GB, free: 96.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003336/1.17, allocations: 0.7327 MB / 0.5582 GB, free: 96.33 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002648/1.17, allocations: 39 kB / 0.5582 GB, free: 96.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0128/1.183, allocations: 8.141 MB / 0.5662 GB, free: 90.76 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/1.183, allocations: 3.719 kB / 0.5662 GB, free: 90.76 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00802/1.191, allocations: 3.423 MB / 0.5695 GB, free: 89.21 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001324/1.193, allocations: 399.5 kB / 0.5699 GB, free: 88.96 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003951/1.193, allocations: 30.94 kB / 0.5699 GB, free: 88.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001551/1.194, allocations: 84.22 kB / 0.57 GB, free: 88.92 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003665/1.195, allocations: 107.8 kB / 0.5701 GB, free: 88.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001415/1.195, allocations: 36.77 kB / 0.5701 GB, free: 88.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001877/1.197, allocations: 0.933 MB / 0.571 GB, free: 88.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.583e-06/1.197, allocations: 0 / 0.571 GB, free: 88.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002604/1.2, allocations: 0.5222 MB / 0.5715 GB, free: 88.46 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.001551/1.201, allocations: 0.5547 MB / 0.5721 GB, free: 88.21 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005436/1.207, allocations: 2.34 MB / 0.5744 GB, free: 87.14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.074e-06/1.207, allocations: 1.5 kB / 0.5744 GB, free: 87.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003945/1.211, allocations: 1.598 MB / 0.5759 GB, free: 86.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003101/1.214, allocations: 383 kB / 0.5763 GB, free: 86.21 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008725/1.223, allocations: 3.567 MB / 0.5798 GB, free: 84.62 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001685/1.224, allocations: 1.748 MB / 0.5815 GB, free: 83.74 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007171/1.225, allocations: 116.4 kB / 0.5816 GB, free: 83.73 MB / 410.7 MB Notification: Performance of SimCode: time 1.102e-06/1.225, allocations: 0 / 0.5816 GB, free: 83.73 MB / 410.7 MB Notification: Performance of Templates: time 0.09277/1.318, allocations: 62.02 MB / 0.6422 GB, free: 35.92 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches