Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.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.001032/0.001032, allocations: 82.59 kB / 21.42 MB, free: 3.07 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.001189/0.001189, allocations: 167.5 kB / 24.82 MB, free: 9.324 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 0.9689/0.9689, allocations: 177 MB / 205.1 MB, free: 5.461 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.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.[0-9,]+.|smr.idq_rr.[0-9,]+.|smr.idq_sr.[0-9,]+.",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.[0-9,]+.|smr.idq_rr.[0-9,]+.|smr.idq_sr.[0-9,]+.",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.502e-06/1.502e-06, allocations: 0 / 273.3 MB, free: 1.191 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.291e-05/2.442e-05, allocations: 2.312 kB / 273.3 MB, free: 1.188 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.01036/0.01038, allocations: 9.886 MB / 283.2 MB, free: 7.254 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00589/0.01627, allocations: 3.252 MB / 286.5 MB, free: 3.992 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001343/0.01762, allocations: 71.5 kB / 286.6 MB, free: 3.922 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001563/0.01918, allocations: 0.7023 MB / 287.3 MB, free: 3.215 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002241/0.02142, allocations: 0.9313 MB / 288.2 MB, free: 2.277 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008262/0.02225, allocations: 431.2 kB / 288.6 MB, free: 1.855 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1196/0.1418, allocations: 3.082 MB / 291.7 MB, free: 16.11 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00208/0.1439, allocations: 1.339 MB / 293 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003207/0.1471, allocations: 2.285 MB / 295.3 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002354/0.1495, allocations: 1.534 MB / 296.9 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001024/0.1505, allocations: 346.7 kB / 297.2 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001129/0.1516, allocations: 450.5 kB / 297.6 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008155/0.1524, allocations: 1.029 MB / 298.7 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002033/0.1545, allocations: 1.087 MB / 299.7 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003317/0.1578, allocations: 2.597 MB / 302.3 MB, free: 14.18 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.1578, allocations: 0 / 302.3 MB, free: 14.18 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1578, allocations: 1 kB / 302.3 MB, free: 14.18 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001251/0.1579, allocations: 0 / 302.3 MB, free: 14.18 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: 606 * Number of variables: 606 Notification: Performance of Generate backend data structure: time 0.004233/0.1622, allocations: 3.312 MB / 305.7 MB, free: 12.3 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/0.1622, allocations: 10.38 kB / 305.7 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009231/0.1631, allocations: 0.552 MB / 306.2 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001711/0.1648, allocations: 1.566 MB / 307.8 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.883e-05/0.1649, allocations: 173.7 kB / 308 MB, free: 11.13 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002016/0.1651, allocations: 235.2 kB / 308.2 MB, free: 11.06 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001877/0.167, allocations: 1.763 MB / 309.9 MB, free: 10.35 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.354e-05/0.167, allocations: 7.188 kB / 310 MB, free: 10.34 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001255/0.1672, allocations: 99.38 kB / 310.1 MB, free: 10.27 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.949e-05/0.1672, allocations: 105 kB / 310.2 MB, free: 10.25 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008951/0.1681, allocations: 0.6987 MB / 310.9 MB, free: 9.984 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006558/0.1747, allocations: 7.764 MB / 318.6 MB, free: 2.59 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008028/0.1755, allocations: 0.7615 MB / 319.4 MB, free: 1.871 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005295/0.176, allocations: 492.5 kB / 319.9 MB, free: 1.402 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001331/0.1762, allocations: 56.97 kB / 319.9 MB, free: 1.344 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.1762, allocations: 46.39 kB / 320 MB, free: 1.289 MB / 266.7 MB Notification: Performance of pre-optimization done (n=116): time 2.825e-06/0.1762, allocations: 0 / 320 MB, free: 1.289 MB / 266.7 MB Notification: Performance of matching and sorting (n=131): time 0.004169/0.1804, allocations: 2.67 MB / 322.6 MB, free: 14.64 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/0.1804, allocations: 68.72 kB / 322.7 MB, free: 14.55 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001224/0.1816, allocations: 1.377 MB / 324.1 MB, free: 13.37 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.935e-05/0.1817, allocations: 49.7 kB / 324.1 MB, free: 13.32 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005853/0.1822, allocations: 1.298 MB / 325.4 MB, free: 12.07 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002533/0.1825, allocations: 482.1 kB / 325.9 MB, free: 11.63 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002833/0.1828, allocations: 301 kB / 326.2 MB, free: 11.36 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.272e-05/0.1829, allocations: 476.8 kB / 326.7 MB, free: 10.89 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002638/0.1831, allocations: 179.8 kB / 326.8 MB, free: 10.71 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007339/0.1839, allocations: 0.7632 MB / 327.6 MB, free: 9.762 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008685/0.1847, allocations: 1.079 MB / 328.7 MB, free: 8.535 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.134e-06/0.1848, allocations: 4 kB / 328.7 MB, free: 8.531 MB / 282.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.00156/0.1863, allocations: 1.297 MB / 330 MB, free: 7.301 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.1863, allocations: 19.94 kB / 330 MB, free: 7.285 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.943e-05/0.1864, allocations: 12 kB / 330 MB, free: 7.273 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005023/0.1869, allocations: 241 kB / 330.2 MB, free: 7.027 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006377/0.1875, allocations: 321.5 kB / 330.6 MB, free: 6.734 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003522/0.191, allocations: 6.441 MB / 337 MB, free: 44 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007254/0.1917, allocations: 66.7 kB / 337.1 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.865e-05/0.1918, allocations: 48 kB / 337.1 MB, free: 15.93 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(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): 3 systems {(3,11,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005641/0.1924, allocations: 252 kB / 337.3 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002483/0.1926, allocations: 226.8 kB / 337.6 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0013/0.1939, allocations: 1.055 MB / 338.6 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-06/0.1939, allocations: 16 kB / 338.6 MB, free: 14.4 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.1939, allocations: 7.938 kB / 338.6 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.1939, allocations: 7.547 kB / 338.7 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003782/0.1977, allocations: 3.165 MB / 341.8 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.1977, allocations: 0 / 341.8 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004717/0.1982, allocations: 210.7 kB / 342 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008098/0.199, allocations: 267.2 kB / 342.3 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.297e-05/0.1991, allocations: 35.98 kB / 342.3 MB, free: 10.97 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003951/0.203, allocations: 8.162 MB / 350.5 MB, free: 2.453 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.203, allocations: 11.94 kB / 350.5 MB, free: 2.441 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00187/0.2049, allocations: 1.556 MB / 352.1 MB, free: 0.832 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004767/0.2054, allocations: 290.7 kB / 352.3 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001216/0.2055, allocations: 28 kB / 352.4 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003865/0.2059, allocations: 51.97 kB / 352.4 MB, free: 480 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001663/0.2061, allocations: 112.1 kB / 352.5 MB, free: 368 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.79e-05/0.2061, allocations: 32 kB / 352.6 MB, free: 336 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006873/0.2068, allocations: 0.7497 MB / 353.3 MB, free: 15.65 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2068, allocations: 0 / 353.3 MB, free: 15.65 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00128/0.2081, allocations: 0.4921 MB / 353.8 MB, free: 15.16 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],loadInertia.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,11,100.0%), (1,1,100.0%), (1,6,100.0%), (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.0002763/0.2084, allocations: 197.1 kB / 354 MB, free: 14.97 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001428/0.2098, allocations: 1.432 MB / 355.4 MB, free: 13.56 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.2098, allocations: 4 kB / 355.4 MB, free: 13.55 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009226/0.2107, allocations: 1.205 MB / 356.6 MB, free: 12.32 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001361/0.2121, allocations: 434.4 kB / 357.1 MB, free: 11.92 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004924/0.217, allocations: 4.196 MB / 361.3 MB, free: 7.652 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005221/0.2175, allocations: 0.6599 MB / 361.9 MB, free: 6.961 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005683/0.2181, allocations: 230.5 kB / 362.1 MB, free: 6.73 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006868/0.2188, allocations: 489.9 kB / 362.6 MB, free: 6.25 MB / 314.7 MB Notification: Performance of SimCode: time 1.242e-06/0.2188, allocations: 0 / 362.6 MB, free: 6.25 MB / 314.7 MB Notification: Performance of Templates: time 0.04041/0.2592, allocations: 27.65 MB / 390.3 MB, free: 11.09 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMR_DOL/SMR_DOL.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.4127899860031903]