Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.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.SynchronousInductionMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeed.phi|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeed.phi|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator") [: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.001641/0.001641, allocations: 176.7 kB / 8.151 MB, free: 2.211 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.623/1.623, allocations: 205.2 MB / 213.7 MB, free: 13.86 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.001245/0.001244, allocations: 90.69 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.032e-05/1.048e-05, allocations: 4 kB / 314.3 MB, free: 9.031 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.2261, allocations: 47.56 MB / 361.8 MB, free: 45.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1714/0.3976, allocations: 112.8 MB / 474.6 MB, free: 5.246 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003529/0.398, allocations: 87.94 kB / 474.7 MB, free: 5.16 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.4863/0.8843, allocations: 81.96 MB / 0.5436 GB, free: 94.22 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002612/0.8846, allocations: 63.59 kB / 0.5437 GB, free: 94.21 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: 656 * Number of variables: 656 Notification: Performance of Generate backend data structure: time 0.00961/0.8943, allocations: 2.623 MB / 0.5462 GB, free: 92.5 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.8943, allocations: 13.28 kB / 0.5462 GB, free: 92.49 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002764/0.8971, allocations: 427.4 kB / 0.5466 GB, free: 92.29 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006272/0.9034, allocations: 1.851 MB / 0.5484 GB, free: 91.06 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001384/0.9036, allocations: 85.28 kB / 0.5485 GB, free: 91.06 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006042/0.9042, allocations: 156.2 kB / 0.5487 GB, free: 91.05 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007368/0.9116, allocations: 2.354 MB / 0.551 GB, free: 89.93 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007172/0.9188, allocations: 2.818 MB / 0.5537 GB, free: 87.08 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.972e-05/0.9189, allocations: 4 kB / 0.5537 GB, free: 87.07 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000328/0.9193, allocations: 7.906 kB / 0.5537 GB, free: 87.07 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001116/0.9194, allocations: 108.9 kB / 0.5538 GB, free: 86.96 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.024/0.9434, allocations: 10.04 MB / 0.5636 GB, free: 76.69 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00226/0.9457, allocations: 0.9402 MB / 0.5646 GB, free: 75.74 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001951/0.9477, allocations: 0.9225 MB / 0.5655 GB, free: 74.82 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004195/0.9481, allocations: 219 kB / 0.5657 GB, free: 74.57 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/0.9482, allocations: 47.56 kB / 0.5657 GB, free: 74.52 MB / 394.7 MB Notification: Performance of pre-optimization done (n=120): time 3.717e-06/0.9482, allocations: 0 / 0.5657 GB, free: 74.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=145): time 0.01726/0.9655, allocations: 5.491 MB / 0.5711 GB, free: 69 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/0.9655, allocations: 72.72 kB / 0.5712 GB, free: 68.91 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002998/0.9686, allocations: 1.379 MB / 0.5725 GB, free: 67.53 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002122/0.9688, allocations: 25.7 kB / 0.5725 GB, free: 67.5 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004144/0.9692, allocations: 0.9434 MB / 0.5734 GB, free: 66.54 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004846/0.9697, allocations: 488.7 kB / 0.5739 GB, free: 66.05 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001393/0.9699, allocations: 0 / 0.5739 GB, free: 66.05 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.97, allocations: 374.8 kB / 0.5743 GB, free: 65.68 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001865/0.9719, allocations: 0.8083 MB / 0.5751 GB, free: 64.87 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002075/0.974, allocations: 1.28 MB / 0.5763 GB, free: 63.38 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002273/0.9763, allocations: 1.017 MB / 0.5773 GB, free: 62.36 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.528e-06/0.9763, allocations: 4 kB / 0.5773 GB, free: 62.36 MB / 394.7 MB Notification: Performance of matching and sorting (n=220) (initialization): time 0.006767/0.9831, allocations: 2.607 MB / 0.5799 GB, free: 59.74 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.9831, allocations: 8 kB / 0.5799 GB, free: 59.73 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.793e-05/0.9832, allocations: 19.98 kB / 0.5799 GB, free: 59.71 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002244/0.9854, allocations: 0.5719 MB / 0.5804 GB, free: 59.14 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003051/0.9885, allocations: 403.4 kB / 0.5808 GB, free: 58.74 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01071/0.9992, allocations: 4.955 MB / 0.5857 GB, free: 53.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001869/1.001, allocations: 87.83 kB / 0.5857 GB, free: 53.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002/1.001, allocations: 75.98 kB / 0.5858 GB, free: 53.52 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (189): * Single equations (assignments): 185 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: 1 {(8,59.4%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004305/1.002, allocations: 73.14 kB / 0.5859 GB, free: 53.44 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001087/1.003, allocations: 185.8 kB / 0.5861 GB, free: 53.25 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009877/1.013, allocations: 2.439 MB / 0.5884 GB, free: 50.8 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.079e-05/1.013, allocations: 16 kB / 0.5885 GB, free: 50.78 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.896e-05/1.013, allocations: 7.938 kB / 0.5885 GB, free: 50.77 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.341e-05/1.013, allocations: 7.969 kB / 0.5885 GB, free: 50.77 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01973/1.033, allocations: 4.991 MB / 0.5933 GB, free: 45.71 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.072e-05/1.033, allocations: 7.938 kB / 0.5934 GB, free: 45.71 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003183/1.036, allocations: 256.1 kB / 0.5936 GB, free: 45.46 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00459/1.041, allocations: 0.6466 MB / 0.5942 GB, free: 44.8 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000392/1.041, allocations: 19.89 kB / 0.5943 GB, free: 44.79 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01723/1.058, allocations: 6.496 MB / 0.6006 GB, free: 38.06 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-05/1.058, allocations: 8 kB / 0.6006 GB, free: 38.05 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01207/1.07, allocations: 3.899 MB / 0.6044 GB, free: 34 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001919/1.072, allocations: 454.7 kB / 0.6048 GB, free: 33.54 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006261/1.073, allocations: 11.98 kB / 0.6049 GB, free: 33.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00289/1.076, allocations: 83.91 kB / 0.6049 GB, free: 33.44 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003728/1.076, allocations: 89.09 kB / 0.605 GB, free: 33.36 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002277/1.077, allocations: 51.92 kB / 0.6051 GB, free: 33.3 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.002945/1.08, allocations: 1.044 MB / 0.6061 GB, free: 32.27 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004213/1.084, allocations: 0.5195 MB / 0.6066 GB, free: 31.75 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 5 (smee.phiMechanical,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[2],smee.idq_dr[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,75.0%) 23,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001091/1.085, allocations: 325.7 kB / 0.6069 GB, free: 31.45 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.009576/1.095, allocations: 2.383 MB / 0.6092 GB, free: 29.02 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.989e-06/1.095, allocations: 0 / 0.6092 GB, free: 29.02 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005715/1.1, allocations: 1.466 MB / 0.6107 GB, free: 27.52 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003197/1.104, allocations: 309.5 kB / 0.611 GB, free: 27.22 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01297/1.117, allocations: 4.226 MB / 0.6151 GB, free: 22.89 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003452/1.12, allocations: 2.177 MB / 0.6172 GB, free: 20.68 MB / 394.7 MB Notification: Performance of SimCode: time 1.874e-06/1.12, allocations: 0 / 0.6172 GB, free: 20.68 MB / 394.7 MB Notification: Performance of Templates: time 0.2308/1.351, allocations: 55.78 MB / 0.6717 GB, free: 137.5 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMEE_Generator/SMEE_Generator.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches