Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.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.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=800,variableFilter="time|smee.is.1.|smee.is.2.|constantSpeed.phi",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=800,variableFilter="time|smee.is.1.|smee.is.2.|constantSpeed.phi",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad") [: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.001533/0.001533, allocations: 181.7 kB / 8.155 MB, free: 2.16 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.603/1.603, allocations: 205.2 MB / 213.8 MB, free: 13.84 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.001274/0.001273, allocations: 99.03 kB / 261.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.885e-06/7.905e-06, allocations: 0 / 314.3 MB, free: 9.031 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.23/0.23, allocations: 47.56 MB / 361.8 MB, free: 45.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1965/0.4265, allocations: 104.2 MB / 466.1 MB, free: 13.77 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005639/0.4272, allocations: 83.95 kB / 466.1 MB, free: 13.69 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.2762/0.7034, allocations: 38.77 MB / 0.4931 GB, free: 6.805 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002299/0.7037, allocations: 47.94 kB / 0.4931 GB, free: 6.758 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: 401 * Number of variables: 401 Notification: Performance of Generate backend data structure: time 0.006831/0.7105, allocations: 1.74 MB / 0.4948 GB, free: 4.965 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.542e-05/0.7106, allocations: 8.031 kB / 0.4948 GB, free: 4.957 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001748/0.7124, allocations: 237.4 kB / 0.4951 GB, free: 4.723 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00496/0.7174, allocations: 1.273 MB / 0.4963 GB, free: 3.387 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00013/0.7176, allocations: 48 kB / 0.4963 GB, free: 3.34 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006655/0.7183, allocations: 99.89 kB / 0.4964 GB, free: 3.242 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005644/0.7239, allocations: 1.486 MB / 0.4979 GB, free: 1.754 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1925/0.9164, allocations: 1.749 MB / 0.4996 GB, free: 62.35 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001091/0.9166, allocations: 6.281 kB / 0.4996 GB, free: 62.35 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002142/0.9168, allocations: 5.281 kB / 0.4996 GB, free: 62.35 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.727e-05/0.917, allocations: 73.91 kB / 0.4997 GB, free: 62.34 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01517/0.9321, allocations: 6.583 MB / 0.5061 GB, free: 60.18 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008769/0.9331, allocations: 384.2 kB / 0.5065 GB, free: 60.17 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005679/0.9337, allocations: 264.2 kB / 0.5067 GB, free: 60.16 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004116/0.9378, allocations: 1.425 MB / 0.5081 GB, free: 59.75 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.9379, allocations: 44.47 kB / 0.5082 GB, free: 59.71 MB / 394.7 MB Notification: Performance of pre-optimization done (n=38): time 3.517e-06/0.9379, allocations: 0 / 0.5082 GB, free: 59.71 MB / 394.7 MB Notification: Performance of matching and sorting (n=54): time 0.008316/0.9462, allocations: 2.5 MB / 0.5106 GB, free: 59.12 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.777e-05/0.9463, allocations: 58.06 kB / 0.5107 GB, free: 59.05 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002458/0.9488, allocations: 1.18 MB / 0.5118 GB, free: 58.89 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001104/0.9489, allocations: 25.7 kB / 0.5118 GB, free: 58.86 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004523/0.9494, allocations: 0.8628 MB / 0.5127 GB, free: 58.3 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001996/0.9496, allocations: 203 kB / 0.5129 GB, free: 58.19 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.446e-05/0.9497, allocations: 2.25 kB / 0.5129 GB, free: 58.19 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.9498, allocations: 371.9 kB / 0.5132 GB, free: 57.88 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001055/0.9509, allocations: 473.3 kB / 0.5137 GB, free: 57.87 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001556/0.9525, allocations: 1.364 MB / 0.515 GB, free: 56.69 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001777/0.9543, allocations: 0.7487 MB / 0.5157 GB, free: 56.68 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.479e-05/0.9544, allocations: 10.69 kB / 0.5158 GB, free: 56.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.004662/0.959, allocations: 1.764 MB / 0.5175 GB, free: 56.59 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/0.9591, allocations: 6.031 kB / 0.5175 GB, free: 56.59 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.853e-05/0.9592, allocations: 35.75 kB / 0.5175 GB, free: 56.59 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008756/0.96, allocations: 232.7 kB / 0.5177 GB, free: 56.56 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002422/0.9625, allocations: 369.8 kB / 0.5181 GB, free: 56.56 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002271/0.9648, allocations: 1.676 MB / 0.5197 GB, free: 55.36 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001651/0.9665, allocations: 69.66 kB / 0.5198 GB, free: 55.35 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002154/0.9668, allocations: 92.06 kB / 0.5199 GB, free: 55.35 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 148 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (195): * Single equations (assignments): 192 * 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: 1 * 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: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003054/0.9671, allocations: 112.5 kB / 0.52 GB, free: 55.26 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004016/0.9675, allocations: 141.4 kB / 0.5201 GB, free: 55.19 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002893/0.9704, allocations: 0.9949 MB / 0.5211 GB, free: 55.09 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/0.9704, allocations: 2.75 kB / 0.5211 GB, free: 55.09 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.9705, allocations: 3.969 kB / 0.5211 GB, free: 55.09 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/0.9705, allocations: 6.344 kB / 0.5211 GB, free: 55.09 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008073/0.9786, allocations: 2.918 MB / 0.524 GB, free: 54.59 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/0.9786, allocations: 6.5 kB / 0.524 GB, free: 54.59 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007985/0.9794, allocations: 85.94 kB / 0.524 GB, free: 54.59 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001099/0.9806, allocations: 226.5 kB / 0.5243 GB, free: 54.57 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.641e-05/0.9807, allocations: 3.156 kB / 0.5243 GB, free: 54.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004848/0.9855, allocations: 3.481 MB / 0.5277 GB, free: 52.05 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004858/0.9904, allocations: 1.867 MB / 0.5295 GB, free: 50.62 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005533/0.996, allocations: 1.768 MB / 0.5312 GB, free: 49.99 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001416/0.9975, allocations: 282.3 kB / 0.5315 GB, free: 49.83 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001567/0.9991, allocations: 3.188 kB / 0.5315 GB, free: 49.83 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002783/1.002, allocations: 51.78 kB / 0.5315 GB, free: 49.82 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002872/1.002, allocations: 41.95 kB / 0.5316 GB, free: 49.81 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000119/1.002, allocations: 21.47 kB / 0.5316 GB, free: 49.81 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.004751/1.007, allocations: 0.8516 MB / 0.5324 GB, free: 49.7 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.006012/1.013, allocations: 338.5 kB / 0.5327 GB, free: 49.7 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 1 ($STATESET1.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 46 * 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: 2 * 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 {(2,100.0%) 1} * Non-linear torn systems: 1 {3 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007919/1.014, allocations: 350.8 kB / 0.5331 GB, free: 49.59 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003483/1.018, allocations: 1.438 MB / 0.5345 GB, free: 49.21 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/1.018, allocations: 256 / 0.5345 GB, free: 49.21 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001679/1.019, allocations: 0.7376 MB / 0.5352 GB, free: 48.88 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003847/1.023, allocations: 307.1 kB / 0.5355 GB, free: 48.86 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01376/1.037, allocations: 2.417 MB / 0.5379 GB, free: 48.08 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003713/1.041, allocations: 1.598 MB / 0.5394 GB, free: 47.34 MB / 394.7 MB Notification: Performance of SimCode: time 2.004e-06/1.041, allocations: 0 / 0.5394 GB, free: 47.34 MB / 394.7 MB Notification: Performance of Templates: time 0.06965/1.111, allocations: 44.06 MB / 0.5824 GB, free: 33.49 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMPM_NoLoad/SMPM_NoLoad.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches