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.001259/0.001259, allocations: 80.28 kB / 21.25 MB, free: 0.543 MB / 14.72 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.001449/0.001449, allocations: 160 kB / 24.5 MB, free: 3.723 MB / 14.72 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.44/1.44, allocations: 177.1 MB / 204.7 MB, free: 9 MB / 190.1 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 0.001899/0.001899, allocations: 61.61 kB / 325.5 MB, free: 200 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09466/0.09656, allocations: 53.38 MB / 378.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.01094/0.1075, allocations: 8.091 MB / 387 MB, free: 7.348 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006199/0.1137, allocations: 2.984 MB / 390 MB, free: 4.348 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001058/0.1148, allocations: 55.62 kB / 390.1 MB, free: 4.293 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00182/0.1166, allocations: 0.6484 MB / 390.7 MB, free: 3.641 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002151/0.1187, allocations: 0.7651 MB / 391.5 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007812/0.1195, allocations: 319.5 kB / 391.8 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003342/0.1229, allocations: 2.144 MB / 393.9 MB, free: 416 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001405/0.1243, allocations: 0.7974 MB / 394.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001639/0.1259, allocations: 0.9576 MB / 395.7 MB, free: 14.59 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001633/0.1275, allocations: 1.086 MB / 396.8 MB, free: 13.5 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003346/0.1279, allocations: 236 kB / 397 MB, free: 13.27 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006426/0.1285, allocations: 323.8 kB / 397.3 MB, free: 12.96 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007668/0.1293, allocations: 0.6933 MB / 398 MB, free: 12.26 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001025/0.1303, allocations: 0.8867 MB / 398.9 MB, free: 11.37 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003452/0.1338, allocations: 3.172 MB / 402.1 MB, free: 8.188 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.1338, allocations: 4 kB / 402.1 MB, free: 8.184 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1338, allocations: 0 / 402.1 MB, free: 8.184 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.552e-05/0.1338, allocations: 3.938 kB / 402.1 MB, free: 8.18 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.005038/0.1389, allocations: 2.274 MB / 404.3 MB, free: 5.863 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.1389, allocations: 15.92 kB / 404.4 MB, free: 5.848 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007757/0.1397, allocations: 247.5 kB / 404.6 MB, free: 5.605 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00231/0.142, allocations: 1.172 MB / 405.8 MB, free: 4.395 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.881e-05/0.1421, allocations: 111.5 kB / 405.9 MB, free: 4.285 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002445/0.1424, allocations: 159.9 kB / 406 MB, free: 4.129 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003556/0.1459, allocations: 2.104 MB / 408.1 MB, free: 1.953 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.085e-05/0.146, allocations: 11.95 kB / 408.2 MB, free: 1.941 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001503/0.1461, allocations: 60 kB / 408.2 MB, free: 1.883 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-05/0.1462, allocations: 82.92 kB / 408.3 MB, free: 1.801 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002968/0.1492, allocations: 1.671 MB / 410 MB, free: 128 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009448/0.1586, allocations: 6.212 MB / 416.2 MB, free: 9.598 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008662/0.1595, allocations: 442.4 kB / 416.6 MB, free: 9.156 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004594/0.16, allocations: 270.2 kB / 416.9 MB, free: 8.891 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001769/0.1601, allocations: 40.47 kB / 416.9 MB, free: 8.852 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/0.1602, allocations: 35.06 kB / 416.9 MB, free: 8.809 MB / 382.1 MB Notification: Performance of pre-optimization done (n=48): time 2.354e-06/0.1602, allocations: 0 / 416.9 MB, free: 8.809 MB / 382.1 MB Notification: Performance of matching and sorting (n=63): time 0.006833/0.167, allocations: 2.906 MB / 419.9 MB, free: 5.871 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.167, allocations: 60.06 kB / 419.9 MB, free: 5.801 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002045/0.1691, allocations: 1.539 MB / 421.5 MB, free: 4.25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.892e-05/0.1691, allocations: 33.7 kB / 421.5 MB, free: 4.211 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008191/0.17, allocations: 1.071 MB / 422.6 MB, free: 3.129 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002103/0.1702, allocations: 257.9 kB / 422.8 MB, free: 2.875 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004223/0.1706, allocations: 323.3 kB / 423.1 MB, free: 2.555 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.1707, allocations: 305.1 kB / 423.4 MB, free: 2.254 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000923/0.1716, allocations: 0.5231 MB / 423.9 MB, free: 1.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001666/0.1733, allocations: 1.454 MB / 425.4 MB, free: 15.82 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00276/0.1761, allocations: 2.128 MB / 427.5 MB, free: 13.23 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-05/0.1761, allocations: 12 kB / 427.5 MB, free: 13.22 MB / 398.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003618/0.1797, allocations: 2.16 MB / 429.7 MB, free: 11.04 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.53e-05/0.1797, allocations: 20 kB / 429.7 MB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.611e-05/0.1798, allocations: 32 kB / 429.7 MB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005686/0.1803, allocations: 230.4 kB / 430 MB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/0.1815, allocations: 399.2 kB / 430.4 MB, free: 10.37 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001848/0.1834, allocations: 1.721 MB / 432.1 MB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001211/0.1846, allocations: 147.7 kB / 432.2 MB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001228/0.1847, allocations: 92 kB / 432.3 MB, free: 8.309 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.0008745/0.1856, allocations: 0.5867 MB / 432.9 MB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002224/0.1858, allocations: 151 kB / 433.1 MB, free: 7.562 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001999/0.1878, allocations: 1.088 MB / 434.1 MB, free: 6.441 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.1878, allocations: 8 kB / 434.1 MB, free: 6.434 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/0.1878, allocations: 3.984 kB / 434.2 MB, free: 6.43 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.1878, allocations: 0 / 434.2 MB, free: 6.43 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004463/0.1923, allocations: 2.376 MB / 436.5 MB, free: 3.977 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.944e-06/0.1923, allocations: 7.984 kB / 436.5 MB, free: 3.969 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005075/0.1928, allocations: 123.8 kB / 436.7 MB, free: 3.848 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004273/0.1932, allocations: 158.4 kB / 436.8 MB, free: 3.684 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.421e-05/0.1933, allocations: 19.92 kB / 436.8 MB, free: 3.664 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001701/0.195, allocations: 1.655 MB / 438.5 MB, free: 1.91 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.195, allocations: 4.031 kB / 438.5 MB, free: 1.906 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0028/0.1978, allocations: 1.63 MB / 440.1 MB, free: 236 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000615/0.1984, allocations: 215 kB / 440.3 MB, free: 20 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001335/0.1985, allocations: 12 kB / 440.3 MB, free: 8 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006404/0.1992, allocations: 51.94 kB / 440.4 MB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.1993, allocations: 48.41 kB / 440.4 MB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.53e-05/0.1993, allocations: 16 kB / 440.5 MB, free: 15.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001486/0.2008, allocations: 0.9818 MB / 441.4 MB, free: 14.91 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2008, allocations: 0 / 441.4 MB, free: 14.91 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001378/0.2022, allocations: 363.9 kB / 441.8 MB, free: 14.56 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.0002923/0.2025, allocations: 165.2 kB / 442 MB, free: 14.39 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002729/0.2052, allocations: 1.428 MB / 443.4 MB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.2052, allocations: 0 / 443.4 MB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001062/0.2063, allocations: 0.5774 MB / 444 MB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001511/0.2078, allocations: 365.1 kB / 444.3 MB, free: 12.01 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004961/0.2128, allocations: 2.994 MB / 447.3 MB, free: 8.965 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001042/0.2138, allocations: 0.8777 MB / 448.2 MB, free: 8.051 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0009865/0.2148, allocations: 341 kB / 448.5 MB, free: 7.711 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002621/0.2151, allocations: 108.5 kB / 448.6 MB, free: 7.605 MB / 414.1 MB Notification: Performance of SimCode: time 9.11e-07/0.2151, allocations: 4 kB / 448.6 MB, free: 7.602 MB / 414.1 MB Notification: Performance of Templates: time 0.03455/0.2496, allocations: 18.88 MB / 467.5 MB, free: 5.004 MB / 430.1 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_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.142415106063709]