Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.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_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|smee.is.1.|smee.is.2.|inertiaLoad.w|speedSensor.flange.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|smee.is.1.|smee.is.2.|inertiaLoad.w|speedSensor.flange.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001489/0.001489, allocations: 175.8 kB / 14.1 MB, free: 1.207 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.417/1.417, allocations: 205.2 MB / 219.8 MB, free: 14.28 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.001019/0.001019, allocations: 86.7 kB / 268 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.649e-05/2.659e-05, allocations: 3.984 kB / 322.5 MB, free: 17.35 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08491/0.08495, allocations: 47.58 MB / 370 MB, free: 1.707 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.329/0.414, allocations: 109.9 MB / 479.9 MB, free: 15.81 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002533/0.4143, allocations: 84.92 kB / 480 MB, free: 15.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1381/0.5524, allocations: 53.01 MB / 0.5205 GB, free: 11.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.5524, allocations: 0 / 0.5205 GB, free: 11.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001676/0.5526, allocations: 71.88 kB / 0.5206 GB, free: 11.43 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 660 * Number of variables: 660 Notification: Performance of Generate backend data structure: time 0.004637/0.5572, allocations: 2.593 MB / 0.5231 GB, free: 8.777 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.5573, allocations: 11.98 kB / 0.5232 GB, free: 8.766 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008304/0.5581, allocations: 348.1 kB / 0.5235 GB, free: 8.422 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003568/0.5617, allocations: 1.9 MB / 0.5253 GB, free: 6.465 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001458/0.5619, allocations: 189 kB / 0.5255 GB, free: 6.277 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003621/0.5622, allocations: 252.2 kB / 0.5258 GB, free: 6.031 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005049/0.5673, allocations: 3.202 MB / 0.5289 GB, free: 2.68 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.01e-05/0.5674, allocations: 11.89 kB / 0.5289 GB, free: 2.668 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000233/0.5676, allocations: 108 kB / 0.529 GB, free: 2.562 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001098/0.5677, allocations: 117 kB / 0.5291 GB, free: 2.445 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2114/0.7791, allocations: 2.524 MB / 0.5316 GB, free: 97.22 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01854/0.7977, allocations: 10.48 MB / 0.5418 GB, free: 94.61 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001979/0.7997, allocations: 1.409 MB / 0.5432 GB, free: 94.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001101/0.8008, allocations: 0.7506 MB / 0.5439 GB, free: 94.28 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003169/0.8011, allocations: 225.6 kB / 0.5441 GB, free: 94.09 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.8012, allocations: 49.08 kB / 0.5442 GB, free: 94.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=103): time 3.366e-06/0.8012, allocations: 0 / 0.5442 GB, free: 94.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=131): time 0.01464/0.8158, allocations: 6.142 MB / 0.5502 GB, free: 93.26 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/0.8159, allocations: 64.66 kB / 0.5502 GB, free: 93.19 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002471/0.8184, allocations: 1.539 MB / 0.5517 GB, free: 93.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001367/0.8185, allocations: 52.08 kB / 0.5518 GB, free: 92.99 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006884/0.8192, allocations: 1.267 MB / 0.553 GB, free: 92.51 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003121/0.8196, allocations: 453.8 kB / 0.5535 GB, free: 92.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.958e-05/0.8197, allocations: 36.25 kB / 0.5535 GB, free: 92.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.866e-05/0.8198, allocations: 372.6 kB / 0.5539 GB, free: 91.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009831/0.8207, allocations: 0.7778 MB / 0.5546 GB, free: 91.92 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001157/0.8219, allocations: 1.286 MB / 0.5559 GB, free: 91.32 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001254/0.8232, allocations: 1.003 MB / 0.5569 GB, free: 91.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.287e-06/0.8232, allocations: 3.875 kB / 0.5569 GB, free: 91.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=211) (initialization): time 0.003615/0.8268, allocations: 2.492 MB / 0.5593 GB, free: 90.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.882e-05/0.8269, allocations: 11.31 kB / 0.5593 GB, free: 90.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.063e-05/0.8269, allocations: 15.47 kB / 0.5593 GB, free: 90.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005847/0.8275, allocations: 241.7 kB / 0.5595 GB, free: 90.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001446/0.8289, allocations: 442.1 kB / 0.56 GB, free: 90.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001923/0.8309, allocations: 3.006 MB / 0.5629 GB, free: 87.69 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001792/0.8327, allocations: 132 kB / 0.563 GB, free: 87.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001508/0.8329, allocations: 71.44 kB / 0.5631 GB, free: 87.64 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (206): * Single equations (assignments): 202 * 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: 2 * 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: 2 {(2,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002944/0.8332, allocations: 219.1 kB / 0.5633 GB, free: 87.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003438/0.8335, allocations: 189.5 kB / 0.5635 GB, free: 87.38 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003298/0.8368, allocations: 2.096 MB / 0.5655 GB, free: 86.55 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.8368, allocations: 10.94 kB / 0.5655 GB, free: 86.55 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.8369, allocations: 3.375 kB / 0.5655 GB, free: 86.55 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.296e-05/0.8369, allocations: 10.45 kB / 0.5656 GB, free: 86.55 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008037/0.8449, allocations: 4.823 MB / 0.5703 GB, free: 84.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-06/0.845, allocations: 3.781 kB / 0.5703 GB, free: 84.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001121/0.8461, allocations: 290.1 kB / 0.5705 GB, free: 84.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004929/0.8466, allocations: 207.2 kB / 0.5707 GB, free: 84.53 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.935e-05/0.8467, allocations: 26.59 kB / 0.5708 GB, free: 84.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001869/0.8486, allocations: 2.965 MB / 0.5737 GB, free: 81.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.8486, allocations: 2.719 kB / 0.5737 GB, free: 81.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003982/0.8526, allocations: 3.35 MB / 0.5769 GB, free: 80.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001097/0.8537, allocations: 449.4 kB / 0.5774 GB, free: 79.94 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002941/0.854, allocations: 30.42 kB / 0.5774 GB, free: 79.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009078/0.8549, allocations: 95.38 kB / 0.5775 GB, free: 79.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001912/0.8551, allocations: 86.23 kB / 0.5776 GB, free: 79.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.611e-05/0.8552, allocations: 40.12 kB / 0.5776 GB, free: 79.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001737/0.857, allocations: 1.162 MB / 0.5787 GB, free: 79.43 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.92e-07/0.857, allocations: 1.594 kB / 0.5787 GB, free: 79.43 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001903/0.8589, allocations: 0.5301 MB / 0.5793 GB, free: 79.37 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (smpm.inertiaRotor.w,quadraticSpeedDependentTorque.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (129): * Single equations (assignments): 125 * 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: 2 * 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: 2 {(2,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000656/0.8596, allocations: 423.5 kB / 0.5797 GB, free: 79.22 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003148/0.8627, allocations: 2.366 MB / 0.582 GB, free: 78.14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.8627, allocations: 1.062 kB / 0.582 GB, free: 78.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001493/0.8642, allocations: 1.358 MB / 0.5833 GB, free: 77.38 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002185/0.8664, allocations: 450.1 kB / 0.5837 GB, free: 77.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006455/0.8729, allocations: 3.951 MB / 0.5876 GB, free: 75.59 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001336/0.8743, allocations: 2.066 MB / 0.5896 GB, free: 74.61 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001769/0.8761, allocations: 0.5121 MB / 0.5901 GB, free: 74.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004366/0.8765, allocations: 143.4 kB / 0.5902 GB, free: 74.56 MB / 410.7 MB Notification: Performance of SimCode: time 1.162e-06/0.8765, allocations: 0 / 0.5902 GB, free: 74.56 MB / 410.7 MB Notification: Performance of Templates: time 0.04801/0.9245, allocations: 27.66 MB / 0.6173 GB, free: 60.28 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource_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_CurrentSource/SMPM_CurrentSource.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches