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.001838/0.001838, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.002027/0.002027, allocations: 213.7 kB / 22.99 MB, free: 4.605 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.65/1.65, allocations: 207.7 MB / 233.8 MB, free: 9.797 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.2294/0.2294, allocations: 44.26 MB / 330.3 MB, free: 9.316 MB / 270.1 MB " [Timeout remaining time 179] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Translational_TestBraking",fmuType="me",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.002242/0.002242, allocations: 67.91 kB / 467.5 MB, free: 4.383 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1187, allocations: 61.05 MB / 0.5161 GB, free: 7.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004331/0.123, allocations: 2.593 MB / 0.5187 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001801/0.1248, allocations: 0.9356 MB / 0.5196 GB, free: 3.648 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001548/0.125, allocations: 15.94 kB / 0.5196 GB, free: 3.633 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001749/0.1252, allocations: 47.45 kB / 0.5196 GB, free: 3.586 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002359/0.1254, allocations: 111 kB / 0.5197 GB, free: 3.477 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004759/0.1259, allocations: 151.6 kB / 0.5199 GB, free: 3.328 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004461/0.1263, allocations: 378.2 kB / 0.5202 GB, free: 2.957 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001604/0.1265, allocations: 57.34 kB / 0.5203 GB, free: 2.898 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001753/0.1267, allocations: 151.4 kB / 0.5204 GB, free: 2.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000195/0.1269, allocations: 135.3 kB / 0.5206 GB, free: 2.617 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.507e-05/0.1269, allocations: 24 kB / 0.5206 GB, free: 2.594 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/0.127, allocations: 43.98 kB / 0.5206 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.143e-05/0.1271, allocations: 63.77 kB / 0.5207 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000145/0.1272, allocations: 139.4 kB / 0.5208 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004412/0.1277, allocations: 370.4 kB / 0.5212 GB, free: 1.988 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.1277, allocations: 11.94 kB / 0.5212 GB, free: 1.977 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1277, allocations: 0 / 0.5212 GB, free: 1.977 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.071e-05/0.1277, allocations: 0 / 0.5212 GB, free: 1.977 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.0009888/0.1287, allocations: 0.5481 MB / 0.5217 GB, free: 1.398 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.1287, allocations: 8.031 kB / 0.5217 GB, free: 1.391 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.329e-05/0.1288, allocations: 66.73 kB / 0.5218 GB, free: 1.316 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002105/0.129, allocations: 56.67 kB / 0.5219 GB, free: 1.262 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004182/0.1294, allocations: 213.7 kB / 0.5221 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.689e-05/0.1294, allocations: 21.03 kB / 0.5221 GB, free: 1.008 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.051e-05/0.1295, allocations: 36.36 kB / 0.5221 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004992/0.13, allocations: 314.4 kB / 0.5224 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.348e-05/0.13, allocations: 7.938 kB / 0.5224 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.712e-05/0.1301, allocations: 12 kB / 0.5224 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.526e-05/0.1301, allocations: 8 kB / 0.5224 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003605/0.1304, allocations: 195.8 kB / 0.5226 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001838/0.1323, allocations: 1.18 MB / 0.5238 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000585/0.1329, allocations: 324.8 kB / 0.5241 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001716/0.133, allocations: 100.5 kB / 0.5242 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.326e-05/0.1331, allocations: 15.97 kB / 0.5242 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/0.1331, allocations: 46.5 kB / 0.5242 GB, free: 14.61 MB / 414.1 MB Notification: Performance of pre-optimization done (n=36): time 1.944e-06/0.1331, allocations: 0 / 0.5242 GB, free: 14.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.002526/0.1356, allocations: 1.2 MB / 0.5254 GB, free: 13.29 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001094/0.1357, allocations: 170.1 kB / 0.5256 GB, free: 13.09 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002341/0.136, allocations: 228.8 kB / 0.5258 GB, free: 12.86 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.326e-05/0.136, allocations: 33.7 kB / 0.5258 GB, free: 12.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/0.1361, allocations: 180.5 kB / 0.526 GB, free: 12.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/0.1363, allocations: 158.6 kB / 0.5262 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000143/0.1364, allocations: 82.19 kB / 0.5262 GB, free: 12.39 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002242/0.1366, allocations: 342.8 kB / 0.5266 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002696/0.1369, allocations: 92.97 kB / 0.5266 GB, free: 11.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003115/0.1372, allocations: 239 kB / 0.5269 GB, free: 11.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005141/0.1377, allocations: 377.8 kB / 0.5272 GB, free: 11.23 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.1377, allocations: 0 / 0.5272 GB, free: 11.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0006544/0.1384, allocations: 422 kB / 0.5276 GB, free: 10.81 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.1384, allocations: 8 kB / 0.5276 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.1384, allocations: 7.938 kB / 0.5277 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/0.1384, allocations: 8 kB / 0.5277 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004077/0.1389, allocations: 115.8 kB / 0.5278 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.753e-05/0.1389, allocations: 15.92 kB / 0.5278 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001884/0.1391, allocations: 19.94 kB / 0.5278 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.115e-05/0.1391, allocations: 20 kB / 0.5278 GB, free: 10.62 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.0001793/0.1393, allocations: 158 kB / 0.528 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/0.1394, allocations: 31.81 kB / 0.528 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002437/0.1396, allocations: 131.2 kB / 0.5281 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-06/0.1396, allocations: 4 kB / 0.5281 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.1397, allocations: 0 / 0.5281 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.608e-05/0.1397, allocations: 7.984 kB / 0.5281 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001594/0.1413, allocations: 0.9666 MB / 0.5291 GB, free: 9.234 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.1413, allocations: 7.938 kB / 0.5291 GB, free: 9.227 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004199/0.1417, allocations: 95.89 kB / 0.5292 GB, free: 9.133 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/0.1417, allocations: 4 kB / 0.5292 GB, free: 9.129 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.44e-05/0.1417, allocations: 16 kB / 0.5292 GB, free: 9.113 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.616e-06/0.1417, allocations: 7.984 kB / 0.5292 GB, free: 9.105 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/0.1417, allocations: 7.938 kB / 0.5292 GB, free: 9.098 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000883/0.1426, allocations: 0.8298 MB / 0.53 GB, free: 8.215 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.875e-05/0.1427, allocations: 28.03 kB / 0.5301 GB, free: 8.188 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.794e-05/0.1427, allocations: 15.98 kB / 0.5301 GB, free: 8.172 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004171/0.1431, allocations: 12 kB / 0.5301 GB, free: 8.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.306e-05/0.1432, allocations: 31.89 kB / 0.5301 GB, free: 8.129 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-05/0.1432, allocations: 12 kB / 0.5301 GB, free: 8.117 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001562/0.1434, allocations: 160.5 kB / 0.5303 GB, free: 7.961 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1434, allocations: 0 / 0.5303 GB, free: 7.961 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005897/0.144, allocations: 84 kB / 0.5304 GB, free: 7.879 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.00134/0.1453, allocations: 1.395 MB / 0.5317 GB, free: 6.434 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005821/0.1459, allocations: 264.4 kB / 0.532 GB, free: 6.176 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.1459, allocations: 4 kB / 0.532 GB, free: 6.172 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002065/0.1461, allocations: 128.8 kB / 0.5321 GB, free: 6.047 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009112/0.147, allocations: 78.27 kB / 0.5322 GB, free: 5.973 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005315/0.1523, allocations: 4.015 MB / 0.5361 GB, free: 1.695 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002396/0.1526, allocations: 177.9 kB / 0.5363 GB, free: 1.5 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000182/0.1527, allocations: 43.27 kB / 0.5363 GB, free: 1.457 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001803/0.1529, allocations: 103.4 kB / 0.5364 GB, free: 1.355 MB / 414.1 MB Notification: Performance of SimCode: time 1.503e-06/0.1529, allocations: 0 / 0.5364 GB, free: 1.355 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2475/0.4004, allocations: 7.153 MB / 0.5434 GB, free: 28.43 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.98, allocations: 3.531 kB / 0.5434 GB, free: 28.43 MB / 414.1 MB " [Timeout remaining time 648] (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.245460129808635]