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.0009692/0.0009692, allocations: 172.7 kB / 14.1 MB, free: 1.223 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.313/1.313, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0007657/0.0007658, allocations: 82.72 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.3e-05/2.303e-05, allocations: 0 / 322.4 MB, free: 17.35 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08239/0.08243, allocations: 47.58 MB / 370 MB, free: 1.703 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.295/0.3775, allocations: 104.9 MB / 475 MB, free: 4.73 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002588/0.3778, allocations: 85.83 kB / 475.1 MB, free: 4.688 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1032/0.481, allocations: 39.54 MB / 0.5025 GB, free: 14.03 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.4811, allocations: 8 kB / 0.5025 GB, free: 14.02 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001034/0.4812, allocations: 40 kB / 0.5026 GB, free: 13.98 MB / 394.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.002848/0.484, allocations: 1.748 MB / 0.5043 GB, free: 12.18 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.4841, allocations: 8.031 kB / 0.5043 GB, free: 12.18 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005947/0.4847, allocations: 233.4 kB / 0.5045 GB, free: 11.95 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002205/0.4869, allocations: 1.274 MB / 0.5058 GB, free: 10.61 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.329e-05/0.487, allocations: 115.1 kB / 0.5059 GB, free: 10.5 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002216/0.4872, allocations: 156 kB / 0.506 GB, free: 10.35 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002886/0.4901, allocations: 1.952 MB / 0.5079 GB, free: 8.312 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.377e-05/0.4902, allocations: 19.83 kB / 0.5079 GB, free: 8.293 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001429/0.4903, allocations: 64 kB / 0.508 GB, free: 8.23 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-05/0.4904, allocations: 70.92 kB / 0.5081 GB, free: 8.16 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002444/0.4928, allocations: 1.538 MB / 0.5096 GB, free: 6.617 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009102/0.502, allocations: 6.859 MB / 0.5163 GB, free: 15.45 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007482/0.5027, allocations: 492.8 kB / 0.5167 GB, free: 14.96 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003838/0.5031, allocations: 278.1 kB / 0.517 GB, free: 14.69 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002472/0.5056, allocations: 1.463 MB / 0.5184 GB, free: 13.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.5057, allocations: 34.56 kB / 0.5185 GB, free: 13.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=38): time 2.465e-06/0.5057, allocations: 0 / 0.5185 GB, free: 13.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=54): time 0.005638/0.5113, allocations: 2.828 MB / 0.5212 GB, free: 10.24 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002079/0.5134, allocations: 2.166 MB / 0.5233 GB, free: 7.902 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001775/0.5152, allocations: 1.376 MB / 0.5247 GB, free: 6.52 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.376e-05/0.5152, allocations: 37.7 kB / 0.5247 GB, free: 6.477 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006251/0.5159, allocations: 1.029 MB / 0.5257 GB, free: 5.434 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001467/0.516, allocations: 209.2 kB / 0.5259 GB, free: 5.227 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.98e-05/0.5161, allocations: 32 kB / 0.526 GB, free: 5.195 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.5162, allocations: 381.9 kB / 0.5263 GB, free: 4.816 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006683/0.5169, allocations: 483.8 kB / 0.5268 GB, free: 4.344 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001196/0.5181, allocations: 1.391 MB / 0.5281 GB, free: 2.496 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009884/0.5191, allocations: 0.7625 MB / 0.5289 GB, free: 1.738 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.258e-05/0.5191, allocations: 19.94 kB / 0.5289 GB, free: 1.719 MB / 410.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.2/0.7192, allocations: 2.045 MB / 0.5309 GB, free: 106.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.406e-05/0.7193, allocations: 19.77 kB / 0.5309 GB, free: 106.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.287e-05/0.7193, allocations: 32.94 kB / 0.531 GB, free: 106.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006548/0.72, allocations: 232.7 kB / 0.5312 GB, free: 106.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001235/0.7212, allocations: 376 kB / 0.5315 GB, free: 106.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001502/0.7228, allocations: 1.745 MB / 0.5332 GB, free: 105.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001434/0.7242, allocations: 124.2 kB / 0.5334 GB, free: 105.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001279/0.7243, allocations: 91.22 kB / 0.5334 GB, free: 105.4 MB / 410.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 () * 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.0002114/0.7246, allocations: 226.7 kB / 0.5337 GB, free: 105.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001833/0.7248, allocations: 148 kB / 0.5338 GB, free: 105.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001928/0.7267, allocations: 1.036 MB / 0.5348 GB, free: 105.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.704e-06/0.7267, allocations: 6.734 kB / 0.5348 GB, free: 105.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.7267, allocations: 1.438 kB / 0.5348 GB, free: 105.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.7267, allocations: 4.562 kB / 0.5348 GB, free: 105.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00504/0.7318, allocations: 3.087 MB / 0.5378 GB, free: 104.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.794e-06/0.7318, allocations: 5.594 kB / 0.5379 GB, free: 104.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003998/0.7322, allocations: 97.66 kB / 0.5379 GB, free: 104.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006413/0.7329, allocations: 227.4 kB / 0.5382 GB, free: 104.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.438e-05/0.7329, allocations: 18.31 kB / 0.5382 GB, free: 104.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003234/0.7362, allocations: 3.723 MB / 0.5418 GB, free: 102.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00166/0.7378, allocations: 2.003 MB / 0.5438 GB, free: 100.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002475/0.7403, allocations: 1.8 MB / 0.5455 GB, free: 100.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005524/0.7409, allocations: 301.3 kB / 0.5458 GB, free: 99.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001509/0.7411, allocations: 16.58 kB / 0.5458 GB, free: 99.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006337/0.7417, allocations: 47.94 kB / 0.5459 GB, free: 99.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001697/0.7419, allocations: 50.11 kB / 0.5459 GB, free: 99.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.511e-05/0.7419, allocations: 25.23 kB / 0.5459 GB, free: 99.91 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001611/0.7436, allocations: 1.013 MB / 0.5469 GB, free: 99.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.7436, allocations: 0 / 0.5469 GB, free: 99.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001554/0.7451, allocations: 407.9 kB / 0.5473 GB, free: 99.79 MB / 410.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 () * 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.0004777/0.7456, allocations: 362.3 kB / 0.5477 GB, free: 99.69 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00219/0.7478, allocations: 1.519 MB / 0.5492 GB, free: 99.38 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.7478, allocations: 0.9062 kB / 0.5492 GB, free: 99.38 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001107/0.7489, allocations: 0.8053 MB / 0.5499 GB, free: 99.04 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001614/0.7506, allocations: 387.7 kB / 0.5503 GB, free: 99.02 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00366/0.7542, allocations: 2.393 MB / 0.5527 GB, free: 98.25 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007727/0.755, allocations: 1.498 MB / 0.5541 GB, free: 97.54 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009323/0.756, allocations: 345.7 kB / 0.5544 GB, free: 97.52 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002195/0.7562, allocations: 116 kB / 0.5546 GB, free: 97.52 MB / 410.7 MB Notification: Performance of SimCode: time 6.01e-07/0.7562, allocations: 0 / 0.5546 GB, free: 97.52 MB / 410.7 MB Notification: Performance of Templates: time 0.03093/0.7871, allocations: 21.96 MB / 0.576 GB, free: 96.16 MB / 410.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