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.001656/0.001656, allocations: 174.2 kB / 16.72 MB, free: 4.93 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.625/1.625, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.000803/0.0008027, allocations: 82.42 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003179/0.0003179, allocations: 12 kB / 327.5 MB, free: 15.87 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.2652, allocations: 47.57 MB / 375.1 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor): time 0.007957/0.2732, allocations: 8.332 MB / 383.4 MB, free: 38.91 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00561/0.2788, allocations: 3.171 MB / 386.6 MB, free: 36.32 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00104/0.2799, allocations: 39.56 kB / 386.6 MB, free: 36.31 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001466/0.2814, allocations: 0.5978 MB / 387.2 MB, free: 35.89 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001673/0.2831, allocations: 0.7089 MB / 387.9 MB, free: 35.33 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008833/0.284, allocations: 318.6 kB / 388.3 MB, free: 35.09 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00205/0.286, allocations: 2.515 MB / 390.8 MB, free: 33 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00125/0.2873, allocations: 1.416 MB / 392.2 MB, free: 31.54 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009013/0.2882, allocations: 0.8404 MB / 393 MB, free: 30.7 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001105/0.2893, allocations: 1.156 MB / 394.2 MB, free: 29.54 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001914/0.2895, allocations: 124 kB / 394.3 MB, free: 29.42 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005406/0.2901, allocations: 255.7 kB / 394.6 MB, free: 29.17 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004505/0.2905, allocations: 0.6152 MB / 395.2 MB, free: 28.55 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008082/0.2913, allocations: 1.051 MB / 396.2 MB, free: 27.49 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001869/0.2932, allocations: 2.988 MB / 399.2 MB, free: 24.49 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.2932, allocations: 3.938 kB / 399.2 MB, free: 24.49 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.2932, allocations: 3.938 kB / 399.2 MB, free: 24.48 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.083e-05/0.2933, allocations: 0 / 399.2 MB, free: 24.48 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.003645/0.2969, allocations: 2.258 MB / 401.5 MB, free: 22.17 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.297, allocations: 12.03 kB / 401.5 MB, free: 22.16 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005224/0.2975, allocations: 270 kB / 401.7 MB, free: 21.89 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001569/0.2991, allocations: 1.303 MB / 403 MB, free: 20.53 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.741e-05/0.2992, allocations: 143.7 kB / 403.2 MB, free: 20.39 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002167/0.2994, allocations: 187.9 kB / 403.4 MB, free: 20.21 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003078/0.3025, allocations: 2.424 MB / 405.8 MB, free: 17.75 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.86e-05/0.3025, allocations: 11.91 kB / 405.8 MB, free: 17.74 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000149/0.3027, allocations: 79.92 kB / 405.9 MB, free: 17.66 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.299e-05/0.3028, allocations: 95.67 kB / 406 MB, free: 17.57 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002657/0.3054, allocations: 1.974 MB / 408 MB, free: 15.59 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008488/0.3139, allocations: 7.433 MB / 415.4 MB, free: 7.961 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001458/0.3154, allocations: 1.353 MB / 416.7 MB, free: 6.547 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001219/0.3167, allocations: 0.8872 MB / 417.6 MB, free: 5.656 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001995/0.3169, allocations: 122.1 kB / 417.7 MB, free: 5.52 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008367/0.3177, allocations: 0.6875 MB / 418.4 MB, free: 4.797 MB / 298.7 MB Notification: Performance of pre-optimization done (n=99): time 2.955e-06/0.3177, allocations: 0 / 418.4 MB, free: 4.797 MB / 298.7 MB Notification: Performance of matching and sorting (n=121): time 0.01334/0.3311, allocations: 7.425 MB / 425.9 MB, free: 13.22 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.3312, allocations: 192.9 kB / 426 MB, free: 12.99 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001878/0.3331, allocations: 1.407 MB / 427.5 MB, free: 11.56 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.594e-05/0.3332, allocations: 49.7 kB / 427.5 MB, free: 11.51 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007462/0.334, allocations: 0.9326 MB / 428.4 MB, free: 10.56 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000343/0.3343, allocations: 425.9 kB / 428.9 MB, free: 10.14 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.894e-05/0.3344, allocations: 24 kB / 428.9 MB, free: 10.12 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.3345, allocations: 361.9 kB / 429.2 MB, free: 9.758 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001004/0.3356, allocations: 0.6286 MB / 429.9 MB, free: 9.129 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001259/0.3368, allocations: 0.999 MB / 430.9 MB, free: 7.98 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002375/0.3392, allocations: 1.704 MB / 432.6 MB, free: 6.141 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.3392, allocations: 4 kB / 432.6 MB, free: 6.137 MB / 314.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003803/0.343, allocations: 2.324 MB / 434.9 MB, free: 3.77 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/0.3431, allocations: 15.62 kB / 434.9 MB, free: 3.758 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/0.3431, allocations: 12 kB / 434.9 MB, free: 3.746 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00114/0.3443, allocations: 491.9 kB / 435.4 MB, free: 3.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001027/0.3453, allocations: 299.5 kB / 435.7 MB, free: 2.957 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006537/0.3518, allocations: 6.584 MB / 442.3 MB, free: 11.97 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/0.353, allocations: 95.91 kB / 442.4 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/0.3532, allocations: 55.98 kB / 442.4 MB, free: 11.82 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.001151/0.3543, allocations: 0.634 MB / 443.1 MB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002377/0.3546, allocations: 150.1 kB / 443.2 MB, free: 11.03 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003572/0.3581, allocations: 2.139 MB / 445.3 MB, free: 8.852 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/0.3582, allocations: 12 kB / 445.4 MB, free: 8.84 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.3582, allocations: 4 kB / 445.4 MB, free: 8.836 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/0.3582, allocations: 7.922 kB / 445.4 MB, free: 8.828 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007065/0.3653, allocations: 4.562 MB / 449.9 MB, free: 4.125 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.665e-06/0.3653, allocations: 4 kB / 449.9 MB, free: 4.121 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007391/0.366, allocations: 191.7 kB / 450.1 MB, free: 3.934 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001354/0.3674, allocations: 0.5391 MB / 450.7 MB, free: 3.379 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.388e-05/0.3675, allocations: 35.98 kB / 450.7 MB, free: 3.344 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007362/0.3749, allocations: 8.009 MB / 458.7 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.3749, allocations: 4 kB / 458.7 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004785/0.3797, allocations: 3.085 MB / 461.8 MB, free: 7.609 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008016/0.3805, allocations: 379 kB / 462.2 MB, free: 7.219 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000192/0.3807, allocations: 31.98 kB / 462.2 MB, free: 7.188 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007234/0.3815, allocations: 71.88 kB / 462.3 MB, free: 7.117 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002382/0.3817, allocations: 100.8 kB / 462.4 MB, free: 7.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.577e-05/0.3818, allocations: 35.98 kB / 462.4 MB, free: 6.984 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001394/0.3832, allocations: 0.9714 MB / 463.4 MB, free: 6.012 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3832, allocations: 0 / 463.4 MB, free: 6.012 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00148/0.3847, allocations: 451.9 kB / 463.8 MB, free: 5.57 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.001091/0.3858, allocations: 0.4964 MB / 464.3 MB, free: 5.086 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003465/0.3893, allocations: 2.236 MB / 466.5 MB, free: 2.77 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.3893, allocations: 0 / 466.5 MB, free: 2.77 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00224/0.3915, allocations: 1.534 MB / 468.1 MB, free: 1.164 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002444/0.394, allocations: 396.7 kB / 468.5 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007498/0.4015, allocations: 5.097 MB / 473.6 MB, free: 11.6 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001388/0.4029, allocations: 1.702 MB / 475.3 MB, free: 9.863 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004866/0.4034, allocations: 111.4 kB / 475.4 MB, free: 9.754 MB / 362.7 MB Notification: Performance of SimCode: time 6.81e-07/0.4034, allocations: 3.938 kB / 475.4 MB, free: 9.75 MB / 362.7 MB Notification: Performance of Templates: time 0.2306/0.634, allocations: 72.99 MB / 0.5355 GB, free: 70.81 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