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.001828/0.001828, allocations: 69.72 kB / 21.24 MB, free: 0.5547 MB / 14.72 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.001792/0.001792, allocations: 162.5 kB / 24.5 MB, free: 3.711 MB / 14.72 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.428/1.428, allocations: 177.2 MB / 204.9 MB, free: 9.012 MB / 190.1 MB " [Timeout remaining time 178] 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.1.|toSpacePhasor.y.2.|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.1.|toSpacePhasor.y.2.|hallSensor.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 50.73 kB / 325.6 MB, free: 264 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09538/0.09694, allocations: 53.34 MB / 378.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.01148/0.1084, allocations: 8.083 MB / 387 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005797/0.1142, allocations: 2.992 MB / 390 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000687/0.1149, allocations: 51.69 kB / 390 MB, free: 4.469 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001668/0.1166, allocations: 0.6523 MB / 390.7 MB, free: 3.812 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001979/0.1186, allocations: 0.7652 MB / 391.5 MB, free: 3.043 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006729/0.1192, allocations: 311.5 kB / 391.8 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002361/0.1216, allocations: 2.144 MB / 393.9 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001205/0.1228, allocations: 0.7973 MB / 394.7 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001234/0.124, allocations: 0.9576 MB / 395.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001556/0.1256, allocations: 1.089 MB / 396.7 MB, free: 13.68 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003234/0.1259, allocations: 232 kB / 397 MB, free: 13.45 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000612/0.1265, allocations: 327.8 kB / 397.3 MB, free: 13.13 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007739/0.1273, allocations: 0.6972 MB / 398 MB, free: 12.43 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001037/0.1283, allocations: 0.8789 MB / 398.9 MB, free: 11.55 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003259/0.1316, allocations: 3.172 MB / 402 MB, free: 8.367 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1316, allocations: 0 / 402 MB, free: 8.367 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1316, allocations: 0 / 402 MB, free: 8.367 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.842e-05/0.1316, allocations: 3.938 kB / 402 MB, free: 8.363 MB / 366.1 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.004098/0.1357, allocations: 2.282 MB / 404.3 MB, free: 6.039 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.1358, allocations: 8.031 kB / 404.3 MB, free: 6.031 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006465/0.1364, allocations: 247.5 kB / 404.6 MB, free: 5.789 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002092/0.1385, allocations: 1.164 MB / 405.7 MB, free: 4.586 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001033/0.1386, allocations: 127.5 kB / 405.9 MB, free: 4.461 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002492/0.1389, allocations: 159.9 kB / 406 MB, free: 4.305 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003399/0.1423, allocations: 2.1 MB / 408.1 MB, free: 2.133 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.872e-05/0.1423, allocations: 7.953 kB / 408.1 MB, free: 2.125 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001494/0.1424, allocations: 67.97 kB / 408.2 MB, free: 2.059 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.32e-05/0.1425, allocations: 74.94 kB / 408.3 MB, free: 1.984 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002925/0.1455, allocations: 1.682 MB / 410 MB, free: 304 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009107/0.1546, allocations: 6.197 MB / 416.1 MB, free: 9.785 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008663/0.1554, allocations: 455.3 kB / 416.6 MB, free: 9.332 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004487/0.1559, allocations: 258.2 kB / 416.8 MB, free: 9.078 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001733/0.1561, allocations: 40.41 kB / 416.9 MB, free: 9.039 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.985e-05/0.1561, allocations: 39.06 kB / 416.9 MB, free: 8.992 MB / 382.1 MB Notification: Performance of pre-optimization done (n=48): time 1.943e-06/0.1561, allocations: 0 / 416.9 MB, free: 8.992 MB / 382.1 MB Notification: Performance of matching and sorting (n=63): time 0.006659/0.1628, allocations: 2.91 MB / 419.8 MB, free: 6.051 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.646e-05/0.1628, allocations: 64 kB / 419.9 MB, free: 5.977 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001979/0.1648, allocations: 1.543 MB / 421.4 MB, free: 4.422 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.289e-05/0.1648, allocations: 37.7 kB / 421.5 MB, free: 4.379 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008345/0.1657, allocations: 1.068 MB / 422.5 MB, free: 3.301 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002071/0.1659, allocations: 254 kB / 422.8 MB, free: 3.051 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004187/0.1663, allocations: 319.3 kB / 423.1 MB, free: 2.734 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.1664, allocations: 301.1 kB / 423.4 MB, free: 2.438 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009269/0.1674, allocations: 0.5231 MB / 423.9 MB, free: 1.914 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001658/0.169, allocations: 1.454 MB / 425.4 MB, free: 0 / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002776/0.1718, allocations: 2.132 MB / 427.5 MB, free: 13.41 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.988e-05/0.1718, allocations: 8 kB / 427.5 MB, free: 13.4 MB / 398.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003553/0.1754, allocations: 2.163 MB / 429.7 MB, free: 11.22 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.421e-05/0.1754, allocations: 22.5 kB / 429.7 MB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.452e-05/0.1754, allocations: 36 kB / 429.7 MB, free: 11.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005486/0.176, allocations: 231 kB / 430 MB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/0.1771, allocations: 403.2 kB / 430.4 MB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001786/0.1789, allocations: 1.713 MB / 432.1 MB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001109/0.18, allocations: 147.7 kB / 432.2 MB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001596/0.1802, allocations: 96 kB / 432.3 MB, free: 8.48 MB / 398.1 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.0008063/0.181, allocations: 0.5898 MB / 432.9 MB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002231/0.1812, allocations: 147 kB / 433 MB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00212/0.1833, allocations: 1.088 MB / 434.1 MB, free: 6.617 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/0.1834, allocations: 8 kB / 434.1 MB, free: 6.609 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.1834, allocations: 0 / 434.1 MB, free: 6.609 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.1834, allocations: 0 / 434.1 MB, free: 6.609 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004391/0.1878, allocations: 2.376 MB / 436.5 MB, free: 4.152 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.1878, allocations: 4 kB / 436.5 MB, free: 4.148 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005437/0.1883, allocations: 123.8 kB / 436.6 MB, free: 4.027 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004367/0.1887, allocations: 170.6 kB / 436.8 MB, free: 3.852 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.167e-05/0.1888, allocations: 15.94 kB / 436.8 MB, free: 3.836 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001713/0.1905, allocations: 1.655 MB / 438.5 MB, free: 2.082 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1905, allocations: 0 / 438.5 MB, free: 2.082 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002697/0.1932, allocations: 1.626 MB / 440.1 MB, free: 424 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004828/0.1937, allocations: 218.9 kB / 440.3 MB, free: 204 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001324/0.1938, allocations: 12 kB / 440.3 MB, free: 192 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006087/0.1944, allocations: 56 kB / 440.4 MB, free: 136 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/0.1945, allocations: 48.41 kB / 440.4 MB, free: 88 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.205e-05/0.1946, allocations: 19.94 kB / 440.4 MB, free: 68 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001385/0.196, allocations: 0.9817 MB / 441.4 MB, free: 15.09 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.196, allocations: 0 / 441.4 MB, free: 15.09 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001301/0.1973, allocations: 363.9 kB / 441.8 MB, free: 14.73 MB / 414.1 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.0002854/0.1975, allocations: 163.2 kB / 441.9 MB, free: 14.56 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002524/0.2001, allocations: 1.421 MB / 443.4 MB, free: 13.13 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.2001, allocations: 0 / 443.4 MB, free: 13.13 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001108/0.2012, allocations: 0.5852 MB / 443.9 MB, free: 12.53 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001473/0.2027, allocations: 351.1 kB / 444.3 MB, free: 12.19 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004536/0.2072, allocations: 3.006 MB / 447.3 MB, free: 9.133 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001043/0.2082, allocations: 0.8778 MB / 448.2 MB, free: 8.219 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0008782/0.2091, allocations: 345 kB / 448.5 MB, free: 7.875 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002574/0.2094, allocations: 104.5 kB / 448.6 MB, free: 7.773 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2094, allocations: 0 / 448.6 MB, free: 7.773 MB / 414.1 MB Notification: Performance of Templates: time 0.03365/0.243, allocations: 18.89 MB / 467.5 MB, free: 5.18 MB / 430.1 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMPM_NoLoad/SMPM_NoLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.899425558978692]