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.0009249/0.0009249, allocations: 91.5 kB / 21.2 MB, free: 3.371 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.0009447/0.0009447, allocations: 160.5 kB / 24.55 MB, free: 16 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 0.926/0.926, allocations: 177 MB / 204.8 MB, free: 5.598 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.152e-06/1.152e-06, allocations: 0 / 272.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.578e-05/1.693e-05, allocations: 5.125 kB / 272.9 MB, free: 1.445 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.008054/0.008071, allocations: 10.17 MB / 283.1 MB, free: 7.223 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004814/0.01288, allocations: 3.275 MB / 286.4 MB, free: 3.938 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008877/0.01377, allocations: 71.5 kB / 286.4 MB, free: 3.867 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001194/0.01497, allocations: 0.6985 MB / 287.1 MB, free: 3.164 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001736/0.0167, allocations: 0.9235 MB / 288.1 MB, free: 2.234 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006568/0.01736, allocations: 431.3 kB / 288.5 MB, free: 1.812 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.12/0.1373, allocations: 3.088 MB / 291.6 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001852/0.1392, allocations: 1.337 MB / 292.9 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002907/0.1421, allocations: 2.288 MB / 295.2 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002122/0.1442, allocations: 1.526 MB / 296.7 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007073/0.1449, allocations: 342.7 kB / 297.1 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008742/0.1458, allocations: 448.9 kB / 297.5 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008021/0.1466, allocations: 1.027 MB / 298.5 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001331/0.1479, allocations: 1.092 MB / 299.6 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002572/0.1505, allocations: 2.599 MB / 302.2 MB, free: 13.82 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1505, allocations: 0 / 302.2 MB, free: 13.82 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1505, allocations: 0 / 302.2 MB, free: 13.82 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.923e-05/0.1505, allocations: 1.375 kB / 302.2 MB, free: 13.82 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.003874/0.1544, allocations: 3.388 MB / 305.6 MB, free: 11.82 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.1544, allocations: 10.5 kB / 305.6 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009605/0.1554, allocations: 0.555 MB / 306.2 MB, free: 11.58 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001864/0.1573, allocations: 1.655 MB / 307.8 MB, free: 10.72 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.809e-05/0.1574, allocations: 176 kB / 308 MB, free: 10.64 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002517/0.1576, allocations: 237.8 kB / 308.2 MB, free: 10.56 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002592/0.1602, allocations: 1.919 MB / 310.1 MB, free: 9.648 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.235e-05/0.1603, allocations: 8.312 kB / 310.2 MB, free: 9.645 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001652/0.1604, allocations: 90.91 kB / 310.2 MB, free: 9.574 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.349e-05/0.1605, allocations: 104.5 kB / 310.3 MB, free: 9.559 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001799/0.1623, allocations: 0.8727 MB / 311.2 MB, free: 9.234 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00729/0.1696, allocations: 7.879 MB / 319.1 MB, free: 1.328 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001163/0.1708, allocations: 0.8224 MB / 319.9 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008435/0.1716, allocations: 0.5402 MB / 320.5 MB, free: 15.98 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001654/0.1718, allocations: 52.97 kB / 320.5 MB, free: 15.93 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.1718, allocations: 57.94 kB / 320.6 MB, free: 15.87 MB / 282.7 MB Notification: Performance of pre-optimization done (n=116): time 2.886e-06/0.1718, allocations: 0 / 320.6 MB, free: 15.87 MB / 282.7 MB Notification: Performance of matching and sorting (n=131): time 0.006337/0.1782, allocations: 3.335 MB / 323.9 MB, free: 12.52 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.1782, allocations: 68.72 kB / 324 MB, free: 12.44 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001513/0.1797, allocations: 1.421 MB / 325.4 MB, free: 11 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.991e-05/0.1798, allocations: 49.69 kB / 325.4 MB, free: 10.95 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000739/0.1805, allocations: 1.28 MB / 326.7 MB, free: 9.652 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000306/0.1808, allocations: 485.2 kB / 327.2 MB, free: 9.188 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000375/0.1812, allocations: 293.1 kB / 327.5 MB, free: 8.891 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.1813, allocations: 476.8 kB / 327.9 MB, free: 8.422 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004898/0.1818, allocations: 235.8 kB / 328.2 MB, free: 8.191 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007887/0.1826, allocations: 0.8135 MB / 329 MB, free: 7.156 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001369/0.1839, allocations: 1.169 MB / 330.2 MB, free: 5.809 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.674e-06/0.1839, allocations: 7.625 kB / 330.2 MB, free: 5.805 MB / 282.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.002243/0.1862, allocations: 1.431 MB / 331.6 MB, free: 4.438 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.1862, allocations: 20.55 kB / 331.6 MB, free: 4.418 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.335e-05/0.1863, allocations: 15.98 kB / 331.6 MB, free: 4.402 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006351/0.1869, allocations: 242.7 kB / 331.9 MB, free: 4.148 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009011/0.1878, allocations: 348.6 kB / 332.2 MB, free: 3.828 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004393/0.1922, allocations: 6.604 MB / 338.8 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006394/0.1928, allocations: 91.88 kB / 338.9 MB, free: 12.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-05/0.1929, allocations: 67.98 kB / 339 MB, free: 12.75 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.0004061/0.1933, allocations: 249.7 kB / 339.2 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002753/0.1936, allocations: 230.8 kB / 339.4 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00185/0.1955, allocations: 1.165 MB / 340.6 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.1955, allocations: 12 kB / 340.6 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1955, allocations: 4 kB / 340.6 MB, free: 11.1 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/0.1955, allocations: 7.969 kB / 340.6 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004555/0.2, allocations: 3.289 MB / 343.9 MB, free: 7.742 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.2, allocations: 4 kB / 343.9 MB, free: 7.738 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006578/0.2007, allocations: 221.2 kB / 344.1 MB, free: 7.535 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006946/0.2014, allocations: 277.4 kB / 344.4 MB, free: 7.25 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-05/0.2015, allocations: 35.98 kB / 344.4 MB, free: 7.215 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005538/0.207, allocations: 8.347 MB / 352.8 MB, free: 14.43 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.207, allocations: 4 kB / 352.8 MB, free: 14.43 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002765/0.2098, allocations: 1.709 MB / 354.5 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005702/0.2103, allocations: 318.6 kB / 354.8 MB, free: 12.33 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001955/0.2105, allocations: 31.98 kB / 354.8 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006585/0.2112, allocations: 68 kB / 354.9 MB, free: 12.23 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002536/0.2115, allocations: 128 kB / 355 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-05/0.2115, allocations: 39.98 kB / 355.1 MB, free: 12.07 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001144/0.2127, allocations: 0.8126 MB / 355.9 MB, free: 11.26 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2127, allocations: 0 / 355.9 MB, free: 11.26 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001499/0.2142, allocations: 0.4921 MB / 356.4 MB, free: 10.77 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.0003344/0.2145, allocations: 207.3 kB / 356.6 MB, free: 10.57 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00231/0.2168, allocations: 1.527 MB / 358.1 MB, free: 9.039 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.2168, allocations: 4 kB / 358.1 MB, free: 9.035 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001486/0.2183, allocations: 1.269 MB / 359.4 MB, free: 7.723 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001884/0.2202, allocations: 430.8 kB / 359.8 MB, free: 7.324 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00655/0.2268, allocations: 4.246 MB / 364.1 MB, free: 2.988 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006817/0.2274, allocations: 0.6599 MB / 364.7 MB, free: 2.297 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0009009/0.2283, allocations: 346.2 kB / 365 MB, free: 1.953 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003478/0.2287, allocations: 120.5 kB / 365.2 MB, free: 1.836 MB / 314.7 MB Notification: Performance of SimCode: time 8.42e-07/0.2287, allocations: 7.938 kB / 365.2 MB, free: 1.828 MB / 314.7 MB Notification: Performance of Templates: time 0.03244/0.2611, allocations: 27.12 MB / 392.3 MB, free: 7.133 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.2679248116910458]