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.001499/0.001499, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.076/2.076, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001143/0.001143, allocations: 97.89 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.224e-05/2.222e-05, allocations: 4 kB / 314.8 MB, free: 9.168 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.3279, allocations: 47.57 MB / 362.3 MB, free: 45.85 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1657/0.4937, allocations: 104.3 MB / 466.6 MB, free: 13.98 MB / 363.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003212/0.494, allocations: 90.61 kB / 466.7 MB, free: 13.89 MB / 363.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1692/0.6632, allocations: 38.96 MB / 0.4938 GB, free: 6.809 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.6633, allocations: 0 / 0.4938 GB, free: 6.809 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0001686/0.6635, allocations: 48 kB / 0.4939 GB, free: 6.762 MB / 395.1 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.005174/0.6686, allocations: 1.744 MB / 0.4956 GB, free: 4.965 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/0.6687, allocations: 12.03 kB / 0.4956 GB, free: 4.953 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001103/0.6698, allocations: 237.4 kB / 0.4958 GB, free: 4.719 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003857/0.6737, allocations: 1.27 MB / 0.4971 GB, free: 3.391 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.879e-05/0.6738, allocations: 52 kB / 0.4971 GB, free: 3.34 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003369/0.6742, allocations: 92 kB / 0.4972 GB, free: 3.25 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004039/0.6782, allocations: 1.455 MB / 0.4986 GB, free: 1.793 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2692/0.9475, allocations: 1.728 MB / 0.5003 GB, free: 101.9 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001696/0.9477, allocations: 8.891 kB / 0.5003 GB, free: 101.9 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005001/0.9482, allocations: 2.938 kB / 0.5003 GB, free: 101.9 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000167/0.9484, allocations: 67.58 kB / 0.5004 GB, free: 101.9 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01748/0.9659, allocations: 6.559 MB / 0.5068 GB, free: 99.74 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001227/0.9672, allocations: 458.7 kB / 0.5072 GB, free: 99.72 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005907/0.9678, allocations: 262.5 kB / 0.5075 GB, free: 99.71 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004403/0.9722, allocations: 1.411 MB / 0.5089 GB, free: 99.3 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.343e-05/0.9723, allocations: 41.94 kB / 0.5089 GB, free: 99.26 MB / 395.1 MB Notification: Performance of pre-optimization done (n=38): time 3.266e-06/0.9723, allocations: 0 / 0.5089 GB, free: 99.26 MB / 395.1 MB Notification: Performance of matching and sorting (n=54): time 0.008311/0.9807, allocations: 2.478 MB / 0.5113 GB, free: 98.66 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.9808, allocations: 58.16 kB / 0.5114 GB, free: 98.6 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002886/0.9837, allocations: 1.174 MB / 0.5125 GB, free: 98.44 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001448/0.9839, allocations: 25.7 kB / 0.5125 GB, free: 98.41 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007361/0.9846, allocations: 1.022 MB / 0.5135 GB, free: 97.85 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002596/0.9849, allocations: 203.5 kB / 0.5137 GB, free: 97.73 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.11e-05/0.985, allocations: 1.656 kB / 0.5137 GB, free: 97.73 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.9851, allocations: 379.3 kB / 0.5141 GB, free: 97.42 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001057/0.9862, allocations: 451.5 kB / 0.5145 GB, free: 97.42 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001588/0.9878, allocations: 1.358 MB / 0.5159 GB, free: 96.25 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001632/0.9895, allocations: 0.7247 MB / 0.5166 GB, free: 96.24 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.157e-05/0.9896, allocations: 13.19 kB / 0.5166 GB, free: 96.24 MB / 395.1 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.004958/0.9945, allocations: 1.749 MB / 0.5183 GB, free: 96.14 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.407e-05/0.9946, allocations: 18.44 kB / 0.5183 GB, free: 96.14 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.794e-05/0.9947, allocations: 33.56 kB / 0.5183 GB, free: 96.14 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009185/0.9956, allocations: 234 kB / 0.5186 GB, free: 96.12 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002339/0.998, allocations: 381.5 kB / 0.5189 GB, free: 96.11 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00211/1, allocations: 1.672 MB / 0.5205 GB, free: 94.9 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002278/1.002, allocations: 96.17 kB / 0.5206 GB, free: 94.88 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002088/1.003, allocations: 96.05 kB / 0.5207 GB, free: 94.88 MB / 395.1 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.0003386/1.003, allocations: 185.3 kB / 0.5209 GB, free: 94.71 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004133/1.003, allocations: 135.4 kB / 0.521 GB, free: 94.64 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002591/1.006, allocations: 0.9826 MB / 0.522 GB, free: 94.54 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/1.006, allocations: 11.39 kB / 0.522 GB, free: 94.53 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/1.006, allocations: 4.438 kB / 0.522 GB, free: 94.53 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/1.006, allocations: 0 / 0.522 GB, free: 94.53 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007816/1.014, allocations: 2.904 MB / 0.5248 GB, free: 93.34 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/1.014, allocations: 3.719 kB / 0.5249 GB, free: 93.34 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007283/1.015, allocations: 92.19 kB / 0.5249 GB, free: 93.34 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009601/1.016, allocations: 222.3 kB / 0.5252 GB, free: 93.27 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.818e-05/1.016, allocations: 7.812 kB / 0.5252 GB, free: 93.27 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004513/1.02, allocations: 3.588 MB / 0.5287 GB, free: 90.37 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002449/1.023, allocations: 1.931 MB / 0.5305 GB, free: 88.73 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003376/1.026, allocations: 1.736 MB / 0.5322 GB, free: 87.68 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009693/1.027, allocations: 283.8 kB / 0.5325 GB, free: 87.48 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002343/1.028, allocations: 3.719 kB / 0.5325 GB, free: 87.48 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001092/1.029, allocations: 42.25 kB / 0.5326 GB, free: 87.47 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000157/1.029, allocations: 55.62 kB / 0.5326 GB, free: 87.46 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.772e-05/1.029, allocations: 18.16 kB / 0.5326 GB, free: 87.46 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.001756/1.031, allocations: 0.8433 MB / 0.5335 GB, free: 87.09 MB / 395.1 MB Notification: Performance of sort global known variables: time 8.51e-07/1.031, allocations: 0 / 0.5335 GB, free: 87.09 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.002596/1.033, allocations: 340.9 kB / 0.5338 GB, free: 87.08 MB / 395.1 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.0006098/1.034, allocations: 350.9 kB / 0.5341 GB, free: 86.95 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.003187/1.037, allocations: 1.428 MB / 0.5355 GB, free: 86.25 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/1.037, allocations: 0 / 0.5355 GB, free: 86.25 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001656/1.039, allocations: 0.7622 MB / 0.5363 GB, free: 85.79 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002648/1.042, allocations: 304.1 kB / 0.5365 GB, free: 85.7 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005891/1.048, allocations: 2.388 MB / 0.5389 GB, free: 84.55 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001215/1.049, allocations: 1.495 MB / 0.5403 GB, free: 83.71 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005549/1.049, allocations: 112.7 kB / 0.5404 GB, free: 83.7 MB / 395.1 MB Notification: Performance of SimCode: time 1.372e-06/1.049, allocations: 1.781 kB / 0.5404 GB, free: 83.7 MB / 395.1 MB Notification: Performance of Templates: time 0.06912/1.119, allocations: 44.08 MB / 0.5835 GB, free: 54.19 MB / 395.1 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