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.001474/0.001474, allocations: 179.2 kB / 8.363 MB, free: 0.7148 MB / 5.871 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.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001133/0.001133, allocations: 95.09 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.012e-05/2.024e-05, allocations: 4 kB / 314.8 MB, free: 9.137 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.334, allocations: 47.57 MB / 362.3 MB, free: 45.84 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1721/0.5061, allocations: 103 MB / 465.3 MB, free: 15.27 MB / 363.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003393/0.5065, allocations: 87.94 kB / 465.4 MB, free: 15.18 MB / 363.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.198/0.7045, allocations: 43.97 MB / 0.4975 GB, free: 2.988 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.7046, allocations: 3.938 kB / 0.4975 GB, free: 2.984 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0002708/0.7049, allocations: 59.94 kB / 0.4975 GB, free: 2.926 MB / 395.1 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.008464/0.7133, allocations: 2.177 MB / 0.4996 GB, free: 0.6914 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/0.7134, allocations: 12.03 kB / 0.4997 GB, free: 0.6797 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001835/0.7153, allocations: 288.9 kB / 0.4999 GB, free: 404 kB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2877/1.003, allocations: 1.533 MB / 0.5014 GB, free: 97.64 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001743/1.003, allocations: 64.03 kB / 0.5015 GB, free: 97.64 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008537/1.004, allocations: 124.4 kB / 0.5016 GB, free: 97.64 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006723/1.011, allocations: 2.024 MB / 0.5036 GB, free: 97.62 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008381/1.019, allocations: 2.353 MB / 0.5059 GB, free: 97.29 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001207/1.019, allocations: 10.91 kB / 0.5059 GB, free: 97.29 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003397/1.02, allocations: 2.375 kB / 0.5059 GB, free: 97.29 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001492/1.02, allocations: 89.66 kB / 0.506 GB, free: 97.29 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02303/1.043, allocations: 8.053 MB / 0.5138 GB, free: 95.28 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003217/1.046, allocations: 1.72 MB / 0.5155 GB, free: 94.69 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002232/1.049, allocations: 0.8596 MB / 0.5164 GB, free: 94.67 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004364/1.049, allocations: 136.5 kB / 0.5165 GB, free: 94.58 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.683e-05/1.049, allocations: 47.67 kB / 0.5165 GB, free: 94.54 MB / 395.1 MB Notification: Performance of pre-optimization done (n=107): time 4.007e-06/1.049, allocations: 1.156 kB / 0.5165 GB, free: 94.54 MB / 395.1 MB Notification: Performance of matching and sorting (n=123): time 0.01343/1.063, allocations: 4.357 MB / 0.5208 GB, free: 93.48 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/1.063, allocations: 64.41 kB / 0.5209 GB, free: 93.42 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002308/1.065, allocations: 1.094 MB / 0.5219 GB, free: 92.97 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000294/1.065, allocations: 25.7 kB / 0.522 GB, free: 92.94 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000667/1.066, allocations: 0.9494 MB / 0.5229 GB, free: 92.16 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005164/1.066, allocations: 414.1 kB / 0.5233 GB, free: 91.84 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/1.067, allocations: 0.6562 kB / 0.5233 GB, free: 91.84 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001171/1.067, allocations: 373.6 kB / 0.5236 GB, free: 91.5 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00139/1.068, allocations: 0.67 MB / 0.5243 GB, free: 91.25 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001581/1.07, allocations: 0.9654 MB / 0.5252 GB, free: 90.66 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001758/1.072, allocations: 0.8126 MB / 0.526 GB, free: 90.36 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.379e-05/1.072, allocations: 7.406 kB / 0.526 GB, free: 90.36 MB / 395.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005003/1.077, allocations: 2.045 MB / 0.528 GB, free: 89.66 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.663e-05/1.077, allocations: 9.375 kB / 0.528 GB, free: 89.66 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.64e-05/1.077, allocations: 11.09 kB / 0.528 GB, free: 89.66 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001614/1.078, allocations: 403.8 kB / 0.5284 GB, free: 89.54 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002597/1.081, allocations: 338.2 kB / 0.5288 GB, free: 89.53 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005999/1.087, allocations: 4.422 MB / 0.5331 GB, free: 86.27 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001985/1.089, allocations: 65.97 kB / 0.5331 GB, free: 86.26 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002509/1.089, allocations: 56.8 kB / 0.5332 GB, free: 86.25 MB / 395.1 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 () * 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.0003759/1.09, allocations: 133.8 kB / 0.5333 GB, free: 86.14 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004575/1.09, allocations: 149.2 kB / 0.5335 GB, free: 86.07 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004801/1.095, allocations: 1.998 MB / 0.5354 GB, free: 85.32 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.78e-05/1.095, allocations: 15.38 kB / 0.5354 GB, free: 85.32 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/1.095, allocations: 0 / 0.5354 GB, free: 85.32 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-05/1.095, allocations: 5.906 kB / 0.5354 GB, free: 85.32 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01075/1.106, allocations: 4.16 MB / 0.5395 GB, free: 83.67 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.337e-05/1.106, allocations: 3.5 kB / 0.5395 GB, free: 83.67 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001932/1.108, allocations: 234.2 kB / 0.5397 GB, free: 83.66 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002013/1.11, allocations: 463.8 kB / 0.5402 GB, free: 83.53 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002375/1.11, allocations: 14.95 kB / 0.5402 GB, free: 83.53 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007249/1.117, allocations: 5.909 MB / 0.5459 GB, free: 78.91 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.804e-06/1.118, allocations: 7.406 kB / 0.546 GB, free: 78.91 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006469/1.124, allocations: 3.15 MB / 0.549 GB, free: 77.45 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001315/1.125, allocations: 385.5 kB / 0.5494 GB, free: 77.21 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003778/1.126, allocations: 10.52 kB / 0.5494 GB, free: 77.21 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001535/1.127, allocations: 63.84 kB / 0.5495 GB, free: 77.21 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003425/1.128, allocations: 109.9 kB / 0.5496 GB, free: 77.19 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000125/1.128, allocations: 36.48 kB / 0.5496 GB, free: 77.18 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.001585/1.129, allocations: 0.8248 MB / 0.5504 GB, free: 76.82 MB / 395.1 MB Notification: Performance of sort global known variables: time 5.01e-07/1.129, allocations: 4.781 kB / 0.5504 GB, free: 76.82 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.002351/1.132, allocations: 426.7 kB / 0.5508 GB, free: 76.82 MB / 395.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 103 * 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.0006773/1.133, allocations: 285.6 kB / 0.5511 GB, free: 76.7 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.004364/1.137, allocations: 2.129 MB / 0.5532 GB, free: 75.68 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 6.523e-06/1.137, allocations: 1.594 kB / 0.5532 GB, free: 75.68 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003131/1.14, allocations: 1.419 MB / 0.5546 GB, free: 74.93 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002854/1.143, allocations: 321.6 kB / 0.5549 GB, free: 74.85 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008851/1.152, allocations: 3.654 MB / 0.5584 GB, free: 73.24 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001734/1.154, allocations: 1.843 MB / 0.5602 GB, free: 72.14 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008381/1.155, allocations: 113.8 kB / 0.5603 GB, free: 72.04 MB / 395.1 MB Notification: Performance of SimCode: time 1.102e-06/1.155, allocations: 4 kB / 0.5604 GB, free: 72.03 MB / 395.1 MB Notification: Performance of Templates: time 0.0959/1.25, allocations: 65.54 MB / 0.6244 GB, free: 11.63 MB / 395.1 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