Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00166/0.00166, allocations: 101.9 kB / 20.48 MB, free: 1.383 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002051/0.002051, allocations: 213.7 kB / 23.77 MB, free: 4.555 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.469/1.469, allocations: 207.7 MB / 234.6 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2363/0.2363, allocations: 44.27 MB / 331.1 MB, free: 9.312 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Translational_TestBraking",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Translational_TestBraking",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002799/0.002799, allocations: 67.91 kB / 468.3 MB, free: 4.383 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1287, allocations: 61.04 MB / 0.5169 GB, free: 7.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.005978/0.1347, allocations: 2.589 MB / 0.5194 GB, free: 4.605 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002734/0.1374, allocations: 0.9356 MB / 0.5203 GB, free: 3.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003164/0.1377, allocations: 7.938 kB / 0.5203 GB, free: 3.652 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002544/0.138, allocations: 55.45 kB / 0.5204 GB, free: 3.598 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003617/0.1384, allocations: 107 kB / 0.5205 GB, free: 3.492 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007386/0.1391, allocations: 151.5 kB / 0.5206 GB, free: 3.344 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006763/0.1398, allocations: 378.2 kB / 0.521 GB, free: 2.973 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002469/0.14, allocations: 69.31 kB / 0.5211 GB, free: 2.902 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002932/0.1403, allocations: 147.4 kB / 0.5212 GB, free: 2.758 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003335/0.1406, allocations: 147.3 kB / 0.5213 GB, free: 2.613 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.021e-05/0.1407, allocations: 32 kB / 0.5214 GB, free: 2.582 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001824/0.1409, allocations: 43.98 kB / 0.5214 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.53e-05/0.141, allocations: 63.75 kB / 0.5215 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002514/0.1412, allocations: 135.4 kB / 0.5216 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007061/0.1419, allocations: 382.3 kB / 0.522 GB, free: 1.969 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.142, allocations: 0 / 0.522 GB, free: 1.969 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.142, allocations: 0 / 0.522 GB, free: 1.969 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.678e-06/0.142, allocations: 0 / 0.522 GB, free: 1.969 MB / 398.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.001479/0.1434, allocations: 0.552 MB / 0.5225 GB, free: 1.387 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.1435, allocations: 8.031 kB / 0.5225 GB, free: 1.379 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.811e-05/0.1435, allocations: 8.844 kB / 0.5225 GB, free: 1.371 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.643e-05/0.1436, allocations: 66.72 kB / 0.5226 GB, free: 1.297 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003369/0.144, allocations: 52.69 kB / 0.5226 GB, free: 1.246 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006219/0.1446, allocations: 221.7 kB / 0.5229 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.849e-05/0.1446, allocations: 25.02 kB / 0.5229 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.402e-05/0.1447, allocations: 32.38 kB / 0.5229 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008072/0.1455, allocations: 306.2 kB / 0.5232 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.587e-05/0.1456, allocations: 7.953 kB / 0.5232 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.154e-05/0.1456, allocations: 8 kB / 0.5232 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.514e-05/0.1456, allocations: 8 kB / 0.5232 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005744/0.1462, allocations: 195.8 kB / 0.5234 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002866/0.149, allocations: 1.199 MB / 0.5246 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008379/0.1499, allocations: 325.2 kB / 0.5249 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002538/0.1501, allocations: 96.27 kB / 0.525 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.877e-05/0.1502, allocations: 8 kB / 0.525 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.236e-05/0.1502, allocations: 46.5 kB / 0.525 GB, free: 14.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=36): time 4.078e-06/0.1502, allocations: 4 kB / 0.525 GB, free: 14.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.003773/0.154, allocations: 1.203 MB / 0.5262 GB, free: 13.26 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001441/0.1542, allocations: 166.2 kB / 0.5264 GB, free: 13.06 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003365/0.1545, allocations: 224.9 kB / 0.5266 GB, free: 12.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.649e-05/0.1545, allocations: 29.7 kB / 0.5266 GB, free: 12.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001762/0.1547, allocations: 180.5 kB / 0.5268 GB, free: 12.62 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001739/0.1549, allocations: 158.6 kB / 0.5269 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001843/0.1551, allocations: 86.14 kB / 0.527 GB, free: 12.38 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002071/0.1553, allocations: 342.8 kB / 0.5273 GB, free: 12.03 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000267/0.1555, allocations: 96.95 kB / 0.5274 GB, free: 11.94 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004391/0.156, allocations: 238.9 kB / 0.5277 GB, free: 11.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007788/0.1568, allocations: 379.1 kB / 0.528 GB, free: 11.21 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.1568, allocations: 3.938 kB / 0.528 GB, free: 11.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0008697/0.1576, allocations: 408.9 kB / 0.5284 GB, free: 10.8 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.1576, allocations: 8 kB / 0.5284 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.1577, allocations: 4 kB / 0.5284 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.847e-05/0.1577, allocations: 12.31 kB / 0.5284 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004503/0.1581, allocations: 119.8 kB / 0.5286 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.1582, allocations: 8 kB / 0.5286 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002004/0.1584, allocations: 16 kB / 0.5286 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.285e-05/0.1584, allocations: 20 kB / 0.5286 GB, free: 10.61 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.0001742/0.1586, allocations: 157.7 kB / 0.5288 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/0.1587, allocations: 31.81 kB / 0.5288 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002511/0.1589, allocations: 127.2 kB / 0.5289 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.812e-06/0.1589, allocations: 4 kB / 0.5289 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.159, allocations: 0 / 0.5289 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.966e-06/0.159, allocations: 11.98 kB / 0.5289 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001697/0.1607, allocations: 0.9663 MB / 0.5299 GB, free: 9.227 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/0.1607, allocations: 4 kB / 0.5299 GB, free: 9.223 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004738/0.1611, allocations: 95.89 kB / 0.53 GB, free: 9.129 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.987e-06/0.1612, allocations: 4.188 kB / 0.53 GB, free: 9.125 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.176e-05/0.1612, allocations: 20.36 kB / 0.53 GB, free: 9.105 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.748e-06/0.1612, allocations: 15.88 kB / 0.53 GB, free: 9.09 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.369e-06/0.1612, allocations: 4 kB / 0.53 GB, free: 9.086 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008947/0.1621, allocations: 0.8305 MB / 0.5308 GB, free: 8.203 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.168e-05/0.1622, allocations: 31.8 kB / 0.5308 GB, free: 8.172 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.816e-05/0.1622, allocations: 15.98 kB / 0.5309 GB, free: 8.156 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003209/0.1625, allocations: 12 kB / 0.5309 GB, free: 8.145 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.996e-05/0.1626, allocations: 35.83 kB / 0.5309 GB, free: 8.109 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.392e-05/0.1626, allocations: 12 kB / 0.5309 GB, free: 8.098 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001562/0.1628, allocations: 160.5 kB / 0.5311 GB, free: 7.941 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1628, allocations: 4 kB / 0.5311 GB, free: 7.938 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006057/0.1634, allocations: 84 kB / 0.5312 GB, free: 7.855 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.001215/0.1646, allocations: 1.383 MB / 0.5325 GB, free: 6.422 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005282/0.1651, allocations: 276.9 kB / 0.5328 GB, free: 6.152 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.1651, allocations: 4 kB / 0.5328 GB, free: 6.148 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002025/0.1653, allocations: 123.8 kB / 0.5329 GB, free: 6.027 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000901/0.1662, allocations: 68.39 kB / 0.533 GB, free: 5.961 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005365/0.1716, allocations: 4.028 MB / 0.5369 GB, free: 1.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.1719, allocations: 178.1 kB / 0.5371 GB, free: 1.465 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002987/0.1722, allocations: 43.2 kB / 0.5371 GB, free: 1.422 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001799/0.1724, allocations: 103.4 kB / 0.5372 GB, free: 1.32 MB / 414.1 MB Notification: Performance of SimCode: time 9.71e-07/0.1724, allocations: 4 kB / 0.5372 GB, free: 1.316 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2434/0.4158, allocations: 6.918 MB / 0.544 GB, free: 28.43 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.25/12.66, allocations: 11.86 kB / 0.544 GB, free: 28.42 MB / 414.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Translational_TestBraking_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Translational_TestBraking.fmu > ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Translational/TestBraking/TestBraking.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 15.931402166024782]