Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.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.001348/0.001348, allocations: 119.2 kB / 19.13 MB, free: 3.918 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.001421/0.001421, allocations: 210.6 kB / 22.08 MB, free: 0.9688 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.513/1.513, allocations: 227.4 MB / 252.3 MB, free: 108 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2298/0.2298, allocations: 46.18 MB / 351.8 MB, free: 14.3 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v|mass5.s|mass5.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Translational.TestBraking") translateModel(ModelicaTest.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v|mass5.s|mass5.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Translational.TestBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002294/0.002294, allocations: 80.48 kB / 490.8 MB, free: 27.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1173, allocations: 62.44 MB / 0.5403 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004802/0.1222, allocations: 3.152 MB / 0.5434 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001979/0.1242, allocations: 1.071 MB / 0.5444 GB, free: 28 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001797/0.1244, allocations: 11.94 kB / 0.5445 GB, free: 16 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002249/0.1246, allocations: 63.42 kB / 0.5445 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002315/0.1249, allocations: 118.8 kB / 0.5446 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006007/0.1255, allocations: 175.5 kB / 0.5448 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005432/0.1261, allocations: 461.9 kB / 0.5452 GB, free: 15.21 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002428/0.1263, allocations: 123.5 kB / 0.5454 GB, free: 15.08 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001887/0.1265, allocations: 167.3 kB / 0.5455 GB, free: 14.92 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002629/0.1268, allocations: 195.1 kB / 0.5457 GB, free: 14.73 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.57e-05/0.1269, allocations: 32 kB / 0.5457 GB, free: 14.7 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001576/0.127, allocations: 51.98 kB / 0.5458 GB, free: 14.64 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.255e-05/0.1271, allocations: 75.75 kB / 0.5459 GB, free: 14.57 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002038/0.1273, allocations: 199 kB / 0.546 GB, free: 14.38 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005522/0.1279, allocations: 454 kB / 0.5465 GB, free: 13.93 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1279, allocations: 0 / 0.5465 GB, free: 13.93 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1279, allocations: 0 / 0.5465 GB, free: 13.93 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.1279, allocations: 0 / 0.5465 GB, free: 13.93 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.001207/0.1291, allocations: 0.7042 MB / 0.5472 GB, free: 13.18 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.1292, allocations: 12.03 kB / 0.5472 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003085/0.1295, allocations: 68.64 kB / 0.5472 GB, free: 13.1 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004357/0.1299, allocations: 306.7 kB / 0.5475 GB, free: 12.76 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.506e-05/0.13, allocations: 21.38 kB / 0.5476 GB, free: 12.74 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.661e-05/0.1301, allocations: 44.36 kB / 0.5476 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006137/0.1307, allocations: 367.5 kB / 0.5479 GB, free: 12.31 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.564e-05/0.1307, allocations: 7.953 kB / 0.548 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.439e-05/0.1307, allocations: 16 kB / 0.548 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/0.1308, allocations: 8 kB / 0.548 GB, free: 12.28 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004904/0.1313, allocations: 247.8 kB / 0.5482 GB, free: 12.04 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002152/0.1334, allocations: 1.521 MB / 0.5497 GB, free: 10.41 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007161/0.1342, allocations: 411.6 kB / 0.5501 GB, free: 9.953 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002317/0.1344, allocations: 137.1 kB / 0.5502 GB, free: 9.801 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.017e-05/0.1344, allocations: 4 kB / 0.5502 GB, free: 9.797 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.896e-05/0.1345, allocations: 50.5 kB / 0.5503 GB, free: 9.738 MB / 414.1 MB Notification: Performance of pre-optimization done (n=43): time 2.024e-06/0.1345, allocations: 0 / 0.5503 GB, free: 9.738 MB / 414.1 MB Notification: Performance of matching and sorting (n=48): time 0.003242/0.1377, allocations: 1.991 MB / 0.5522 GB, free: 7.492 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/0.1379, allocations: 183.9 kB / 0.5524 GB, free: 7.27 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002757/0.1382, allocations: 254.9 kB / 0.5526 GB, free: 7.012 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.607e-05/0.1382, allocations: 37.7 kB / 0.5527 GB, free: 6.969 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/0.1383, allocations: 204.7 kB / 0.5529 GB, free: 6.766 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001388/0.1385, allocations: 190.4 kB / 0.5531 GB, free: 6.578 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001438/0.1386, allocations: 102.3 kB / 0.5532 GB, free: 6.473 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.1388, allocations: 350.7 kB / 0.5535 GB, free: 6.121 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002421/0.1391, allocations: 121.2 kB / 0.5536 GB, free: 6 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003693/0.1394, allocations: 292 kB / 0.5539 GB, free: 5.641 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006591/0.1401, allocations: 469.7 kB / 0.5543 GB, free: 5.105 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1401, allocations: 0 / 0.5543 GB, free: 5.105 MB / 414.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008147/0.1409, allocations: 497.5 kB / 0.5548 GB, free: 4.613 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.141, allocations: 8 kB / 0.5548 GB, free: 4.605 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.141, allocations: 4 kB / 0.5548 GB, free: 4.602 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.31e-05/0.141, allocations: 12 kB / 0.5548 GB, free: 4.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006909/0.1417, allocations: 143.8 kB / 0.555 GB, free: 4.449 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.81e-05/0.1418, allocations: 15.92 kB / 0.555 GB, free: 4.434 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004277/0.1422, allocations: 23.95 kB / 0.555 GB, free: 4.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.189e-05/0.1423, allocations: 24 kB / 0.555 GB, free: 4.387 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002914/0.1426, allocations: 173.8 kB / 0.5552 GB, free: 4.207 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002679/0.1429, allocations: 43.75 kB / 0.5552 GB, free: 4.164 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003787/0.1433, allocations: 127.4 kB / 0.5554 GB, free: 4.031 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.607e-05/0.1433, allocations: 8 kB / 0.5554 GB, free: 4.023 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.391e-05/0.1433, allocations: 7.922 kB / 0.5554 GB, free: 4.016 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/0.1434, allocations: 0 / 0.5554 GB, free: 4.016 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003364/0.1467, allocations: 1.253 MB / 0.5566 GB, free: 2.672 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.257e-05/0.1468, allocations: 4 kB / 0.5566 GB, free: 2.668 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001067/0.1478, allocations: 115.9 kB / 0.5567 GB, free: 2.555 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.437e-05/0.1479, allocations: 4 kB / 0.5567 GB, free: 2.551 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.241e-05/0.1479, allocations: 16 kB / 0.5567 GB, free: 2.535 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.91e-05/0.148, allocations: 11.94 kB / 0.5567 GB, free: 2.523 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.693e-06/0.148, allocations: 4 kB / 0.5567 GB, free: 2.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001747/0.1497, allocations: 1.008 MB / 0.5577 GB, free: 1.453 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001342/0.1499, allocations: 112.9 kB / 0.5578 GB, free: 1.324 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.009e-05/0.15, allocations: 12 kB / 0.5578 GB, free: 1.312 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006927/0.1507, allocations: 16.19 kB / 0.5579 GB, free: 1.297 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/0.1508, allocations: 43.83 kB / 0.5579 GB, free: 1.254 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-05/0.1509, allocations: 23.94 kB / 0.5579 GB, free: 1.23 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000313/0.1512, allocations: 178 kB / 0.5581 GB, free: 1.059 MB / 414.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1512, allocations: 0 / 0.5581 GB, free: 1.059 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001226/0.1525, allocations: 96 kB / 0.5582 GB, free: 0.9648 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 13 (mass5.s,mass5.v,heatCapacitor.T,mass6.s,mass6.v,mass4.s,mass4.v,mass3.s,mass3.v,mass2.s,mass2.v,mass1.s,mass1.v) * 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 (49): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000227/0.1527, allocations: 123.8 kB / 0.5583 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001213/0.154, allocations: 351.7 kB / 0.5586 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.154, allocations: 0 / 0.5586 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005265/0.1545, allocations: 175.7 kB / 0.5588 GB, free: 328 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001812/0.1563, allocations: 97.05 kB / 0.5589 GB, free: 240 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004308/0.1607, allocations: 1.518 MB / 0.5604 GB, free: 14.63 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000695/0.1614, allocations: 0.8156 MB / 0.5612 GB, free: 13.79 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002074/0.1616, allocations: 35.44 kB / 0.5612 GB, free: 13.75 MB / 430.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1616, allocations: 0 / 0.5612 GB, free: 13.75 MB / 430.1 MB Notification: Performance of Templates: time 0.01414/0.1758, allocations: 4.779 MB / 0.5659 GB, free: 8.98 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.sim & ./ModelicaTest_trunk_ModelicaTest.Translational.TestBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Translational/TestBraking/TestBraking.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.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: 7.964416925096884]