Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.0009929/0.0009929, allocations: 180.6 kB / 8.479 MB, free: 1.879 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.088/1.088, allocations: 205.2 MB / 214.1 MB, free: 5.164 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009042/0.0009043, allocations: 86.81 kB / 262.1 MB, free: 5.203 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.61e-06/5.62e-06, allocations: 4 kB / 315 MB, free: 41.49 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06559/0.06561, allocations: 47.57 MB / 362.5 MB, free: 9.953 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2245/0.2902, allocations: 104.2 MB / 466.8 MB, free: 4.066 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000199/0.2904, allocations: 88.16 kB / 466.8 MB, free: 4.051 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.09712/0.3875, allocations: 38.77 MB / 0.4938 GB, free: 5.016 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001003/0.3877, allocations: 47.94 kB / 0.4938 GB, free: 4.969 MB / 346.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.002812/0.3905, allocations: 1.738 MB / 0.4955 GB, free: 3.285 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.3905, allocations: 12.02 kB / 0.4955 GB, free: 3.273 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006165/0.3912, allocations: 233.4 kB / 0.4957 GB, free: 3.043 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002177/0.3933, allocations: 1.274 MB / 0.497 GB, free: 2.012 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.795e-05/0.3934, allocations: 48 kB / 0.497 GB, free: 1.965 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002022/0.3936, allocations: 93.78 kB / 0.4971 GB, free: 1.875 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002324/0.3959, allocations: 1.491 MB / 0.4986 GB, free: 456 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002548/0.3985, allocations: 1.754 MB / 0.5003 GB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.488e-05/0.3986, allocations: 7.906 kB / 0.5003 GB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001178/0.3987, allocations: 3.984 kB / 0.5003 GB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.32e-05/0.3987, allocations: 70.92 kB / 0.5004 GB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008174/0.4069, allocations: 6.577 MB / 0.5068 GB, free: 7.664 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004904/0.4074, allocations: 383.2 kB / 0.5072 GB, free: 7.285 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003413/0.4078, allocations: 270 kB / 0.5074 GB, free: 7.02 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002263/0.41, allocations: 1.432 MB / 0.5088 GB, free: 5.539 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.4101, allocations: 46.48 kB / 0.5089 GB, free: 5.484 MB / 362.7 MB Notification: Performance of pre-optimization done (n=38): time 3.065e-06/0.4101, allocations: 4 kB / 0.5089 GB, free: 5.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=54): time 0.004459/0.4146, allocations: 2.484 MB / 0.5113 GB, free: 2.93 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.716e-05/0.4146, allocations: 59.84 kB / 0.5113 GB, free: 2.859 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001393/0.416, allocations: 1.18 MB / 0.5125 GB, free: 1.672 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.029e-05/0.416, allocations: 29.7 kB / 0.5125 GB, free: 1.637 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004502/0.4165, allocations: 0.8643 MB / 0.5134 GB, free: 0.7578 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001417/0.4167, allocations: 205.3 kB / 0.5136 GB, free: 0.5547 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.238e-05/0.4167, allocations: 0 / 0.5136 GB, free: 0.5547 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.4169, allocations: 374.1 kB / 0.5139 GB, free: 188 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006141/0.4175, allocations: 463.8 kB / 0.5144 GB, free: 15.73 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001081/0.4186, allocations: 1.371 MB / 0.5157 GB, free: 13.9 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008888/0.4195, allocations: 0.7461 MB / 0.5164 GB, free: 13.15 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.287e-06/0.4195, allocations: 8 kB / 0.5164 GB, free: 13.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.002576/0.4221, allocations: 1.837 MB / 0.5182 GB, free: 11.29 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.4221, allocations: 7.938 kB / 0.5182 GB, free: 11.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.773e-05/0.4221, allocations: 36 kB / 0.5183 GB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005092/0.4226, allocations: 230.5 kB / 0.5185 GB, free: 11.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001081/0.4237, allocations: 371.3 kB / 0.5188 GB, free: 10.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001399/0.4251, allocations: 1.634 MB / 0.5204 GB, free: 8.891 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001002/0.4262, allocations: 87.61 kB / 0.5205 GB, free: 8.805 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/0.4263, allocations: 95.98 kB / 0.5206 GB, free: 8.711 MB / 378.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.0001897/0.4265, allocations: 188.2 kB / 0.5208 GB, free: 8.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000166/0.4266, allocations: 134.3 kB / 0.5209 GB, free: 8.387 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00158/0.4282, allocations: 1 MB / 0.5219 GB, free: 7.359 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.4283, allocations: 8 kB / 0.5219 GB, free: 7.352 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.4283, allocations: 0 / 0.5219 GB, free: 7.352 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.4283, allocations: 3.984 kB / 0.5219 GB, free: 7.348 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004368/0.4327, allocations: 2.919 MB / 0.5248 GB, free: 4.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.074e-05/0.4327, allocations: 7.984 kB / 0.5248 GB, free: 4.312 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003998/0.4331, allocations: 88.02 kB / 0.5249 GB, free: 4.227 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006136/0.4337, allocations: 222.8 kB / 0.5251 GB, free: 4 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.95e-05/0.4338, allocations: 15.98 kB / 0.5251 GB, free: 3.984 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003152/0.4369, allocations: 3.474 MB / 0.5285 GB, free: 280 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001658/0.4386, allocations: 1.873 MB / 0.5303 GB, free: 14.27 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002052/0.4407, allocations: 1.764 MB / 0.532 GB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004051/0.4411, allocations: 283.4 kB / 0.5323 GB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001822/0.4413, allocations: 4 kB / 0.5323 GB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000596/0.4419, allocations: 27.97 kB / 0.5323 GB, free: 12.02 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.12e-05/0.442, allocations: 39.84 kB / 0.5324 GB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.226e-05/0.442, allocations: 24 kB / 0.5324 GB, free: 11.96 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.001059/0.4431, allocations: 0.8484 MB / 0.5332 GB, free: 11.11 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001295/0.4444, allocations: 347.9 kB / 0.5335 GB, free: 10.77 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.000465/0.4449, allocations: 362 kB / 0.5339 GB, free: 10.41 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001814/0.4467, allocations: 1.424 MB / 0.5353 GB, free: 8.938 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4467, allocations: 4 kB / 0.5353 GB, free: 8.934 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001033/0.4477, allocations: 0.7403 MB / 0.536 GB, free: 8.152 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001296/0.449, allocations: 301 kB / 0.5363 GB, free: 7.859 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003652/0.4527, allocations: 2.366 MB / 0.5386 GB, free: 5.391 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001302/0.454, allocations: 1.603 MB / 0.5402 GB, free: 3.758 MB / 394.7 MB Notification: Performance of SimCode: time 2.51e-07/0.454, allocations: 0 / 0.5402 GB, free: 3.758 MB / 394.7 MB Notification: Performance of Templates: time 0.02848/0.4825, allocations: 16.59 MB / 0.5564 GB, free: 3.141 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad_res.mat","/var/lib/jenkins/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_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches