Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001682/0.001682, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00184/0.00184, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9832/0.9832, allocations: 177 MB / 204.8 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.063e-06/2.063e-06, allocations: 3.938 kB / 272.9 MB, free: 1.465 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.812e-05/3.019e-05, allocations: 5.266 kB / 272.9 MB, free: 1.461 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.01024/0.01027, allocations: 9.104 MB / 282 MB, free: 8.309 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005819/0.01609, allocations: 3.124 MB / 285.1 MB, free: 5.172 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001348/0.01744, allocations: 51.69 kB / 285.2 MB, free: 5.121 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001755/0.01919, allocations: 0.6637 MB / 285.9 MB, free: 4.453 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00228/0.02147, allocations: 0.7839 MB / 286.6 MB, free: 3.664 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006743/0.02215, allocations: 327.4 kB / 287 MB, free: 3.344 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002294/0.02444, allocations: 2.217 MB / 289.2 MB, free: 1.117 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001168/0.02561, allocations: 0.809 MB / 290 MB, free: 260 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1192/0.1448, allocations: 1.532 MB / 291.5 MB, free: 16.48 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001704/0.1465, allocations: 0.9942 MB / 292.5 MB, free: 16.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005967/0.1471, allocations: 224.4 kB / 292.7 MB, free: 16.48 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007608/0.1479, allocations: 322.4 kB / 293.1 MB, free: 16.48 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005798/0.1484, allocations: 0.6873 MB / 293.7 MB, free: 16.48 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001192/0.1496, allocations: 0.7391 MB / 294.5 MB, free: 16.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002559/0.1522, allocations: 1.698 MB / 296.2 MB, free: 16.33 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.1522, allocations: 2.406 kB / 296.2 MB, free: 16.33 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1522, allocations: 1.375 kB / 296.2 MB, free: 16.33 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.53e-05/0.1523, allocations: 0 / 296.2 MB, free: 16.33 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.003976/0.1562, allocations: 2.38 MB / 298.6 MB, free: 15.23 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.1563, allocations: 14.08 kB / 298.6 MB, free: 15.22 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000778/0.1571, allocations: 376.3 kB / 298.9 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001745/0.1588, allocations: 1.162 MB / 300.1 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-05/0.1589, allocations: 115.8 kB / 300.2 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002133/0.1591, allocations: 160.2 kB / 300.4 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002162/0.1613, allocations: 1.291 MB / 301.7 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.467e-05/0.1613, allocations: 7.469 kB / 301.7 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000117/0.1614, allocations: 65.69 kB / 301.7 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.513e-05/0.1615, allocations: 83.73 kB / 301.8 MB, free: 14.06 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001336/0.1629, allocations: 0.5803 MB / 302.4 MB, free: 13.97 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006358/0.1692, allocations: 6.222 MB / 308.6 MB, free: 9.703 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005952/0.1698, allocations: 255.9 kB / 308.9 MB, free: 9.625 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00018/0.17, allocations: 120.7 kB / 309 MB, free: 9.594 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001572/0.1702, allocations: 35.39 kB / 309 MB, free: 9.594 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.1702, allocations: 45.17 kB / 309.1 MB, free: 9.543 MB / 266.7 MB Notification: Performance of pre-optimization done (n=48): time 3.076e-06/0.1702, allocations: 0 / 309.1 MB, free: 9.543 MB / 266.7 MB Notification: Performance of matching and sorting (n=63): time 0.003282/0.1735, allocations: 1.776 MB / 310.8 MB, free: 8.719 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.676e-05/0.1735, allocations: 59.72 kB / 310.9 MB, free: 8.656 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001487/0.175, allocations: 1.428 MB / 312.3 MB, free: 7.797 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.942e-05/0.175, allocations: 37.55 kB / 312.4 MB, free: 7.758 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005128/0.1755, allocations: 1.143 MB / 313.5 MB, free: 6.754 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001396/0.1757, allocations: 252.6 kB / 313.8 MB, free: 6.547 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003045/0.176, allocations: 337.7 kB / 314.1 MB, free: 6.332 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.497e-05/0.176, allocations: 480.7 kB / 314.6 MB, free: 5.859 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000329/0.1763, allocations: 182.6 kB / 314.7 MB, free: 5.801 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006887/0.177, allocations: 1.539 MB / 316.3 MB, free: 3.723 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001241/0.1783, allocations: 1.897 MB / 318.2 MB, free: 1.332 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.367e-05/0.1783, allocations: 8 kB / 318.2 MB, free: 1.324 MB / 266.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.001983/0.1803, allocations: 1.504 MB / 319.7 MB, free: 8 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.621e-05/0.1803, allocations: 24.11 kB / 319.7 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.313e-05/0.1804, allocations: 33.09 kB / 319.7 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003388/0.1807, allocations: 124.5 kB / 319.9 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009042/0.1816, allocations: 386.8 kB / 320.2 MB, free: 15.48 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001121/0.1827, allocations: 1.846 MB / 322.1 MB, free: 13.53 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00106/0.1838, allocations: 127.7 kB / 322.2 MB, free: 13.4 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001157/0.1839, allocations: 96 kB / 322.3 MB, free: 13.31 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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005656/0.1845, allocations: 291 kB / 322.6 MB, free: 13.05 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002352/0.1847, allocations: 174.9 kB / 322.8 MB, free: 12.88 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009753/0.1857, allocations: 0.5883 MB / 323.3 MB, free: 12.27 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.1857, allocations: 4 kB / 323.3 MB, free: 12.26 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1857, allocations: 0 / 323.3 MB, free: 12.26 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.645e-06/0.1857, allocations: 7.984 kB / 323.4 MB, free: 12.25 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003074/0.1888, allocations: 2.013 MB / 325.4 MB, free: 10.18 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.1888, allocations: 4 kB / 325.4 MB, free: 10.18 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003488/0.1891, allocations: 114.3 kB / 325.5 MB, free: 10.07 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002259/0.1893, allocations: 82.42 kB / 325.6 MB, free: 9.98 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.676e-05/0.1894, allocations: 12 kB / 325.6 MB, free: 9.969 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009223/0.1903, allocations: 1.788 MB / 327.4 MB, free: 8.074 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1903, allocations: 0 / 327.4 MB, free: 8.074 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001287/0.1916, allocations: 0.9118 MB / 328.3 MB, free: 7.113 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004622/0.1921, allocations: 202.3 kB / 328.5 MB, free: 6.918 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001315/0.1922, allocations: 12 kB / 328.5 MB, free: 6.906 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004129/0.1926, allocations: 43.95 kB / 328.5 MB, free: 6.863 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.1927, allocations: 52.34 kB / 328.6 MB, free: 6.809 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-05/0.1928, allocations: 19.62 kB / 328.6 MB, free: 6.793 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0009973/0.1938, allocations: 0.7593 MB / 329.4 MB, free: 6.035 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1938, allocations: 0 / 329.4 MB, free: 6.035 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.004475/0.1982, allocations: 355.8 kB / 329.7 MB, free: 5.691 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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003123/0.1985, allocations: 174.4 kB / 329.9 MB, free: 5.52 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001625/0.2002, allocations: 0.9744 MB / 330.8 MB, free: 4.625 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.2002, allocations: 4 kB / 330.9 MB, free: 4.621 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005569/0.2007, allocations: 454.8 kB / 331.3 MB, free: 4.164 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00132/0.202, allocations: 355.3 kB / 331.6 MB, free: 3.848 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003816/0.2059, allocations: 2.593 MB / 334.2 MB, free: 1.195 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.2062, allocations: 406.4 kB / 334.6 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0007058/0.2069, allocations: 344.9 kB / 335 MB, free: 440 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001721/0.207, allocations: 104.5 kB / 335.1 MB, free: 336 kB / 282.7 MB Notification: Performance of SimCode: time 1.382e-06/0.207, allocations: 4 kB / 335.1 MB, free: 332 kB / 282.7 MB Notification: Performance of Templates: time 0.02554/0.2326, allocations: 18.9 MB / 354 MB, free: 13.82 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.0868245479650795]