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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002457/0.002461, allocations: 186.3 kB / 16.4 MB, free: 5.75 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.989/1.989, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001128/0.001127, allocations: 95.22 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003757/0.0003757, allocations: 8 kB / 327 MB, free: 196 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3306, allocations: 47.57 MB / 374.5 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1702/0.5008, allocations: 105 MB / 479.6 MB, free: 7.664 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00036/0.5012, allocations: 87.95 kB / 479.7 MB, free: 7.578 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4292/0.9305, allocations: 39.51 MB / 0.507 GB, free: 97.79 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.826e-06/0.9305, allocations: 0 / 0.507 GB, free: 97.79 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000159/0.9307, allocations: 43.53 kB / 0.5071 GB, free: 97.78 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.006582/0.9373, allocations: 1.957 MB / 0.509 GB, free: 96.8 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.9374, allocations: 11.56 kB / 0.509 GB, free: 96.8 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001463/0.9388, allocations: 240.8 kB / 0.5092 GB, free: 96.69 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003917/0.9428, allocations: 1.283 MB / 0.5105 GB, free: 96.24 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001055/0.943, allocations: 115.2 kB / 0.5106 GB, free: 96.19 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003744/0.9433, allocations: 150.5 kB / 0.5107 GB, free: 96.14 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005078/0.9484, allocations: 1.983 MB / 0.5126 GB, free: 95.2 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.024e-05/0.9486, allocations: 3.938 kB / 0.5126 GB, free: 95.2 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002428/0.9488, allocations: 67.67 kB / 0.5127 GB, free: 95.15 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001031/0.9489, allocations: 76.28 kB / 0.5128 GB, free: 95.14 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004629/0.9536, allocations: 1.579 MB / 0.5143 GB, free: 94.54 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01572/0.9694, allocations: 6.865 MB / 0.521 GB, free: 90.49 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001369/0.9708, allocations: 494.6 kB / 0.5215 GB, free: 90.31 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004538/0.9754, allocations: 1.469 MB / 0.5229 GB, free: 89.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.9755, allocations: 35.53 kB / 0.523 GB, free: 89.46 MB / 378.7 MB Notification: Performance of pre-optimization done (n=38): time 3.927e-06/0.9755, allocations: 0 / 0.523 GB, free: 89.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=54): time 0.01156/0.9871, allocations: 3.128 MB / 0.526 GB, free: 87.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003062/0.9902, allocations: 2.204 MB / 0.5282 GB, free: 85.99 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002837/0.9931, allocations: 1.394 MB / 0.5295 GB, free: 84.73 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001466/0.9933, allocations: 37.7 kB / 0.5296 GB, free: 84.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006902/0.994, allocations: 1.007 MB / 0.5306 GB, free: 83.68 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002335/0.9942, allocations: 201.3 kB / 0.5308 GB, free: 83.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001242/0.9944, allocations: 32 kB / 0.5308 GB, free: 83.45 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.9945, allocations: 370.8 kB / 0.5311 GB, free: 83.08 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001137/0.9956, allocations: 0.4997 MB / 0.5316 GB, free: 82.58 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001467/0.9971, allocations: 1.403 MB / 0.533 GB, free: 80.72 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001618/0.9988, allocations: 0.7657 MB / 0.5337 GB, free: 79.95 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-05/0.9988, allocations: 8 kB / 0.5337 GB, free: 79.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.004693/1.004, allocations: 1.993 MB / 0.5357 GB, free: 77.94 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.07e-05/1.004, allocations: 20 kB / 0.5357 GB, free: 77.92 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.884e-05/1.004, allocations: 32 kB / 0.5357 GB, free: 77.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008555/1.005, allocations: 242.3 kB / 0.536 GB, free: 77.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002184/1.007, allocations: 379.3 kB / 0.5363 GB, free: 77.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002033/1.009, allocations: 1.768 MB / 0.5381 GB, free: 75.37 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002303/1.011, allocations: 123.5 kB / 0.5382 GB, free: 75.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002401/1.011, allocations: 92 kB / 0.5383 GB, free: 75.16 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.001356/1.013, allocations: 0.5866 MB / 0.5388 GB, free: 74.56 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003865/1.013, allocations: 154.1 kB / 0.539 GB, free: 74.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002765/1.016, allocations: 1.047 MB / 0.54 GB, free: 73.34 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/1.016, allocations: 7.984 kB / 0.54 GB, free: 73.34 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/1.016, allocations: 8 kB / 0.54 GB, free: 73.33 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/1.016, allocations: 0 / 0.54 GB, free: 73.33 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007137/1.023, allocations: 3.1 MB / 0.5431 GB, free: 70.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/1.023, allocations: 4 kB / 0.5431 GB, free: 70.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007016/1.024, allocations: 92.48 kB / 0.5431 GB, free: 70.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001003/1.025, allocations: 234.7 kB / 0.5434 GB, free: 69.8 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.324e-05/1.025, allocations: 8 kB / 0.5434 GB, free: 69.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004795/1.03, allocations: 3.81 MB / 0.5471 GB, free: 65.73 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002548/1.032, allocations: 2.034 MB / 0.5491 GB, free: 63.54 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003601/1.036, allocations: 1.823 MB / 0.5509 GB, free: 61.56 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009161/1.037, allocations: 295.1 kB / 0.5511 GB, free: 61.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002785/1.037, allocations: 19.98 kB / 0.5512 GB, free: 61.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001158/1.039, allocations: 43.95 kB / 0.5512 GB, free: 61.19 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001758/1.039, allocations: 55.98 kB / 0.5513 GB, free: 61.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.666e-05/1.039, allocations: 23.98 kB / 0.5513 GB, free: 61.11 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001996/1.041, allocations: 1.027 MB / 0.5523 GB, free: 60.09 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.81e-07/1.041, allocations: 0 / 0.5523 GB, free: 60.09 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002251/1.043, allocations: 411.9 kB / 0.5527 GB, free: 59.69 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.0005702/1.044, allocations: 362.9 kB / 0.553 GB, free: 59.37 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003196/1.047, allocations: 1.536 MB / 0.5545 GB, free: 57.79 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/1.047, allocations: 0 / 0.5545 GB, free: 57.79 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001633/1.049, allocations: 0.8073 MB / 0.5553 GB, free: 56.94 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00267/1.051, allocations: 379 kB / 0.5557 GB, free: 56.57 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006226/1.058, allocations: 3.659 MB / 0.5593 GB, free: 52.82 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001191/1.059, allocations: 1.491 MB / 0.5607 GB, free: 51.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005496/1.059, allocations: 115.4 kB / 0.5608 GB, free: 51.19 MB / 378.7 MB Notification: Performance of SimCode: time 1.182e-06/1.059, allocations: 4 kB / 0.5608 GB, free: 51.18 MB / 378.7 MB Notification: Performance of Templates: time 0.06454/1.124, allocations: 45.39 MB / 0.6051 GB, free: 5.734 MB / 378.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