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_DOL.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_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001933/0.001933, allocations: 185.5 kB / 17.41 MB, free: 4.402 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.851/3.851, allocations: 205.4 MB / 223.6 MB, free: 8.945 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.001895/0.001895, allocations: 92.16 kB / 271.9 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000641/0.0006415, allocations: 8 kB / 328.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6303/0.631, allocations: 47.57 MB / 375.7 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2251/0.8562, allocations: 104 MB / 479.7 MB, free: 8.629 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005192/0.8568, allocations: 87.95 kB / 479.8 MB, free: 8.543 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6169/1.474, allocations: 44.43 MB / 0.5119 GB, free: 95.76 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.618e-06/1.474, allocations: 0 / 0.5119 GB, free: 95.76 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004637/1.474, allocations: 50.94 kB / 0.512 GB, free: 95.75 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.01389/1.488, allocations: 2.417 MB / 0.5143 GB, free: 94.43 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.59e-05/1.488, allocations: 7.812 kB / 0.5143 GB, free: 94.43 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002706/1.491, allocations: 296.9 kB / 0.5146 GB, free: 94.3 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008204/1.499, allocations: 1.599 MB / 0.5162 GB, free: 93.4 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000403/1.5, allocations: 158.8 kB / 0.5163 GB, free: 93.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001684/1.502, allocations: 203.4 kB / 0.5165 GB, free: 93.25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01405/1.516, allocations: 2.728 MB / 0.5192 GB, free: 91.97 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002479/1.516, allocations: 3.406 kB / 0.5192 GB, free: 91.97 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007807/1.517, allocations: 86.81 kB / 0.5193 GB, free: 91.91 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001615/1.517, allocations: 87.88 kB / 0.5194 GB, free: 91.9 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009161/1.526, allocations: 2.237 MB / 0.5215 GB, free: 91.07 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03195/1.558, allocations: 8.461 MB / 0.5298 GB, free: 85.57 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00383/1.562, allocations: 1.81 MB / 0.5316 GB, free: 83.64 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002766/1.565, allocations: 1.007 MB / 0.5326 GB, free: 82.64 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004899/1.566, allocations: 126.1 kB / 0.5327 GB, free: 82.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.345e-05/1.566, allocations: 51.5 kB / 0.5327 GB, free: 82.44 MB / 378.7 MB Notification: Performance of pre-optimization done (n=107): time 9.308e-06/1.566, allocations: 4 kB / 0.5327 GB, free: 82.44 MB / 378.7 MB Notification: Performance of matching and sorting (n=123): time 0.01711/1.583, allocations: 6.402 MB / 0.539 GB, free: 75.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.595e-05/1.583, allocations: 64.41 kB / 0.539 GB, free: 75.84 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003661/1.587, allocations: 1.477 MB / 0.5405 GB, free: 74.35 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004466/1.587, allocations: 45.7 kB / 0.5405 GB, free: 74.3 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009337/1.588, allocations: 0.9758 MB / 0.5415 GB, free: 73.31 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007993/1.589, allocations: 429.3 kB / 0.5419 GB, free: 72.9 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001303/1.589, allocations: 28 kB / 0.5419 GB, free: 72.87 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001713/1.589, allocations: 361.9 kB / 0.5423 GB, free: 72.51 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001981/1.591, allocations: 0.7378 MB / 0.543 GB, free: 71.77 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002198/1.593, allocations: 1.046 MB / 0.544 GB, free: 70.61 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004466/1.598, allocations: 1.868 MB / 0.5458 GB, free: 68.62 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.139e-05/1.598, allocations: 4 kB / 0.5458 GB, free: 68.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.007636/1.606, allocations: 2.349 MB / 0.5481 GB, free: 66.24 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.362e-05/1.606, allocations: 8 kB / 0.5481 GB, free: 66.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-05/1.606, allocations: 11.94 kB / 0.5481 GB, free: 66.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001425/1.607, allocations: 419.2 kB / 0.5485 GB, free: 65.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002275/1.61, allocations: 335.5 kB / 0.5489 GB, free: 65.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006673/1.616, allocations: 4.643 MB / 0.5534 GB, free: 60.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003153/1.62, allocations: 91.91 kB / 0.5535 GB, free: 60.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005386/1.62, allocations: 55.98 kB / 0.5535 GB, free: 60.43 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * 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 {(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00307/1.623, allocations: 0.7081 MB / 0.5542 GB, free: 59.71 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001023/1.624, allocations: 165.9 kB / 0.5544 GB, free: 59.54 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005614/1.63, allocations: 2.176 MB / 0.5565 GB, free: 57.34 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.957e-05/1.63, allocations: 12 kB / 0.5565 GB, free: 57.33 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.689e-05/1.63, allocations: 4 kB / 0.5565 GB, free: 57.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.36e-05/1.63, allocations: 7.969 kB / 0.5565 GB, free: 57.32 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01443/1.645, allocations: 4.598 MB / 0.561 GB, free: 52.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.856e-05/1.645, allocations: 12.03 kB / 0.561 GB, free: 52.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001499/1.646, allocations: 239.6 kB / 0.5613 GB, free: 52.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001896/1.648, allocations: 466.8 kB / 0.5617 GB, free: 51.93 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000239/1.648, allocations: 35.98 kB / 0.5617 GB, free: 51.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007859/1.656, allocations: 6.205 MB / 0.5678 GB, free: 45.29 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/1.656, allocations: 0 / 0.5678 GB, free: 45.29 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007475/1.664, allocations: 3.244 MB / 0.571 GB, free: 41.98 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001681/1.666, allocations: 407 kB / 0.5714 GB, free: 41.56 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005982/1.666, allocations: 32 kB / 0.5714 GB, free: 41.53 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001496/1.668, allocations: 83.86 kB / 0.5715 GB, free: 41.45 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004372/1.668, allocations: 112.8 kB / 0.5716 GB, free: 41.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001385/1.668, allocations: 39.98 kB / 0.5716 GB, free: 41.3 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00253/1.671, allocations: 1.02 MB / 0.5726 GB, free: 40.28 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.11e-07/1.671, allocations: 0 / 0.5726 GB, free: 40.28 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003848/1.675, allocations: 488 kB / 0.5731 GB, free: 39.8 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 7 (aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001033/1.676, allocations: 300.4 kB / 0.5734 GB, free: 39.53 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005427/1.681, allocations: 2.293 MB / 0.5756 GB, free: 37.17 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.52e-05/1.681, allocations: 0 / 0.5756 GB, free: 37.17 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003594/1.685, allocations: 1.516 MB / 0.5771 GB, free: 35.59 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004951/1.69, allocations: 433.5 kB / 0.5775 GB, free: 35.17 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01343/1.703, allocations: 5.379 MB / 0.5827 GB, free: 29.72 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00287/1.706, allocations: 1.799 MB / 0.5845 GB, free: 27.89 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001218/1.708, allocations: 123.4 kB / 0.5846 GB, free: 27.77 MB / 378.7 MB Notification: Performance of SimCode: time 2.304e-06/1.708, allocations: 0 / 0.5846 GB, free: 27.77 MB / 378.7 MB Notification: Performance of Templates: time 0.5797/2.288, allocations: 70.34 MB / 0.6533 GB, free: 116.9 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL_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_DOL/AIMC_DOL.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches