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_YD.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_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,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_YD") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,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_YD") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00178/0.00178, allocations: 175.6 kB / 8.153 MB, free: 2.215 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.611/1.611, allocations: 205.2 MB / 213.8 MB, free: 13.87 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.001286/0.001286, allocations: 89.34 kB / 261.8 MB, free: 13.64 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.377e-06/9.518e-06, allocations: 0 / 314.3 MB, free: 9.055 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.229, allocations: 47.56 MB / 361.8 MB, free: 45.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1577/0.3867, allocations: 104 MB / 465.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003243/0.3871, allocations: 88.44 kB / 465.9 MB, free: 13.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.3578/0.7449, allocations: 48.3 MB / 0.5021 GB, free: 93.39 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002757/0.7453, allocations: 69.97 kB / 0.5022 GB, free: 93.38 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: 592 * Number of variables: 592 Notification: Performance of Generate backend data structure: time 0.008984/0.7543, allocations: 2.452 MB / 0.5046 GB, free: 92.48 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.7543, allocations: 10.34 kB / 0.5046 GB, free: 92.48 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001923/0.7563, allocations: 334.3 kB / 0.5049 GB, free: 92.32 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005741/0.7621, allocations: 1.742 MB / 0.5066 GB, free: 91.89 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001599/0.7623, allocations: 82.64 kB / 0.5067 GB, free: 91.89 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008609/0.7632, allocations: 136.2 kB / 0.5068 GB, free: 91.88 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007637/0.7708, allocations: 2.443 MB / 0.5092 GB, free: 91.87 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008638/0.7795, allocations: 2.798 MB / 0.512 GB, free: 91.48 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001115/0.7797, allocations: 7.875 kB / 0.512 GB, free: 91.48 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003641/0.78, allocations: 3.656 kB / 0.512 GB, free: 91.48 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001108/0.7802, allocations: 98.47 kB / 0.5121 GB, free: 91.47 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02536/0.8055, allocations: 9.561 MB / 0.5214 GB, free: 89.09 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00245/0.808, allocations: 0.9882 MB / 0.5224 GB, free: 89.07 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00283/0.8109, allocations: 1.166 MB / 0.5235 GB, free: 89.05 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004253/0.8114, allocations: 128.5 kB / 0.5236 GB, free: 88.96 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/0.8114, allocations: 51.5 kB / 0.5237 GB, free: 88.92 MB / 394.7 MB Notification: Performance of pre-optimization done (n=129): time 4.028e-06/0.8114, allocations: 1.875 kB / 0.5237 GB, free: 88.92 MB / 394.7 MB Notification: Performance of matching and sorting (n=145): time 0.01667/0.8281, allocations: 5.415 MB / 0.529 GB, free: 86.94 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/0.8282, allocations: 65.97 kB / 0.529 GB, free: 86.88 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002671/0.8309, allocations: 1.241 MB / 0.5302 GB, free: 86.38 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003426/0.8313, allocations: 26.45 kB / 0.5303 GB, free: 86.35 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003518/0.8317, allocations: 0.7929 MB / 0.531 GB, free: 85.73 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000571/0.8322, allocations: 479.4 kB / 0.5315 GB, free: 85.36 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001375/0.8324, allocations: 0 / 0.5315 GB, free: 85.36 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.8325, allocations: 372.9 kB / 0.5319 GB, free: 85.02 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001994/0.8345, allocations: 0.8663 MB / 0.5327 GB, free: 84.71 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002307/0.8369, allocations: 1.165 MB / 0.5338 GB, free: 84.03 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002402/0.8393, allocations: 1.007 MB / 0.5348 GB, free: 83.67 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.796e-05/0.8394, allocations: 7.906 kB / 0.5348 GB, free: 83.66 MB / 394.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.007574/0.847, allocations: 2.72 MB / 0.5375 GB, free: 82.75 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.847, allocations: 4.125 kB / 0.5375 GB, free: 82.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.591e-05/0.8471, allocations: 15.75 kB / 0.5375 GB, free: 82.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003098/0.8502, allocations: 0.8222 MB / 0.5383 GB, free: 82.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00257/0.8528, allocations: 307.2 kB / 0.5386 GB, free: 82.49 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01546/0.8683, allocations: 8.493 MB / 0.5469 GB, free: 76.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001585/0.8699, allocations: 57.92 kB / 0.547 GB, free: 76.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002219/0.8702, allocations: 59.77 kB / 0.547 GB, free: 76.91 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (152): * Single equations (assignments): 147 * 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 {(6,55.6%) 8,(1,100.0%) 1,(9,33.3%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004092/0.8706, allocations: 61.25 kB / 0.5471 GB, free: 76.88 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005997/0.8712, allocations: 169.3 kB / 0.5472 GB, free: 76.79 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008109/0.8793, allocations: 2.701 MB / 0.5499 GB, free: 75.81 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-05/0.8794, allocations: 18.44 kB / 0.5499 GB, free: 75.81 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-05/0.8794, allocations: 7.094 kB / 0.5499 GB, free: 75.81 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-05/0.8795, allocations: 7.406 kB / 0.5499 GB, free: 75.81 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01603/0.8955, allocations: 5.268 MB / 0.555 GB, free: 73.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.3e-05/0.8956, allocations: 3.281 kB / 0.555 GB, free: 73.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002039/0.8977, allocations: 205.1 kB / 0.5552 GB, free: 73.74 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004168/0.9019, allocations: 0.8714 MB / 0.5561 GB, free: 73.49 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000338/0.9022, allocations: 22.42 kB / 0.5561 GB, free: 73.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01607/0.9183, allocations: 9.893 MB / 0.5658 GB, free: 65.47 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.725e-06/0.9184, allocations: 7.938 kB / 0.5658 GB, free: 65.46 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0098/0.9282, allocations: 4.191 MB / 0.5699 GB, free: 61.69 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001618/0.9299, allocations: 447.7 kB / 0.5703 GB, free: 61.28 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006351/0.9305, allocations: 11.42 kB / 0.5703 GB, free: 61.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001996/0.9326, allocations: 58.2 kB / 0.5704 GB, free: 61.23 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004189/0.933, allocations: 103.1 kB / 0.5705 GB, free: 61.17 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001617/0.9332, allocations: 39.42 kB / 0.5705 GB, free: 61.13 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.002017/0.9352, allocations: 0.9384 MB / 0.5714 GB, free: 60.3 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002888/0.9381, allocations: 0.4958 MB / 0.5719 GB, free: 59.8 MB / 394.7 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: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 97 * 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: 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%) 1,(9,33.3%) 19,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007627/0.9389, allocations: 281.6 kB / 0.5722 GB, free: 59.57 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006607/0.9456, allocations: 2.778 MB / 0.5749 GB, free: 56.99 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/0.9456, allocations: 0 / 0.5749 GB, free: 56.99 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004632/0.9503, allocations: 1.834 MB / 0.5767 GB, free: 55.29 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003713/0.954, allocations: 367.5 kB / 0.577 GB, free: 55 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.013/0.9671, allocations: 4.286 MB / 0.5812 GB, free: 51.16 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003383/0.9705, allocations: 2.133 MB / 0.5833 GB, free: 49.43 MB / 394.7 MB Notification: Performance of SimCode: time 2.134e-06/0.9706, allocations: 0 / 0.5833 GB, free: 49.43 MB / 394.7 MB Notification: Performance of Templates: time 0.261/1.232, allocations: 86.52 MB / 0.6678 GB, free: 142.4 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD_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_YD/AIMC_YD.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches