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.001912/0.001912, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.002146/0.002146, allocations: 218 kB / 22.99 MB, free: 4.977 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.505/1.505, 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.222/0.222, allocations: 44.27 MB / 330.3 MB, free: 9.309 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.00234/0.00234, allocations: 75.89 kB / 467.5 MB, free: 4.375 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1494, allocations: 61.05 MB / 0.5161 GB, free: 7.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.006187/0.1556, allocations: 2.589 MB / 0.5187 GB, free: 4.586 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002668/0.1582, allocations: 0.9356 MB / 0.5196 GB, free: 3.641 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000441/0.1587, allocations: 11.94 kB / 0.5196 GB, free: 3.629 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003423/0.159, allocations: 55.44 kB / 0.5196 GB, free: 3.574 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005049/0.1595, allocations: 103.1 kB / 0.5197 GB, free: 3.473 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007848/0.1603, allocations: 155.6 kB / 0.5199 GB, free: 3.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007898/0.1611, allocations: 374.2 kB / 0.5202 GB, free: 2.953 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002567/0.1613, allocations: 65.31 kB / 0.5203 GB, free: 2.887 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003222/0.1617, allocations: 143.4 kB / 0.5204 GB, free: 2.746 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000342/0.162, allocations: 143.3 kB / 0.5206 GB, free: 2.605 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.362e-05/0.1621, allocations: 24 kB / 0.5206 GB, free: 2.582 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001868/0.1623, allocations: 39.98 kB / 0.5206 GB, free: 2.543 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.1624, allocations: 67.75 kB / 0.5207 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002235/0.1626, allocations: 135.4 kB / 0.5208 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007133/0.1633, allocations: 374.4 kB / 0.5212 GB, free: 1.977 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.1633, allocations: 0 / 0.5212 GB, free: 1.977 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1633, allocations: 3.938 kB / 0.5212 GB, free: 1.973 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.201e-05/0.1633, allocations: 0 / 0.5212 GB, free: 1.973 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.001696/0.165, allocations: 0.5559 MB / 0.5217 GB, free: 1.387 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.1651, allocations: 8.031 kB / 0.5217 GB, free: 1.379 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001261/0.1652, allocations: 70.72 kB / 0.5218 GB, free: 1.301 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000338/0.1656, allocations: 52.69 kB / 0.5219 GB, free: 1.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000599/0.1662, allocations: 213.7 kB / 0.5221 GB, free: 1.016 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.846e-05/0.1662, allocations: 25.03 kB / 0.5221 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.098e-05/0.1663, allocations: 28.38 kB / 0.5221 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007331/0.167, allocations: 306.5 kB / 0.5224 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.072e-05/0.1671, allocations: 11.89 kB / 0.5224 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.815e-05/0.1671, allocations: 12 kB / 0.5224 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.762e-05/0.1671, allocations: 11.98 kB / 0.5224 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005202/0.1676, allocations: 191.8 kB / 0.5226 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002547/0.1702, allocations: 1.187 MB / 0.5238 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007821/0.171, allocations: 317.1 kB / 0.5241 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002652/0.1712, allocations: 108.1 kB / 0.5242 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.528e-05/0.1713, allocations: 8.328 kB / 0.5242 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.703e-05/0.1713, allocations: 46.5 kB / 0.5242 GB, free: 14.6 MB / 414.1 MB Notification: Performance of pre-optimization done (n=36): time 2.865e-06/0.1713, allocations: 4 kB / 0.5242 GB, free: 14.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.003239/0.1746, allocations: 1.208 MB / 0.5254 GB, free: 13.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000144/0.1747, allocations: 162.2 kB / 0.5256 GB, free: 13.08 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004295/0.1751, allocations: 232.8 kB / 0.5258 GB, free: 12.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.669e-05/0.1752, allocations: 33.64 kB / 0.5258 GB, free: 12.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001715/0.1753, allocations: 184.5 kB / 0.526 GB, free: 12.62 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001935/0.1755, allocations: 158.6 kB / 0.5262 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001884/0.1757, allocations: 78.2 kB / 0.5262 GB, free: 12.38 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000212/0.1759, allocations: 346.8 kB / 0.5266 GB, free: 12.04 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002538/0.1762, allocations: 92.95 kB / 0.5267 GB, free: 11.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004239/0.1766, allocations: 243 kB / 0.5269 GB, free: 11.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007223/0.1773, allocations: 369.9 kB / 0.5272 GB, free: 11.22 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.1773, allocations: 0 / 0.5272 GB, free: 11.22 MB / 414.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.000974/0.1783, allocations: 417.1 kB / 0.5276 GB, free: 10.8 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/0.1783, allocations: 8 kB / 0.5276 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/0.1783, allocations: 4.078 kB / 0.5277 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.465e-05/0.1784, allocations: 16.31 kB / 0.5277 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000572/0.179, allocations: 115.8 kB / 0.5278 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.817e-05/0.179, allocations: 15.92 kB / 0.5278 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002801/0.1793, allocations: 19.94 kB / 0.5278 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.492e-05/0.1793, allocations: 20 kB / 0.5278 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.0002283/0.1795, allocations: 153.7 kB / 0.528 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001855/0.1797, allocations: 31.81 kB / 0.528 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003246/0.18, allocations: 119.3 kB / 0.5281 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.1801, allocations: 11.94 kB / 0.5281 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.1801, allocations: 0 / 0.5281 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.329e-05/0.1801, allocations: 15.98 kB / 0.5281 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002357/0.1824, allocations: 0.9625 MB / 0.5291 GB, free: 9.227 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.786e-06/0.1824, allocations: 4.234 kB / 0.5291 GB, free: 9.223 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006436/0.1831, allocations: 99.83 kB / 0.5292 GB, free: 9.125 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.17e-05/0.1831, allocations: 4.25 kB / 0.5292 GB, free: 9.121 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.009e-05/0.1831, allocations: 19.98 kB / 0.5292 GB, free: 9.102 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.056e-06/0.1831, allocations: 4 kB / 0.5292 GB, free: 9.098 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.506e-06/0.1832, allocations: 7.984 kB / 0.5292 GB, free: 9.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009266/0.1841, allocations: 0.8259 MB / 0.53 GB, free: 8.211 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.418e-05/0.1841, allocations: 35.8 kB / 0.5301 GB, free: 8.176 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.885e-05/0.1842, allocations: 12 kB / 0.5301 GB, free: 8.164 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003038/0.1845, allocations: 8 kB / 0.5301 GB, free: 8.156 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.73e-05/0.1846, allocations: 35.83 kB / 0.5301 GB, free: 8.121 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.16e-05/0.1846, allocations: 19.98 kB / 0.5301 GB, free: 8.102 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001713/0.1848, allocations: 156.5 kB / 0.5303 GB, free: 7.949 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1848, allocations: 0 / 0.5303 GB, free: 7.949 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005648/0.1853, allocations: 88 kB / 0.5304 GB, free: 7.863 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.001239/0.1866, allocations: 1.383 MB / 0.5317 GB, free: 6.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005128/0.1871, allocations: 273 kB / 0.532 GB, free: 6.164 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.1871, allocations: 0 / 0.532 GB, free: 6.164 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002027/0.1873, allocations: 127.7 kB / 0.5321 GB, free: 6.039 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008649/0.1881, allocations: 74.73 kB / 0.5322 GB, free: 5.969 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00519/0.1933, allocations: 4.023 MB / 0.5361 GB, free: 1.684 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002053/0.1935, allocations: 177.9 kB / 0.5363 GB, free: 1.488 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001713/0.1937, allocations: 39.25 kB / 0.5363 GB, free: 1.449 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001624/0.1939, allocations: 107.4 kB / 0.5364 GB, free: 1.344 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1939, allocations: 7.938 kB / 0.5364 GB, free: 1.336 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2823/0.4762, allocations: 7.141 MB / 0.5434 GB, free: 27.92 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.88, allocations: 4.188 kB / 0.5434 GB, free: 27.92 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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039984 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.csv","/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] "Error: Could not read variable mass3.s in file ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking_res.csv. Warning: Get data of variable mass3.s from file ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking_res.csv failed! Error: Could not read variable mass3.v in file ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking_res.csv. Warning: Get data of variable mass3.v from file ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking_res.csv failed! Error: Could not read variable mass4.s in file ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking_res.csv. Warning: Get data of variable mass4.s from file ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking_res.csv failed! Error: Could not read variable mass4.v in file ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking_res.csv. Warning: Get data of variable mass4.v from file ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.205475924070925]