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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00116/0.00116, allocations: 181.3 kB / 17.01 MB, free: 5.125 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.743/1.743, allocations: 205.4 MB / 223.1 MB, free: 9.129 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.0009264/0.0009262, allocations: 93.14 kB / 271.5 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003131/0.0003132, allocations: 7.984 kB / 328.2 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3103/0.3106, allocations: 47.57 MB / 375.8 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1278/0.4385, allocations: 105 MB / 480.9 MB, free: 7.578 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002583/0.4388, allocations: 95.95 kB / 480.9 MB, free: 7.484 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.31/0.7488, allocations: 39.5 MB / 0.5083 GB, free: 98.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.915e-06/0.7488, allocations: 0 / 0.5083 GB, free: 98.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001906/0.749, allocations: 45.41 kB / 0.5083 GB, free: 98.01 MB / 378.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.004576/0.7536, allocations: 1.954 MB / 0.5102 GB, free: 97.04 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.7537, allocations: 11.75 kB / 0.5102 GB, free: 97.04 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00071/0.7544, allocations: 239.9 kB / 0.5104 GB, free: 96.92 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002368/0.7568, allocations: 1.284 MB / 0.5117 GB, free: 96.45 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.887e-05/0.7569, allocations: 112.5 kB / 0.5118 GB, free: 96.4 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002044/0.7571, allocations: 155.8 kB / 0.512 GB, free: 96.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002858/0.7599, allocations: 1.984 MB / 0.5139 GB, free: 95.41 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.514e-05/0.76, allocations: 0 / 0.5139 GB, free: 95.41 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001502/0.7602, allocations: 67.64 kB / 0.514 GB, free: 95.36 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-05/0.7602, allocations: 76.75 kB / 0.514 GB, free: 95.35 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002245/0.7625, allocations: 1.578 MB / 0.5156 GB, free: 94.75 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00824/0.7707, allocations: 6.861 MB / 0.5223 GB, free: 90.7 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006627/0.7714, allocations: 490.5 kB / 0.5227 GB, free: 90.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002393/0.7739, allocations: 1.472 MB / 0.5242 GB, free: 89.71 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.7739, allocations: 34.28 kB / 0.5242 GB, free: 89.67 MB / 378.7 MB Notification: Performance of pre-optimization done (n=38): time 3.025e-06/0.7739, allocations: 0 / 0.5242 GB, free: 89.67 MB / 378.7 MB Notification: Performance of matching and sorting (n=54): time 0.005858/0.7798, allocations: 3.13 MB / 0.5273 GB, free: 88.17 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001907/0.7817, allocations: 2.208 MB / 0.5294 GB, free: 86.06 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001731/0.7834, allocations: 1.397 MB / 0.5308 GB, free: 84.66 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.097e-05/0.7835, allocations: 33.7 kB / 0.5308 GB, free: 84.62 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005093/0.784, allocations: 1.033 MB / 0.5318 GB, free: 83.59 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001318/0.7842, allocations: 205.2 kB / 0.532 GB, free: 83.39 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.553e-05/0.7842, allocations: 32 kB / 0.5321 GB, free: 83.36 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.73e-05/0.7843, allocations: 369.9 kB / 0.5324 GB, free: 82.99 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006044/0.7849, allocations: 0.4918 MB / 0.5329 GB, free: 82.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009307/0.7859, allocations: 1.407 MB / 0.5343 GB, free: 80.64 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000871/0.7868, allocations: 0.7696 MB / 0.535 GB, free: 79.86 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.069e-05/0.7868, allocations: 8 kB / 0.535 GB, free: 79.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.00272/0.7895, allocations: 2.075 MB / 0.537 GB, free: 77.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.089e-05/0.7895, allocations: 20 kB / 0.5371 GB, free: 77.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.581e-05/0.7896, allocations: 32 kB / 0.5371 GB, free: 77.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004843/0.7901, allocations: 234.9 kB / 0.5373 GB, free: 77.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/0.7911, allocations: 379.3 kB / 0.5377 GB, free: 77.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0013/0.7924, allocations: 1.768 MB / 0.5394 GB, free: 75.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001433/0.7938, allocations: 128.2 kB / 0.5395 GB, free: 75.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/0.794, allocations: 95.98 kB / 0.5396 GB, free: 74.98 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 () * Number of clocked 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.001176/0.7951, allocations: 0.5828 MB / 0.5402 GB, free: 74.39 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001917/0.7953, allocations: 146.1 kB / 0.5403 GB, free: 74.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001628/0.797, allocations: 1.055 MB / 0.5414 GB, free: 73.17 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.797, allocations: 8 kB / 0.5414 GB, free: 73.16 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.797, allocations: 0 / 0.5414 GB, free: 73.16 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/0.797, allocations: 0 / 0.5414 GB, free: 73.16 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00447/0.8015, allocations: 3.108 MB / 0.5444 GB, free: 69.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/0.8015, allocations: 4 kB / 0.5444 GB, free: 69.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003681/0.8019, allocations: 95.86 kB / 0.5445 GB, free: 69.87 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005624/0.8025, allocations: 226.6 kB / 0.5447 GB, free: 69.64 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.864e-05/0.8025, allocations: 16 kB / 0.5447 GB, free: 69.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002791/0.8053, allocations: 3.798 MB / 0.5484 GB, free: 65.56 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001455/0.8068, allocations: 2.041 MB / 0.5504 GB, free: 63.38 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002039/0.8088, allocations: 1.815 MB / 0.5522 GB, free: 61.4 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006122/0.8095, allocations: 303.2 kB / 0.5525 GB, free: 61.09 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001502/0.8096, allocations: 16 kB / 0.5525 GB, free: 61.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006196/0.8103, allocations: 48.02 kB / 0.5526 GB, free: 61.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.8104, allocations: 51.81 kB / 0.5526 GB, free: 60.97 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.624e-05/0.8104, allocations: 20 kB / 0.5526 GB, free: 60.95 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001307/0.8117, allocations: 1.031 MB / 0.5536 GB, free: 59.93 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.8117, allocations: 4 kB / 0.5536 GB, free: 59.92 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001573/0.8133, allocations: 411.9 kB / 0.554 GB, free: 59.52 MB / 378.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 () * Number of clocked 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.0004416/0.8138, allocations: 366.1 kB / 0.5544 GB, free: 59.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001966/0.8157, allocations: 1.54 MB / 0.5559 GB, free: 57.62 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.8158, allocations: 0 / 0.5559 GB, free: 57.62 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009406/0.8167, allocations: 0.8157 MB / 0.5567 GB, free: 56.76 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001486/0.8182, allocations: 378.3 kB / 0.557 GB, free: 56.39 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004901/0.8231, allocations: 3.599 MB / 0.5606 GB, free: 52.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009057/0.8241, allocations: 1.499 MB / 0.562 GB, free: 51.18 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001263/0.8254, allocations: 349.7 kB / 0.5623 GB, free: 50.83 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002493/0.8256, allocations: 103.4 kB / 0.5624 GB, free: 50.73 MB / 378.7 MB Notification: Performance of SimCode: time 1.633e-06/0.8256, allocations: 4 kB / 0.5625 GB, free: 50.72 MB / 378.7 MB Notification: Performance of Templates: time 0.03177/0.8574, allocations: 21.38 MB / 0.5833 GB, free: 29.36 MB / 378.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