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_Initialize.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_Initialize,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_Initialize") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize,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_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001479/0.001479, 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 1.929/1.929, allocations: 205.2 MB / 219.4 MB, free: 14.29 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.001084/0.001084, allocations: 82.72 kB / 267.5 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.314e-05/3.325e-05, allocations: 4 kB / 321.5 MB, free: 17.85 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09548/0.09554, allocations: 47.57 MB / 369.1 MB, free: 2.207 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4281/0.5237, allocations: 102.6 MB / 471.7 MB, free: 6.902 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003056/0.5241, allocations: 89.33 kB / 471.8 MB, free: 6.855 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1772/0.7013, allocations: 41.07 MB / 0.5008 GB, free: 15.16 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.795e-06/0.7014, allocations: 0 / 0.5008 GB, free: 15.16 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002347/0.7016, allocations: 51.94 kB / 0.5009 GB, free: 15.11 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.00708/0.7087, allocations: 1.984 MB / 0.5028 GB, free: 13.08 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/0.7088, allocations: 12.03 kB / 0.5028 GB, free: 13.07 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00156/0.7104, allocations: 261.2 kB / 0.5031 GB, free: 12.81 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004774/0.7152, allocations: 1.412 MB / 0.5044 GB, free: 11.34 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001864/0.7154, allocations: 135.6 kB / 0.5046 GB, free: 11.21 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006206/0.716, allocations: 183.9 kB / 0.5047 GB, free: 11.03 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006839/0.7229, allocations: 2.33 MB / 0.507 GB, free: 8.613 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.62e-05/0.723, allocations: 7.906 kB / 0.507 GB, free: 8.605 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003116/0.7234, allocations: 83.97 kB / 0.5071 GB, free: 8.523 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001458/0.7235, allocations: 79.48 kB / 0.5072 GB, free: 8.445 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006503/0.73, allocations: 1.853 MB / 0.509 GB, free: 6.59 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02137/0.7515, allocations: 7.487 MB / 0.5163 GB, free: 14.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003372/0.7549, allocations: 1.28 MB / 0.5176 GB, free: 13.53 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002394/0.7573, allocations: 0.8022 MB / 0.5183 GB, free: 12.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004447/0.7578, allocations: 137.7 kB / 0.5185 GB, free: 12.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.501e-05/0.7579, allocations: 47.81 kB / 0.5185 GB, free: 12.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=87): time 3.486e-06/0.7579, allocations: 0 / 0.5185 GB, free: 12.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=103): time 0.01362/0.7715, allocations: 4.09 MB / 0.5225 GB, free: 8.367 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.079e-05/0.7716, allocations: 68.34 kB / 0.5226 GB, free: 8.285 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002926/0.7746, allocations: 1.18 MB / 0.5237 GB, free: 7.098 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002785/0.7749, allocations: 45.7 kB / 0.5238 GB, free: 7.047 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008706/0.7758, allocations: 0.8554 MB / 0.5246 GB, free: 6.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005609/0.7764, allocations: 366.8 kB / 0.525 GB, free: 5.816 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.7765, allocations: 20 kB / 0.525 GB, free: 5.797 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001944/0.7767, allocations: 358.8 kB / 0.5253 GB, free: 5.438 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001645/0.7784, allocations: 0.6078 MB / 0.5259 GB, free: 4.832 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001903/0.7803, allocations: 0.8909 MB / 0.5268 GB, free: 3.82 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001966/0.7823, allocations: 0.7505 MB / 0.5275 GB, free: 3.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.426e-06/0.7823, allocations: 0 / 0.5275 GB, free: 3.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.007096/0.7894, allocations: 2.298 MB / 0.5298 GB, free: 0.7539 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.564e-05/0.7895, allocations: 19.88 kB / 0.5298 GB, free: 0.7344 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.365e-05/0.7895, allocations: 8 kB / 0.5298 GB, free: 0.7266 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2775/1.067, allocations: 0.7671 MB / 0.5305 GB, free: 106 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001846/1.069, allocations: 232.8 kB / 0.5308 GB, free: 106 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01797/1.087, allocations: 8.555 MB / 0.5391 GB, free: 103.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001895/1.089, allocations: 85.06 kB / 0.5392 GB, free: 103.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001664/1.089, allocations: 49.38 kB / 0.5392 GB, free: 103.4 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(6,77.8%) 35} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003429/1.089, allocations: 167 kB / 0.5394 GB, free: 103.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003841/1.09, allocations: 148 kB / 0.5395 GB, free: 103.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005042/1.095, allocations: 1.867 MB / 0.5414 GB, free: 103.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.776e-05/1.095, allocations: 10.14 kB / 0.5414 GB, free: 103.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/1.095, allocations: 6.125 kB / 0.5414 GB, free: 103.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.059e-05/1.095, allocations: 5.797 kB / 0.5414 GB, free: 103.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01131/1.106, allocations: 3.966 MB / 0.5453 GB, free: 102.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.146e-05/1.106, allocations: 2.312 kB / 0.5453 GB, free: 102.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001713/1.108, allocations: 203.2 kB / 0.5454 GB, free: 102.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002119/1.11, allocations: 465.3 kB / 0.5459 GB, free: 102.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001641/1.11, allocations: 30.3 kB / 0.5459 GB, free: 102.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008314/1.119, allocations: 6.173 MB / 0.5519 GB, free: 98.87 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/1.119, allocations: 2.469 kB / 0.552 GB, free: 98.87 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006363/1.125, allocations: 2.869 MB / 0.5548 GB, free: 97.69 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001138/1.126, allocations: 361.3 kB / 0.5551 GB, free: 97.45 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002998/1.127, allocations: 29.5 kB / 0.5551 GB, free: 97.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001353/1.128, allocations: 71.56 kB / 0.5552 GB, free: 97.42 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002897/1.128, allocations: 89.94 kB / 0.5553 GB, free: 97.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000107/1.128, allocations: 32.31 kB / 0.5553 GB, free: 97.41 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001824/1.13, allocations: 0.9084 MB / 0.5562 GB, free: 97.03 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.41e-07/1.13, allocations: 0 / 0.5562 GB, free: 97.03 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002146/1.132, allocations: 472 kB / 0.5566 GB, free: 96.98 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 84 * 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.0006068/1.133, allocations: 296.3 kB / 0.5569 GB, free: 96.87 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00485/1.138, allocations: 1.997 MB / 0.5589 GB, free: 96.04 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/1.138, allocations: 0 / 0.5589 GB, free: 96.04 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002894/1.141, allocations: 1.33 MB / 0.5602 GB, free: 95.31 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002732/1.144, allocations: 360.1 kB / 0.5605 GB, free: 95.21 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007526/1.151, allocations: 3.341 MB / 0.5638 GB, free: 93.81 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001532/1.153, allocations: 1.715 MB / 0.5655 GB, free: 92.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000724/1.154, allocations: 108 kB / 0.5656 GB, free: 92.91 MB / 410.7 MB Notification: Performance of SimCode: time 1.423e-06/1.154, allocations: 0 / 0.5656 GB, free: 92.91 MB / 410.7 MB Notification: Performance of Templates: time 0.07517/1.229, allocations: 50.64 MB / 0.615 GB, free: 63.15 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize_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_Initialize/AIMC_Initialize.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches