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.002013/0.002012, allocations: 181.7 kB / 17.41 MB, free: 4.289 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.916/2.916, allocations: 205.4 MB / 223.6 MB, free: 9.016 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.001295/0.001295, allocations: 89.42 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005515/0.0005519, allocations: 8 kB / 328.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5201/0.5207, allocations: 47.56 MB / 375.7 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2173/0.7381, allocations: 105.3 MB / 481 MB, free: 7.324 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004828/0.7387, allocations: 95.95 kB / 481.1 MB, free: 7.23 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6142/1.353, allocations: 39.49 MB / 0.5084 GB, free: 98 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.05e-06/1.353, allocations: 0 / 0.5084 GB, free: 98 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000371/1.353, allocations: 42.56 kB / 0.5084 GB, free: 97.99 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.01061/1.364, allocations: 1.937 MB / 0.5103 GB, free: 97.01 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.233e-05/1.364, allocations: 8.281 kB / 0.5103 GB, free: 97.01 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00288/1.367, allocations: 241.7 kB / 0.5105 GB, free: 96.9 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006351/1.374, allocations: 1.32 MB / 0.5118 GB, free: 96.28 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002481/1.374, allocations: 114.1 kB / 0.5119 GB, free: 96.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001098/1.375, allocations: 157.4 kB / 0.5121 GB, free: 96.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009074/1.384, allocations: 2.002 MB / 0.514 GB, free: 95.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001823/1.384, allocations: 192 / 0.514 GB, free: 95.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007144/1.385, allocations: 71.44 kB / 0.5141 GB, free: 95.18 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001794/1.385, allocations: 76.91 kB / 0.5142 GB, free: 95.17 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00616/1.391, allocations: 1.575 MB / 0.5157 GB, free: 94.57 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02356/1.415, allocations: 6.866 MB / 0.5224 GB, free: 90.52 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001818/1.417, allocations: 493.5 kB / 0.5229 GB, free: 90.33 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009185/1.418, allocations: 282.5 kB / 0.5232 GB, free: 90.23 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005958/1.424, allocations: 1.458 MB / 0.5246 GB, free: 89.43 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.817e-05/1.424, allocations: 41.81 kB / 0.5246 GB, free: 89.38 MB / 378.7 MB Notification: Performance of pre-optimization done (n=38): time 6.502e-06/1.424, allocations: 0 / 0.5246 GB, free: 89.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=54): time 0.01205/1.436, allocations: 3.143 MB / 0.5277 GB, free: 87.72 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003391/1.44, allocations: 2.161 MB / 0.5298 GB, free: 85.49 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005669/1.445, allocations: 1.572 MB / 0.5313 GB, free: 83.91 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003158/1.446, allocations: 29.7 kB / 0.5314 GB, free: 83.87 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001279/1.447, allocations: 1.033 MB / 0.5324 GB, free: 82.84 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005462/1.448, allocations: 209.1 kB / 0.5326 GB, free: 82.63 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002414/1.448, allocations: 31.94 kB / 0.5326 GB, free: 82.6 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002449/1.448, allocations: 373.8 kB / 0.533 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001492/1.45, allocations: 499.7 kB / 0.5334 GB, free: 81.74 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002045/1.452, allocations: 1.41 MB / 0.5348 GB, free: 79.88 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00348/1.455, allocations: 2.052 MB / 0.5368 GB, free: 77.36 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-05/1.456, allocations: 11.94 kB / 0.5368 GB, free: 77.35 MB / 378.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.00632/1.462, allocations: 2.071 MB / 0.5388 GB, free: 75.27 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.254e-05/1.462, allocations: 20 kB / 0.5389 GB, free: 75.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.459e-05/1.462, allocations: 32 kB / 0.5389 GB, free: 75.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009721/1.463, allocations: 231 kB / 0.5391 GB, free: 74.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002097/1.465, allocations: 379.3 kB / 0.5395 GB, free: 74.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002557/1.468, allocations: 1.745 MB / 0.5412 GB, free: 72.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003157/1.471, allocations: 131.5 kB / 0.5413 GB, free: 72.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004074/1.472, allocations: 88 kB / 0.5414 GB, free: 72.52 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.002462/1.474, allocations: 0.5828 MB / 0.542 GB, free: 71.93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006972/1.475, allocations: 150.1 kB / 0.5421 GB, free: 71.78 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003513/1.478, allocations: 1.051 MB / 0.5431 GB, free: 70.72 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.721e-05/1.478, allocations: 11.98 kB / 0.5431 GB, free: 70.71 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.191e-05/1.478, allocations: 4 kB / 0.5431 GB, free: 70.7 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.248e-05/1.478, allocations: 0 / 0.5431 GB, free: 70.7 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009192/1.488, allocations: 3.111 MB / 0.5462 GB, free: 67.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.485e-05/1.488, allocations: 4 kB / 0.5462 GB, free: 67.49 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006072/1.488, allocations: 95.86 kB / 0.5463 GB, free: 67.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009447/1.489, allocations: 234.7 kB / 0.5465 GB, free: 67.16 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.731e-05/1.489, allocations: 8 kB / 0.5465 GB, free: 67.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005111/1.494, allocations: 3.725 MB / 0.5501 GB, free: 63.16 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002823/1.497, allocations: 2.021 MB / 0.5521 GB, free: 60.99 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004109/1.502, allocations: 1.618 MB / 0.5537 GB, free: 59.31 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001291/1.503, allocations: 299.2 kB / 0.554 GB, free: 59 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003294/1.503, allocations: 16 kB / 0.554 GB, free: 58.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001101/1.504, allocations: 52 kB / 0.5541 GB, free: 58.93 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000249/1.505, allocations: 47.81 kB / 0.5541 GB, free: 58.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-05/1.505, allocations: 23.98 kB / 0.5541 GB, free: 58.86 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002877/1.508, allocations: 1.027 MB / 0.5551 GB, free: 57.84 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-07/1.508, allocations: 0 / 0.5551 GB, free: 57.84 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004249/1.512, allocations: 408 kB / 0.5555 GB, free: 57.44 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.001014/1.513, allocations: 371.5 kB / 0.5559 GB, free: 57.11 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00382/1.517, allocations: 1.544 MB / 0.5574 GB, free: 55.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/1.517, allocations: 0 / 0.5574 GB, free: 55.52 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001691/1.518, allocations: 0.8084 MB / 0.5582 GB, free: 54.67 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004574/1.523, allocations: 386.9 kB / 0.5585 GB, free: 54.29 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008966/1.532, allocations: 3.652 MB / 0.5621 GB, free: 50.55 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001512/1.534, allocations: 1.456 MB / 0.5635 GB, free: 49.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007339/1.534, allocations: 111.4 kB / 0.5636 GB, free: 48.96 MB / 378.7 MB Notification: Performance of SimCode: time 2.885e-06/1.535, allocations: 4 kB / 0.5636 GB, free: 48.95 MB / 378.7 MB Notification: Performance of Templates: time 0.08286/1.617, allocations: 47.52 MB / 0.61 GB, free: 1.355 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