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.001428/0.001428, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001035/0.001035, allocations: 160.4 kB / 24.99 MB, free: 8.219 MB / 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 1.019/1.019, allocations: 177 MB / 205.2 MB, free: 5.582 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 1.473e-06/1.473e-06, allocations: 0 / 273 MB, free: 1.734 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.696e-05/1.844e-05, allocations: 2.312 kB / 273 MB, free: 1.73 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.008108/0.008127, allocations: 9.06 MB / 282.1 MB, free: 8.625 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005001/0.01313, allocations: 3.112 MB / 285.2 MB, free: 5.5 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005119/0.01364, allocations: 59.62 kB / 285.2 MB, free: 5.441 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001031/0.01467, allocations: 0.6598 MB / 285.9 MB, free: 4.777 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001156/0.01583, allocations: 0.784 MB / 286.7 MB, free: 3.988 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003796/0.01621, allocations: 323.4 kB / 287 MB, free: 3.672 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001565/0.01777, allocations: 2.228 MB / 289.2 MB, free: 1.438 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007893/0.01856, allocations: 0.809 MB / 290 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1422/0.1608, allocations: 1.385 MB / 291.4 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001644/0.1624, allocations: 1.047 MB / 292.5 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004821/0.1629, allocations: 231.2 kB / 292.7 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005424/0.1635, allocations: 323.2 kB / 293 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005294/0.164, allocations: 0.7247 MB / 293.7 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009334/0.1649, allocations: 0.7544 MB / 294.5 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002008/0.1669, allocations: 1.732 MB / 296.2 MB, free: 15.79 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.1669, allocations: 1.812 kB / 296.2 MB, free: 15.79 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.1669, allocations: 0 / 296.2 MB, free: 15.79 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.376e-05/0.167, allocations: 0.8125 kB / 296.2 MB, free: 15.79 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.003157/0.1702, allocations: 2.428 MB / 298.6 MB, free: 14.69 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.952e-05/0.1702, allocations: 12.8 kB / 298.6 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006827/0.1709, allocations: 380.5 kB / 299 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001403/0.1723, allocations: 1.147 MB / 300.2 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.696e-05/0.1723, allocations: 121.1 kB / 300.3 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001671/0.1725, allocations: 156.8 kB / 300.4 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001764/0.1743, allocations: 1.297 MB / 301.7 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.679e-05/0.1743, allocations: 2.875 kB / 301.7 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/0.1744, allocations: 65.09 kB / 301.8 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-05/0.1745, allocations: 78.83 kB / 301.9 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001186/0.1757, allocations: 0.5947 MB / 302.5 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004747/0.1804, allocations: 6.294 MB / 308.8 MB, free: 9.754 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003754/0.1808, allocations: 240.3 kB / 309 MB, free: 9.676 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001435/0.1809, allocations: 119.6 kB / 309.1 MB, free: 9.641 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001235/0.1811, allocations: 41.56 kB / 309.2 MB, free: 9.641 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.1811, allocations: 44.48 kB / 309.2 MB, free: 9.59 MB / 266.7 MB Notification: Performance of pre-optimization done (n=48): time 2.184e-06/0.1811, allocations: 0 / 309.2 MB, free: 9.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=63): time 0.002485/0.1836, allocations: 1.794 MB / 311 MB, free: 8.805 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.867e-05/0.1836, allocations: 63.09 kB / 311.1 MB, free: 8.738 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0011/0.1847, allocations: 1.431 MB / 312.5 MB, free: 7.895 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.055e-05/0.1847, allocations: 33.7 kB / 312.5 MB, free: 7.855 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000392/0.1851, allocations: 1.154 MB / 313.7 MB, free: 6.844 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.1852, allocations: 252.2 kB / 313.9 MB, free: 6.637 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002447/0.1855, allocations: 332.2 kB / 314.2 MB, free: 6.426 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.198e-05/0.1855, allocations: 484 kB / 314.7 MB, free: 5.953 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000283/0.1858, allocations: 183 kB / 314.9 MB, free: 5.895 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005648/0.1863, allocations: 1.545 MB / 316.4 MB, free: 3.801 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001033/0.1874, allocations: 1.902 MB / 318.3 MB, free: 1.406 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.1e-05/0.1874, allocations: 8 kB / 318.4 MB, free: 1.398 MB / 266.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.001541/0.1889, allocations: 1.509 MB / 319.9 MB, free: 80 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.1889, allocations: 20 kB / 319.9 MB, free: 60 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.769e-05/0.189, allocations: 32 kB / 319.9 MB, free: 28 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003119/0.1893, allocations: 135.6 kB / 320 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006526/0.1899, allocations: 390.3 kB / 320.4 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001034/0.191, allocations: 1.924 MB / 322.4 MB, free: 13.52 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006349/0.1916, allocations: 139.6 kB / 322.5 MB, free: 13.38 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.52e-05/0.1917, allocations: 92 kB / 322.6 MB, free: 13.29 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.0003297/0.192, allocations: 288.6 kB / 322.9 MB, free: 13.03 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001722/0.1922, allocations: 175 kB / 323 MB, free: 12.86 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008173/0.193, allocations: 0.5989 MB / 323.6 MB, free: 12.23 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.193, allocations: 8 kB / 323.6 MB, free: 12.22 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.193, allocations: 0 / 323.6 MB, free: 12.22 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.193, allocations: 3.984 kB / 323.6 MB, free: 12.22 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002275/0.1953, allocations: 1.991 MB / 325.6 MB, free: 10.17 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.1953, allocations: 8.156 kB / 325.6 MB, free: 10.16 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002634/0.1956, allocations: 114.6 kB / 325.8 MB, free: 10.05 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002145/0.1958, allocations: 96.78 kB / 325.8 MB, free: 9.953 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.886e-05/0.1958, allocations: 12 kB / 325.9 MB, free: 9.941 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008857/0.1967, allocations: 1.872 MB / 327.7 MB, free: 7.969 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.1967, allocations: 0 / 327.7 MB, free: 7.969 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009935/0.1977, allocations: 0.9118 MB / 328.6 MB, free: 7.012 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002635/0.1979, allocations: 207 kB / 328.8 MB, free: 6.809 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.198, allocations: 16 kB / 328.9 MB, free: 6.793 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003169/0.1984, allocations: 47.95 kB / 328.9 MB, free: 6.746 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.879e-05/0.1984, allocations: 52.41 kB / 329 MB, free: 6.695 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.579e-05/0.1985, allocations: 16 kB / 329 MB, free: 6.68 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0007479/0.1992, allocations: 0.7632 MB / 329.7 MB, free: 5.918 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.1992, allocations: 0 / 329.7 MB, free: 5.918 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008605/0.2001, allocations: 363.9 kB / 330.1 MB, free: 5.562 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.0002395/0.2003, allocations: 166.1 kB / 330.3 MB, free: 5.398 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001306/0.2016, allocations: 1.027 MB / 331.3 MB, free: 4.449 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2016, allocations: 4 kB / 331.3 MB, free: 4.445 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004656/0.2021, allocations: 478.2 kB / 331.8 MB, free: 3.965 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000927/0.203, allocations: 369 kB / 332.1 MB, free: 3.637 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003256/0.2063, allocations: 2.598 MB / 334.7 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002816/0.2066, allocations: 402.4 kB / 335.1 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0005864/0.2071, allocations: 344.9 kB / 335.4 MB, free: 220 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001682/0.2073, allocations: 104.5 kB / 335.5 MB, free: 116 kB / 282.7 MB Notification: Performance of SimCode: time 1.343e-06/0.2073, allocations: 0 / 335.5 MB, free: 116 kB / 282.7 MB Notification: Performance of Templates: time 0.02262/0.2299, allocations: 18.67 MB / 354.2 MB, free: 13.81 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.128885701065883]