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.001505/0.001505, allocations: 182.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.058/2.058, allocations: 205.2 MB / 219.4 MB, free: 14.22 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.001064/0.001064, allocations: 86.64 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.024e-05/3.039e-05, allocations: 7.984 kB / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0921/0.09215, allocations: 47.57 MB / 369.1 MB, free: 2.199 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4375/0.5298, allocations: 103.7 MB / 472.8 MB, free: 5.82 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003098/0.5301, allocations: 89.36 kB / 472.8 MB, free: 5.777 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1993/0.7294, allocations: 44.54 MB / 0.5053 GB, free: 10.57 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.7295, allocations: 0 / 0.5053 GB, free: 10.57 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002483/0.7298, allocations: 55.94 kB / 0.5053 GB, free: 10.52 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.008216/0.738, allocations: 2.189 MB / 0.5074 GB, free: 8.273 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.546e-05/0.7381, allocations: 8.031 kB / 0.5075 GB, free: 8.266 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001739/0.7398, allocations: 288.9 kB / 0.5077 GB, free: 7.98 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005281/0.7451, allocations: 1.538 MB / 0.5092 GB, free: 6.383 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000217/0.7454, allocations: 148 kB / 0.5094 GB, free: 6.234 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007602/0.7462, allocations: 211.8 kB / 0.5096 GB, free: 6.027 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008721/0.7549, allocations: 2.64 MB / 0.5122 GB, free: 3.25 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001332/0.7551, allocations: 7.984 kB / 0.5122 GB, free: 3.242 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004644/0.7556, allocations: 84 kB / 0.5122 GB, free: 3.16 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001885/0.7558, allocations: 91.88 kB / 0.5123 GB, free: 3.07 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007328/0.7631, allocations: 2.136 MB / 0.5144 GB, free: 0.9336 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02517/0.7884, allocations: 8.446 MB / 0.5227 GB, free: 8.262 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003781/0.7922, allocations: 1.767 MB / 0.5244 GB, free: 6.371 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002767/0.795, allocations: 0.9606 MB / 0.5253 GB, free: 5.406 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000462/0.7955, allocations: 142.5 kB / 0.5255 GB, free: 5.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.518e-05/0.7956, allocations: 51.5 kB / 0.5255 GB, free: 5.191 MB / 410.7 MB Notification: Performance of pre-optimization done (n=107): time 4.288e-06/0.7956, allocations: 0 / 0.5255 GB, free: 5.191 MB / 410.7 MB Notification: Performance of matching and sorting (n=123): time 0.2927/1.088, allocations: 5.233 MB / 0.5306 GB, free: 103.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/1.088, allocations: 66.48 kB / 0.5307 GB, free: 103.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003442/1.092, allocations: 1.303 MB / 0.532 GB, free: 103.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003214/1.092, allocations: 49.23 kB / 0.532 GB, free: 103.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007856/1.093, allocations: 0.9314 MB / 0.5329 GB, free: 103.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005438/1.094, allocations: 423.2 kB / 0.5333 GB, free: 102.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001266/1.094, allocations: 27.44 kB / 0.5333 GB, free: 102.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001393/1.094, allocations: 366.2 kB / 0.5337 GB, free: 102.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001802/1.096, allocations: 0.6963 MB / 0.5344 GB, free: 102.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002008/1.098, allocations: 1.004 MB / 0.5354 GB, free: 102.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002233/1.1, allocations: 0.8434 MB / 0.5362 GB, free: 102.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.341e-05/1.1, allocations: 2.469 kB / 0.5362 GB, free: 102.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.00609/1.106, allocations: 2.171 MB / 0.5383 GB, free: 102.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.719e-05/1.106, allocations: 9.578 kB / 0.5383 GB, free: 102.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.797e-05/1.106, allocations: 8.375 kB / 0.5383 GB, free: 102.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00168/1.108, allocations: 406.8 kB / 0.5387 GB, free: 102.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002785/1.111, allocations: 341.2 kB / 0.539 GB, free: 102.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007087/1.118, allocations: 4.629 MB / 0.5436 GB, free: 99.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002254/1.12, allocations: 93.22 kB / 0.5436 GB, free: 99.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002094/1.12, allocations: 56.45 kB / 0.5437 GB, free: 99.52 MB / 410.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 () * 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.00041/1.121, allocations: 182.8 kB / 0.5439 GB, free: 99.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004265/1.121, allocations: 167.4 kB / 0.544 GB, free: 99.32 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005968/1.127, allocations: 2.096 MB / 0.5461 GB, free: 99.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.199e-05/1.127, allocations: 16.59 kB / 0.5461 GB, free: 99.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.239e-05/1.127, allocations: 2.781 kB / 0.5461 GB, free: 99.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.838e-05/1.127, allocations: 11.27 kB / 0.5461 GB, free: 99.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01331/1.141, allocations: 4.523 MB / 0.5505 GB, free: 98.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.396e-05/1.141, allocations: 4.969 kB / 0.5505 GB, free: 98.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002177/1.143, allocations: 239.2 kB / 0.5508 GB, free: 98.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002113/1.145, allocations: 465.9 kB / 0.5512 GB, free: 98.67 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002916/1.145, allocations: 38.47 kB / 0.5512 GB, free: 98.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007954/1.153, allocations: 6.168 MB / 0.5573 GB, free: 94.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.722e-06/1.153, allocations: 9.5 kB / 0.5573 GB, free: 94.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007291/1.161, allocations: 3.297 MB / 0.5605 GB, free: 92.53 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001387/1.162, allocations: 402.2 kB / 0.5609 GB, free: 92.27 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000426/1.163, allocations: 34.48 kB / 0.5609 GB, free: 92.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001742/1.164, allocations: 80.36 kB / 0.561 GB, free: 92.24 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004462/1.165, allocations: 113.9 kB / 0.5611 GB, free: 92.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000144/1.165, allocations: 35.56 kB / 0.5611 GB, free: 92.21 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00233/1.167, allocations: 1.005 MB / 0.5621 GB, free: 91.81 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.275e-06/1.167, allocations: 0 / 0.5621 GB, free: 91.81 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002948/1.17, allocations: 495.4 kB / 0.5626 GB, free: 91.76 MB / 410.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 () * 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.000793/1.171, allocations: 299.7 kB / 0.5629 GB, free: 91.65 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0052/1.176, allocations: 2.205 MB / 0.565 GB, free: 90.64 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/1.176, allocations: 3.25 kB / 0.565 GB, free: 90.64 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003549/1.18, allocations: 1.478 MB / 0.5665 GB, free: 89.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003495/1.184, allocations: 415.5 kB / 0.5669 GB, free: 89.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009695/1.193, allocations: 3.757 MB / 0.5705 GB, free: 88.18 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001794/1.195, allocations: 1.837 MB / 0.5723 GB, free: 87.26 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009376/1.196, allocations: 113 kB / 0.5724 GB, free: 87.26 MB / 410.7 MB Notification: Performance of SimCode: time 1.763e-06/1.196, allocations: 4 kB / 0.5724 GB, free: 87.26 MB / 410.7 MB Notification: Performance of Templates: time 0.1037/1.3, allocations: 67.04 MB / 0.6379 GB, free: 39.68 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