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.001642/0.001641, allocations: 177.1 kB / 16.41 MB, free: 5.727 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.604/1.604, allocations: 205.4 MB / 222.5 MB, free: 9.105 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.000806/0.000806, allocations: 85.33 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003182/0.0003185, allocations: 8 kB / 327 MB, free: 176 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2343/0.2346, allocations: 47.57 MB / 374.6 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor): time 0.007819/0.2425, allocations: 8.325 MB / 382.9 MB, free: 38.93 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006292/0.2488, allocations: 3.183 MB / 386.1 MB, free: 36.32 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001163/0.25, allocations: 37.56 kB / 386.1 MB, free: 36.31 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001515/0.2515, allocations: 0.5993 MB / 386.7 MB, free: 35.89 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001772/0.2533, allocations: 0.6921 MB / 387.4 MB, free: 35.34 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008606/0.2542, allocations: 322.8 kB / 387.7 MB, free: 35.1 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002134/0.2563, allocations: 2.478 MB / 390.2 MB, free: 33.17 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00112/0.2575, allocations: 1.222 MB / 391.4 MB, free: 31.91 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001068/0.2585, allocations: 0.8366 MB / 392.2 MB, free: 31.07 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001116/0.2597, allocations: 1.16 MB / 393.4 MB, free: 29.91 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001978/0.2599, allocations: 124 kB / 393.5 MB, free: 29.79 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005459/0.2604, allocations: 219.9 kB / 393.7 MB, free: 29.57 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004053/0.2608, allocations: 0.623 MB / 394.4 MB, free: 28.95 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000315/0.2612, allocations: 456.6 kB / 394.8 MB, free: 28.5 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001766/0.2629, allocations: 2.984 MB / 397.8 MB, free: 25.5 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.263, allocations: 0 / 397.8 MB, free: 25.5 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.116e-06/0.263, allocations: 0 / 397.8 MB, free: 25.5 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.098e-05/0.263, allocations: 3.938 kB / 397.8 MB, free: 25.5 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.003614/0.2666, allocations: 2.289 MB / 400.1 MB, free: 23.15 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.2667, allocations: 8.031 kB / 400.1 MB, free: 23.14 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005375/0.2672, allocations: 269.1 kB / 400.4 MB, free: 22.88 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001618/0.2689, allocations: 1.26 MB / 401.6 MB, free: 21.56 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.565e-05/0.2689, allocations: 139.7 kB / 401.8 MB, free: 21.43 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002128/0.2692, allocations: 188 kB / 401.9 MB, free: 21.24 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003241/0.2724, allocations: 2.42 MB / 404.4 MB, free: 18.79 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.611e-05/0.2725, allocations: 15.84 kB / 404.4 MB, free: 18.77 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001503/0.2726, allocations: 75.98 kB / 404.4 MB, free: 18.7 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.799e-05/0.2727, allocations: 95.67 kB / 404.5 MB, free: 18.61 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002613/0.2753, allocations: 1.978 MB / 406.5 MB, free: 16.62 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008389/0.2837, allocations: 7.429 MB / 413.9 MB, free: 9 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001446/0.2852, allocations: 1.355 MB / 415.3 MB, free: 7.586 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001249/0.2865, allocations: 0.8894 MB / 416.2 MB, free: 6.695 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000199/0.2867, allocations: 122.1 kB / 416.3 MB, free: 6.559 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008581/0.2875, allocations: 0.6875 MB / 417 MB, free: 5.836 MB / 298.7 MB Notification: Performance of pre-optimization done (n=99): time 2.515e-06/0.2876, allocations: 0 / 417 MB, free: 5.836 MB / 298.7 MB Notification: Performance of matching and sorting (n=121): time 0.01357/0.3011, allocations: 7.413 MB / 424.4 MB, free: 14.27 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/0.3013, allocations: 192.9 kB / 424.6 MB, free: 14.04 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001893/0.3032, allocations: 1.403 MB / 426 MB, free: 12.62 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.934e-05/0.3033, allocations: 49.64 kB / 426 MB, free: 12.56 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007723/0.3041, allocations: 0.9365 MB / 427 MB, free: 11.61 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003448/0.3044, allocations: 421.9 kB / 427.4 MB, free: 11.2 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.47e-05/0.3045, allocations: 28 kB / 427.4 MB, free: 11.17 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.3046, allocations: 365.9 kB / 427.8 MB, free: 10.8 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00098/0.3056, allocations: 0.6285 MB / 428.4 MB, free: 10.18 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001258/0.3069, allocations: 0.999 MB / 429.4 MB, free: 9.031 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001168/0.3081, allocations: 0.7832 MB / 430.2 MB, free: 8.246 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.902e-06/0.3081, allocations: 8 kB / 430.2 MB, free: 8.238 MB / 314.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003796/0.3119, allocations: 2.328 MB / 432.5 MB, free: 5.867 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.555e-05/0.3119, allocations: 8 kB / 432.5 MB, free: 5.859 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/0.312, allocations: 8 kB / 432.5 MB, free: 5.852 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001147/0.3131, allocations: 496.2 kB / 433 MB, free: 5.352 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/0.3142, allocations: 295.5 kB / 433.3 MB, free: 5.062 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006493/0.3207, allocations: 6.58 MB / 439.9 MB, free: 14.08 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001222/0.3219, allocations: 95.91 kB / 440 MB, free: 13.99 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/0.322, allocations: 60.06 kB / 440.1 MB, free: 13.93 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 (linear and non-linear blocks): 2 * Torn equation systems: 3 * 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: 3 {(2,100.0%) 12,(1,100.0%) 6,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001149/0.3232, allocations: 0.6339 MB / 440.7 MB, free: 13.29 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002464/0.3234, allocations: 154 kB / 440.8 MB, free: 13.13 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003484/0.3269, allocations: 2.131 MB / 443 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.327, allocations: 12 kB / 443 MB, free: 10.95 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.327, allocations: 4 kB / 443 MB, free: 10.94 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.714e-05/0.327, allocations: 7.969 kB / 443 MB, free: 10.93 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007039/0.334, allocations: 4.565 MB / 447.6 MB, free: 6.227 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/0.3341, allocations: 4 kB / 447.6 MB, free: 6.223 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007831/0.3349, allocations: 187.8 kB / 447.7 MB, free: 6.039 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001323/0.3362, allocations: 0.5315 MB / 448.3 MB, free: 5.492 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-05/0.3363, allocations: 39.97 kB / 448.3 MB, free: 5.453 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007566/0.3439, allocations: 8.009 MB / 456.3 MB, free: 12.91 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.3439, allocations: 8.062 kB / 456.3 MB, free: 12.9 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004694/0.3486, allocations: 3.085 MB / 459.4 MB, free: 9.719 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007528/0.3494, allocations: 371.1 kB / 459.8 MB, free: 9.336 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001833/0.3496, allocations: 32 kB / 459.8 MB, free: 9.305 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007652/0.3503, allocations: 79.92 kB / 459.9 MB, free: 9.227 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002331/0.3506, allocations: 96.75 kB / 460 MB, free: 9.133 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-05/0.3507, allocations: 39.98 kB / 460 MB, free: 9.094 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001379/0.3521, allocations: 0.9675 MB / 461 MB, free: 8.125 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3521, allocations: 4 kB / 461 MB, free: 8.121 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001544/0.3536, allocations: 444 kB / 461.4 MB, free: 7.688 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 (linear and non-linear blocks): 1 * Torn equation systems: 4 * 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: 4 {(2,100.0%) 12,(1,100.0%) 6,(1,100.0%) 3,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00102/0.3547, allocations: 475.2 kB / 461.9 MB, free: 7.246 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003423/0.3581, allocations: 2.248 MB / 464.1 MB, free: 4.914 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.3581, allocations: 4.062 kB / 464.1 MB, free: 4.91 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002193/0.3603, allocations: 1.514 MB / 465.7 MB, free: 3.324 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001942/0.3623, allocations: 404.4 kB / 466.1 MB, free: 2.93 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007106/0.3694, allocations: 5.105 MB / 471.2 MB, free: 13.74 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001414/0.3708, allocations: 1.694 MB / 472.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004266/0.3713, allocations: 111.4 kB / 473 MB, free: 11.91 MB / 362.7 MB Notification: Performance of SimCode: time 8.02e-07/0.3713, allocations: 0 / 473 MB, free: 11.91 MB / 362.7 MB Notification: Performance of Templates: time 0.2604/0.6317, allocations: 72.97 MB / 0.5331 GB, free: 74.02 MB / 378.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/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_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches