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.002566/0.002566, allocations: 99.53 kB / 20.96 MB, free: 3.457 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.003101/0.003101, allocations: 160.8 kB / 24.27 MB, free: 156 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 1.684/1.684, allocations: 177 MB / 204.4 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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.1.|toSpacePhasor.y.2.|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.1.|toSpacePhasor.y.2.|hallSensor.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 272.2 MB, free: 1.812 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.572e-05/2.754e-05, allocations: 2.312 kB / 272.2 MB, free: 1.809 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.01346/0.01349, allocations: 9.009 MB / 281.2 MB, free: 8.754 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006952/0.02044, allocations: 3.112 MB / 284.3 MB, free: 5.629 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001408/0.02185, allocations: 55.62 kB / 284.4 MB, free: 5.574 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002277/0.02412, allocations: 0.6522 MB / 285 MB, free: 4.918 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002867/0.02699, allocations: 0.7917 MB / 285.8 MB, free: 4.121 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009676/0.02796, allocations: 323.4 kB / 286.1 MB, free: 3.805 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003423/0.03138, allocations: 2.221 MB / 288.4 MB, free: 1.574 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00166/0.03304, allocations: 0.8012 MB / 289.2 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1212/0.1543, allocations: 1.387 MB / 290.5 MB, free: 16.53 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002179/0.1565, allocations: 1.042 MB / 291.6 MB, free: 16.53 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005332/0.157, allocations: 231 kB / 291.8 MB, free: 16.53 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000969/0.158, allocations: 329.3 kB / 292.1 MB, free: 16.53 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000734/0.1587, allocations: 0.7218 MB / 292.9 MB, free: 16.53 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001001/0.1597, allocations: 0.757 MB / 293.6 MB, free: 16.53 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003472/0.1632, allocations: 3.185 MB / 296.8 MB, free: 16.38 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1632, allocations: 0.6875 kB / 296.8 MB, free: 16.38 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1632, allocations: 0 / 296.8 MB, free: 16.38 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.358e-05/0.1632, allocations: 2.781 kB / 296.8 MB, free: 16.38 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.004549/0.1678, allocations: 2.599 MB / 299.4 MB, free: 15.29 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.1678, allocations: 13.17 kB / 299.4 MB, free: 15.28 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008921/0.1687, allocations: 374.5 kB / 299.8 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002038/0.1707, allocations: 1.163 MB / 300.9 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.007e-05/0.1708, allocations: 114 kB / 301.1 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002312/0.171, allocations: 159.5 kB / 301.2 MB, free: 14.65 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00291/0.174, allocations: 1.939 MB / 303.1 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.157e-05/0.174, allocations: 10.77 kB / 303.2 MB, free: 13.74 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000156/0.1742, allocations: 69.2 kB / 303.2 MB, free: 13.69 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.204e-05/0.1742, allocations: 75.72 kB / 303.3 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002157/0.1764, allocations: 1.208 MB / 304.5 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009348/0.1857, allocations: 8.583 MB / 313.1 MB, free: 6.844 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006237/0.1864, allocations: 306.6 kB / 313.4 MB, free: 6.707 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002611/0.1866, allocations: 149.1 kB / 313.5 MB, free: 6.566 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001795/0.1868, allocations: 40.47 kB / 313.6 MB, free: 6.523 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.1868, allocations: 41.83 kB / 313.6 MB, free: 6.473 MB / 266.7 MB Notification: Performance of pre-optimization done (n=48): time 2.334e-06/0.1868, allocations: 0 / 313.6 MB, free: 6.473 MB / 266.7 MB Notification: Performance of matching and sorting (n=63): time 0.004495/0.1913, allocations: 1.961 MB / 315.6 MB, free: 4.5 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.192e-05/0.1914, allocations: 60.06 kB / 315.6 MB, free: 4.43 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001869/0.1932, allocations: 1.933 MB / 317.6 MB, free: 2.469 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.385e-05/0.1933, allocations: 37.7 kB / 317.6 MB, free: 2.426 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005333/0.1938, allocations: 1.233 MB / 318.8 MB, free: 1.191 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001469/0.1939, allocations: 268.7 kB / 319.1 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004183/0.1944, allocations: 393 kB / 319.5 MB, free: 0.543 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.855e-05/0.1944, allocations: 484.7 kB / 320 MB, free: 68 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007358/0.1952, allocations: 311.8 kB / 320.3 MB, free: 15.76 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002094/0.1973, allocations: 1.729 MB / 322 MB, free: 13.43 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003887/0.2011, allocations: 2.173 MB / 324.2 MB, free: 10.76 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.403e-05/0.2012, allocations: 8 kB / 324.2 MB, free: 10.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.004243/0.2054, allocations: 1.764 MB / 325.9 MB, free: 9.18 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.414e-05/0.2055, allocations: 23.98 kB / 326 MB, free: 9.156 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.102e-05/0.2055, allocations: 32 kB / 326 MB, free: 9.125 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000555/0.2061, allocations: 135 kB / 326.1 MB, free: 8.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001244/0.2073, allocations: 395.1 kB / 326.5 MB, free: 8.629 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002031/0.2093, allocations: 1.943 MB / 328.5 MB, free: 6.586 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/0.2107, allocations: 131.7 kB / 328.6 MB, free: 6.457 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001644/0.2109, allocations: 96.67 kB / 328.7 MB, free: 6.363 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.0009484/0.2119, allocations: 0.5148 MB / 329.2 MB, free: 5.871 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003218/0.2122, allocations: 175 kB / 329.4 MB, free: 5.699 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00174/0.2139, allocations: 0.6645 MB / 330 MB, free: 5.012 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.278e-06/0.2139, allocations: 8 kB / 330 MB, free: 5.004 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.2139, allocations: 7.984 kB / 330 MB, free: 4.996 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.2139, allocations: 0 / 330 MB, free: 4.996 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005451/0.2194, allocations: 2.489 MB / 332.5 MB, free: 2.453 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.2194, allocations: 0 / 332.5 MB, free: 2.453 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005437/0.2199, allocations: 114.8 kB / 332.6 MB, free: 2.348 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004125/0.2204, allocations: 95.12 kB / 332.7 MB, free: 2.242 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.017e-05/0.2204, allocations: 19.36 kB / 332.8 MB, free: 2.227 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001911/0.2223, allocations: 1.878 MB / 334.6 MB, free: 244 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.2223, allocations: 0 / 334.6 MB, free: 244 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002262/0.2246, allocations: 1.056 MB / 335.7 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006811/0.2253, allocations: 206.9 kB / 335.9 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001781/0.2254, allocations: 12 kB / 335.9 MB, free: 14.92 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00066/0.2261, allocations: 59.94 kB / 336 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001419/0.2262, allocations: 48.41 kB / 336 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.813e-05/0.2263, allocations: 16 kB / 336 MB, free: 14.8 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001797/0.2281, allocations: 1.036 MB / 337.1 MB, free: 13.77 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2281, allocations: 0 / 337.1 MB, free: 13.77 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001629/0.2297, allocations: 367.1 kB / 337.4 MB, free: 13.41 MB / 298.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.0003554/0.2301, allocations: 169.7 kB / 337.6 MB, free: 13.24 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002672/0.2327, allocations: 1.243 MB / 338.8 MB, free: 12.07 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.2327, allocations: 0 / 338.8 MB, free: 12.07 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00105/0.2338, allocations: 0.5246 MB / 339.4 MB, free: 11.52 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001843/0.2356, allocations: 367.3 kB / 339.7 MB, free: 11.18 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005291/0.2409, allocations: 2.728 MB / 342.4 MB, free: 8.387 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001114/0.242, allocations: 0.8425 MB / 343.3 MB, free: 7.508 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.001131/0.2432, allocations: 348.9 kB / 343.6 MB, free: 7.16 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002773/0.2435, allocations: 100.5 kB / 343.7 MB, free: 7.062 MB / 298.7 MB Notification: Performance of SimCode: time 1.663e-06/0.2435, allocations: 4 kB / 343.7 MB, free: 7.059 MB / 298.7 MB Notification: Performance of Templates: time 0.03701/0.2805, allocations: 18.64 MB / 362.4 MB, free: 4.781 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 5.221456985920668]