Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 119 kB / 18.5 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 190.9 kB / 21.44 MB, free: 1.633 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.48/1.48, allocations: 225.6 MB / 249.8 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2235/0.2235, allocations: 44.91 MB / 349.6 MB, free: 1.746 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Translational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Translational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 59.44 kB / 491.7 MB, free: 29.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.107, allocations: 64.26 MB / 0.543 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.00434/0.1113, allocations: 2.804 MB / 0.5457 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001853/0.1131, allocations: 0.9542 MB / 0.5466 GB, free: 388 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000222/0.1134, allocations: 11.94 kB / 0.5467 GB, free: 376 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002079/0.1136, allocations: 55.44 kB / 0.5467 GB, free: 320 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002418/0.1138, allocations: 103.1 kB / 0.5468 GB, free: 216 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004914/0.1143, allocations: 143.6 kB / 0.5469 GB, free: 72 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004961/0.1148, allocations: 386.2 kB / 0.5473 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001911/0.115, allocations: 65.42 kB / 0.5474 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001723/0.1152, allocations: 139.5 kB / 0.5475 GB, free: 15.49 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002222/0.1154, allocations: 155.3 kB / 0.5477 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.385e-05/0.1154, allocations: 27.94 kB / 0.5477 GB, free: 15.31 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000117/0.1155, allocations: 40 kB / 0.5477 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.311e-05/0.1156, allocations: 67.75 kB / 0.5478 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001694/0.1158, allocations: 163.2 kB / 0.5479 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005125/0.1163, allocations: 378.4 kB / 0.5483 GB, free: 14.67 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1163, allocations: 0 / 0.5483 GB, free: 14.67 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1163, allocations: 0 / 0.5483 GB, free: 14.67 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.904e-06/0.1163, allocations: 0 / 0.5483 GB, free: 14.67 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001109/0.1174, allocations: 0.6311 MB / 0.5489 GB, free: 13.99 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.1175, allocations: 11.97 kB / 0.5489 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.599e-05/0.1175, allocations: 70.72 kB / 0.549 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002258/0.1178, allocations: 48.73 kB / 0.549 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004464/0.1182, allocations: 276.4 kB / 0.5493 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.733e-05/0.1182, allocations: 21.03 kB / 0.5493 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.879e-05/0.1183, allocations: 40.34 kB / 0.5494 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005114/0.1188, allocations: 302.5 kB / 0.5497 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.671e-05/0.1188, allocations: 7.938 kB / 0.5497 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.093e-05/0.1189, allocations: 16 kB / 0.5497 GB, free: 13.15 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.1189, allocations: 8 kB / 0.5497 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003701/0.1193, allocations: 199.8 kB / 0.5499 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002074/0.1213, allocations: 1.284 MB / 0.5511 GB, free: 11.56 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005825/0.1219, allocations: 320.8 kB / 0.5514 GB, free: 11.2 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001627/0.1221, allocations: 96.27 kB / 0.5515 GB, free: 11.09 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.796e-05/0.1221, allocations: 12.41 kB / 0.5515 GB, free: 11.08 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.191e-05/0.1221, allocations: 46.53 kB / 0.5516 GB, free: 11.03 MB / 414.1 MB Notification: Performance of pre-optimization done (n=36): time 1.753e-06/0.1221, allocations: 0 / 0.5516 GB, free: 11.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.002773/0.1249, allocations: 1.575 MB / 0.5531 GB, free: 9.242 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001141/0.125, allocations: 162.2 kB / 0.5533 GB, free: 9.047 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002649/0.1253, allocations: 228.9 kB / 0.5535 GB, free: 8.816 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.46e-05/0.1253, allocations: 33.7 kB / 0.5535 GB, free: 8.777 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001426/0.1255, allocations: 180.5 kB / 0.5537 GB, free: 8.598 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001405/0.1256, allocations: 150.7 kB / 0.5538 GB, free: 8.449 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001242/0.1257, allocations: 86.2 kB / 0.5539 GB, free: 8.359 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.1259, allocations: 346.8 kB / 0.5543 GB, free: 8.012 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001757/0.1261, allocations: 93.03 kB / 0.5543 GB, free: 7.922 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003073/0.1264, allocations: 247.6 kB / 0.5546 GB, free: 7.613 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005294/0.1269, allocations: 375 kB / 0.5549 GB, free: 7.184 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.1269, allocations: 3.938 kB / 0.5549 GB, free: 7.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0007185/0.1276, allocations: 412.9 kB / 0.5553 GB, free: 6.77 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/0.1277, allocations: 8.375 kB / 0.5553 GB, free: 6.762 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.1277, allocations: 8 kB / 0.5554 GB, free: 6.754 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.13e-05/0.1277, allocations: 15.94 kB / 0.5554 GB, free: 6.738 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004292/0.1281, allocations: 115.8 kB / 0.5555 GB, free: 6.625 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.413e-05/0.1282, allocations: 11.98 kB / 0.5555 GB, free: 6.613 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002035/0.1284, allocations: 23.89 kB / 0.5555 GB, free: 6.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.093e-05/0.1284, allocations: 23.94 kB / 0.5555 GB, free: 6.566 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (62): * Single equations (assignments): 62 * 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.0001795/0.1286, allocations: 153.7 kB / 0.5557 GB, free: 6.406 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/0.1287, allocations: 31.81 kB / 0.5557 GB, free: 6.375 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002471/0.129, allocations: 123.5 kB / 0.5558 GB, free: 6.242 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/0.129, allocations: 7.938 kB / 0.5558 GB, free: 6.234 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.129, allocations: 4 kB / 0.5558 GB, free: 6.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.129, allocations: 7.969 kB / 0.5558 GB, free: 6.223 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001604/0.1306, allocations: 1.026 MB / 0.5568 GB, free: 5.113 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/0.1306, allocations: 4 kB / 0.5569 GB, free: 5.109 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004429/0.131, allocations: 99.83 kB / 0.5569 GB, free: 5.012 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.184e-06/0.131, allocations: 7.938 kB / 0.557 GB, free: 5.004 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.685e-05/0.1311, allocations: 16.23 kB / 0.557 GB, free: 4.988 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.162e-06/0.1311, allocations: 8 kB / 0.557 GB, free: 4.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.1311, allocations: 4 kB / 0.557 GB, free: 4.977 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009307/0.132, allocations: 0.8185 MB / 0.5578 GB, free: 4.102 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.1321, allocations: 108.9 kB / 0.5579 GB, free: 3.977 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.644e-05/0.1322, allocations: 12 kB / 0.5579 GB, free: 3.965 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003087/0.1325, allocations: 16 kB / 0.5579 GB, free: 3.949 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.147e-05/0.1325, allocations: 31.84 kB / 0.5579 GB, free: 3.918 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.159e-05/0.1326, allocations: 16.12 kB / 0.558 GB, free: 3.902 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001629/0.1327, allocations: 156.5 kB / 0.5581 GB, free: 3.75 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1327, allocations: 0 / 0.5581 GB, free: 3.75 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005769/0.1333, allocations: 80 kB / 0.5582 GB, free: 3.672 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 11 (mass5.s,mass5.v,heatCapacitor.T,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 (41): * Single equations (assignments): 41 * 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.00127/0.1346, allocations: 1.391 MB / 0.5595 GB, free: 2.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000525/0.1351, allocations: 272.6 kB / 0.5598 GB, free: 1.965 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.1351, allocations: 3.938 kB / 0.5598 GB, free: 1.961 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001911/0.1353, allocations: 123.7 kB / 0.5599 GB, free: 1.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009516/0.1362, allocations: 69.69 kB / 0.56 GB, free: 1.777 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005191/0.1414, allocations: 4.028 MB / 0.5639 GB, free: 13.49 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004553/0.1419, allocations: 0.7803 MB / 0.5647 GB, free: 12.68 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001844/0.1421, allocations: 43.25 kB / 0.5647 GB, free: 12.63 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001672/0.1422, allocations: 107.4 kB / 0.5648 GB, free: 12.53 MB / 430.1 MB Notification: Performance of SimCode: time 1.162e-06/0.1422, allocations: 0 / 0.5648 GB, free: 12.53 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0297/0.1719, allocations: 6.488 MB / 0.5712 GB, free: 6.152 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.735/8.907, allocations: 12.25 kB / 0.5712 GB, free: 6.145 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Translational_TestBraking_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Translational_TestBraking.fmu > ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_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: 12.055871956050396]