Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001592/0.001592, allocations: 83.58 kB / 21.19 MB, free: 3.379 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001891/0.001891, allocations: 161 kB / 24.56 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.045/1.045, allocations: 177.1 MB / 205 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3200,variableFilter="time|toSpacePhasor.y.[0-9,]+.|hallSensor.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3200,variableFilter="time|toSpacePhasor.y.[0-9,]+.|hallSensor.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 273 MB, free: 1.547 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.451e-05/2.637e-05, allocations: 9.266 kB / 273 MB, free: 1.539 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.008798/0.008824, allocations: 9.076 MB / 282.1 MB, free: 8.418 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005412/0.01424, allocations: 3.12 MB / 285.2 MB, free: 5.285 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001235/0.01547, allocations: 55.62 kB / 285.2 MB, free: 5.23 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001538/0.01701, allocations: 0.6599 MB / 285.9 MB, free: 4.566 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002155/0.01916, allocations: 0.7917 MB / 286.7 MB, free: 3.77 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006436/0.01981, allocations: 323.4 kB / 287 MB, free: 3.453 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002351/0.02216, allocations: 2.225 MB / 289.2 MB, free: 1.219 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001047/0.02321, allocations: 0.8051 MB / 290 MB, free: 368 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1458/0.169, allocations: 1.381 MB / 291.4 MB, free: 16.6 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001828/0.1708, allocations: 1.043 MB / 292.5 MB, free: 16.6 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006096/0.1714, allocations: 233.7 kB / 292.7 MB, free: 16.6 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000713/0.1721, allocations: 329.2 kB / 293 MB, free: 16.6 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007031/0.1728, allocations: 0.722 MB / 293.7 MB, free: 16.6 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001487/0.1743, allocations: 0.7531 MB / 294.5 MB, free: 16.6 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002638/0.177, allocations: 1.735 MB / 296.2 MB, free: 16.45 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.177, allocations: 0 / 296.2 MB, free: 16.45 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.177, allocations: 6.906 kB / 296.2 MB, free: 16.45 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001014/0.1771, allocations: 0 / 296.2 MB, free: 16.45 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 404 * Number of variables: 404 Notification: Performance of Generate backend data structure: time 0.004916/0.182, allocations: 2.419 MB / 298.6 MB, free: 15.35 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.182, allocations: 8.953 kB / 298.7 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008056/0.1828, allocations: 379.2 kB / 299 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001806/0.1846, allocations: 1.139 MB / 300.2 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.534e-05/0.1847, allocations: 113.2 kB / 300.3 MB, free: 14.85 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000204/0.1849, allocations: 155.4 kB / 300.4 MB, free: 14.85 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002112/0.1871, allocations: 1.302 MB / 301.7 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.188e-05/0.1871, allocations: 6.703 kB / 301.7 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001101/0.1872, allocations: 67.91 kB / 301.8 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.11e-05/0.1873, allocations: 78.89 kB / 301.9 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001407/0.1887, allocations: 0.5893 MB / 302.5 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006211/0.1949, allocations: 6.299 MB / 308.8 MB, free: 9.918 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004578/0.1954, allocations: 242.2 kB / 309 MB, free: 9.836 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001641/0.1955, allocations: 113.5 kB / 309.1 MB, free: 9.805 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001754/0.1957, allocations: 40.77 kB / 309.2 MB, free: 9.801 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.1957, allocations: 45.36 kB / 309.2 MB, free: 9.75 MB / 266.7 MB Notification: Performance of pre-optimization done (n=48): time 3.346e-06/0.1957, allocations: 0 / 309.2 MB, free: 9.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=63): time 0.002873/0.1986, allocations: 1.79 MB / 311 MB, free: 8.918 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.428e-05/0.1986, allocations: 58.78 kB / 311 MB, free: 8.855 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001296/0.1999, allocations: 1.424 MB / 312.5 MB, free: 8 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.492e-05/0.2, allocations: 36.92 kB / 312.5 MB, free: 7.961 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004488/0.2004, allocations: 1.157 MB / 313.7 MB, free: 6.949 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000123/0.2005, allocations: 249.8 kB / 313.9 MB, free: 6.742 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002661/0.2008, allocations: 332.1 kB / 314.2 MB, free: 6.531 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.464e-05/0.2009, allocations: 480.7 kB / 314.7 MB, free: 6.059 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002948/0.2012, allocations: 182.9 kB / 314.9 MB, free: 6 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006253/0.2018, allocations: 1.54 MB / 316.4 MB, free: 3.859 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001164/0.2029, allocations: 1.902 MB / 318.3 MB, free: 1.465 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.154e-05/0.203, allocations: 8 kB / 318.3 MB, free: 1.457 MB / 266.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.001575/0.2045, allocations: 1.51 MB / 319.8 MB, free: 140 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.2046, allocations: 16 kB / 319.9 MB, free: 124 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.008e-05/0.2046, allocations: 36 kB / 319.9 MB, free: 88 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003551/0.2049, allocations: 142.8 kB / 320 MB, free: 15.94 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007093/0.2056, allocations: 390.7 kB / 320.4 MB, free: 15.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001153/0.2068, allocations: 1.924 MB / 322.3 MB, free: 13.57 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008261/0.2076, allocations: 143.6 kB / 322.5 MB, free: 13.43 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.201e-05/0.2077, allocations: 92 kB / 322.6 MB, free: 13.34 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 149 * 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 (204): * Single equations (assignments): 201 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003812/0.2081, allocations: 285.4 kB / 322.8 MB, free: 13.09 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001953/0.2083, allocations: 175 kB / 323 MB, free: 12.91 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008369/0.2091, allocations: 0.6034 MB / 323.6 MB, free: 12.28 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.2091, allocations: 4 kB / 323.6 MB, free: 12.27 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.2091, allocations: 4 kB / 323.6 MB, free: 12.27 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.2091, allocations: 0 / 323.6 MB, free: 12.27 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002516/0.2117, allocations: 1.99 MB / 325.6 MB, free: 10.22 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.2117, allocations: 160 / 325.6 MB, free: 10.22 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000267/0.2119, allocations: 122.9 kB / 325.7 MB, free: 10.11 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002227/0.2121, allocations: 93.41 kB / 325.8 MB, free: 10.01 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.381e-05/0.2122, allocations: 15.98 kB / 325.8 MB, free: 9.992 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009416/0.2131, allocations: 1.867 MB / 327.7 MB, free: 8.02 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.2131, allocations: 0 / 327.7 MB, free: 8.02 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/0.2142, allocations: 0.9155 MB / 328.6 MB, free: 7.051 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002922/0.2144, allocations: 203 kB / 328.8 MB, free: 6.852 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.921e-05/0.2145, allocations: 15.98 kB / 328.8 MB, free: 6.836 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003223/0.2149, allocations: 53.45 kB / 328.9 MB, free: 6.785 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.215, allocations: 48.41 kB / 328.9 MB, free: 6.738 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.787e-05/0.215, allocations: 20 kB / 329 MB, free: 6.719 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0008093/0.2158, allocations: 0.7552 MB / 329.7 MB, free: 5.965 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2158, allocations: 4 kB / 329.7 MB, free: 5.961 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001042/0.2168, allocations: 359.9 kB / 330.1 MB, free: 5.609 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (speed.phi) * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002602/0.2171, allocations: 178.2 kB / 330.2 MB, free: 5.438 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001295/0.2184, allocations: 1.012 MB / 331.3 MB, free: 4.492 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2184, allocations: 0 / 331.3 MB, free: 4.492 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004568/0.2188, allocations: 477.2 kB / 331.7 MB, free: 3.996 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009629/0.2198, allocations: 371.2 kB / 332.1 MB, free: 3.668 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003488/0.2233, allocations: 2.598 MB / 334.7 MB, free: 1.004 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.2236, allocations: 398.4 kB / 335.1 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0006538/0.2243, allocations: 352.9 kB / 335.4 MB, free: 244 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001954/0.2245, allocations: 108.5 kB / 335.5 MB, free: 136 kB / 282.7 MB Notification: Performance of SimCode: time 1.303e-06/0.2245, allocations: 0 / 335.5 MB, free: 136 kB / 282.7 MB Notification: Performance of Templates: time 0.02512/0.2496, allocations: 18.67 MB / 354.2 MB, free: 13.84 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMPM_NoLoad/SMPM_NoLoad.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4558544168248773]