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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 102.9 kB / 16.27 MB, free: 6.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002033/0.002033, allocations: 186.7 kB / 17.19 MB, free: 5.957 MB / 14.72 MB 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: 205.1 MB / 223.1 MB, free: 12.28 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2519/0.2519, allocations: 43.53 MB / 313.9 MB, free: 0.5312 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.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: 70.64 kB / 382.8 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.141, allocations: 57.78 MB / 440.6 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.003504/0.1446, allocations: 2.777 MB / 443.4 MB, free: 4.027 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001688/0.1463, allocations: 0.9861 MB / 444.4 MB, free: 3.031 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003602/0.1467, allocations: 11.94 kB / 444.4 MB, free: 3.02 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002222/0.1469, allocations: 47.52 kB / 444.4 MB, free: 2.973 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002606/0.1472, allocations: 103 kB / 444.5 MB, free: 2.871 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006125/0.1478, allocations: 151.6 kB / 444.7 MB, free: 2.723 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004441/0.1483, allocations: 378.2 kB / 445 MB, free: 2.352 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001898/0.1485, allocations: 89.08 kB / 445.1 MB, free: 2.262 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001622/0.1487, allocations: 135.5 kB / 445.3 MB, free: 2.129 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001949/0.1489, allocations: 151.2 kB / 445.4 MB, free: 1.98 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.388e-05/0.1489, allocations: 28 kB / 445.4 MB, free: 1.953 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.149, allocations: 44 kB / 445.5 MB, free: 1.91 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.981e-05/0.1491, allocations: 63.77 kB / 445.5 MB, free: 1.848 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001364/0.1492, allocations: 171.1 kB / 445.7 MB, free: 1.68 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003418/0.1496, allocations: 366.7 kB / 446.1 MB, free: 1.32 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1496, allocations: 0 / 446.1 MB, free: 1.32 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1496, allocations: 0 / 446.1 MB, free: 1.32 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.1496, allocations: 0 / 446.1 MB, free: 1.32 MB / 318.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.0009168/0.1505, allocations: 0.616 MB / 446.7 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.1506, allocations: 11.89 kB / 446.7 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.568e-05/0.1507, allocations: 66.72 kB / 446.8 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002268/0.1509, allocations: 52.45 kB / 446.8 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002466/0.1511, allocations: 283.1 kB / 447.1 MB, free: 204 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.1512, allocations: 21.03 kB / 447.1 MB, free: 184 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.385e-05/0.1512, allocations: 40.28 kB / 447.2 MB, free: 144 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004357/0.1517, allocations: 306.3 kB / 447.5 MB, free: 15.82 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.442e-05/0.1517, allocations: 4 kB / 447.5 MB, free: 15.82 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.715e-05/0.1517, allocations: 12 kB / 447.5 MB, free: 15.8 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.1518, allocations: 12 kB / 447.5 MB, free: 15.79 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003442/0.1521, allocations: 203.8 kB / 447.7 MB, free: 15.59 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001733/0.1539, allocations: 1.28 MB / 449 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005174/0.1544, allocations: 341.1 kB / 449.3 MB, free: 13.84 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001581/0.1546, allocations: 112.3 kB / 449.4 MB, free: 13.71 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.498e-05/0.1546, allocations: 4 kB / 449.4 MB, free: 13.71 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.1546, allocations: 38.5 kB / 449.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 1.552e-06/0.1546, allocations: 4 kB / 449.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.002615/0.1573, allocations: 1.566 MB / 451 MB, free: 11.88 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/0.1574, allocations: 162.2 kB / 451.2 MB, free: 11.68 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000236/0.1576, allocations: 232.8 kB / 451.4 MB, free: 11.45 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.731e-05/0.1577, allocations: 33.7 kB / 451.4 MB, free: 11.41 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.1578, allocations: 168.3 kB / 451.6 MB, free: 11.24 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001241/0.1579, allocations: 157.8 kB / 451.7 MB, free: 11.09 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001359/0.1581, allocations: 90.16 kB / 451.8 MB, free: 10.99 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.1582, allocations: 334.8 kB / 452.2 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001923/0.1584, allocations: 97.08 kB / 452.3 MB, free: 10.56 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002783/0.1587, allocations: 243.5 kB / 452.5 MB, free: 10.26 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004752/0.1592, allocations: 378.9 kB / 452.9 MB, free: 9.824 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.1592, allocations: 0 / 452.9 MB, free: 9.824 MB / 334.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0006211/0.1598, allocations: 409.2 kB / 453.3 MB, free: 9.418 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.1599, allocations: 8 kB / 453.3 MB, free: 9.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.1599, allocations: 7.984 kB / 453.3 MB, free: 9.402 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.382e-05/0.1599, allocations: 11.94 kB / 453.3 MB, free: 9.391 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003832/0.1603, allocations: 119.8 kB / 453.4 MB, free: 9.273 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.1603, allocations: 4 kB / 453.4 MB, free: 9.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001903/0.1605, allocations: 23.92 kB / 453.4 MB, free: 9.246 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.916e-05/0.1606, allocations: 20 kB / 453.5 MB, free: 9.227 MB / 334.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.000166/0.1607, allocations: 165.8 kB / 453.6 MB, free: 9.055 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/0.1609, allocations: 31.62 kB / 453.7 MB, free: 9.023 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002154/0.1611, allocations: 119.3 kB / 453.8 MB, free: 8.906 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.762e-06/0.1611, allocations: 7.938 kB / 453.8 MB, free: 8.898 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.1611, allocations: 3.984 kB / 453.8 MB, free: 8.895 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.1611, allocations: 4 kB / 453.8 MB, free: 8.891 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001483/0.1626, allocations: 1.034 MB / 454.8 MB, free: 7.773 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.349e-05/0.1626, allocations: 8.031 kB / 454.8 MB, free: 7.766 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004131/0.1631, allocations: 95.89 kB / 454.9 MB, free: 7.672 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.633e-06/0.1631, allocations: 4 kB / 454.9 MB, free: 7.668 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.527e-05/0.1631, allocations: 12 kB / 454.9 MB, free: 7.656 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/0.1631, allocations: 7.938 kB / 454.9 MB, free: 7.648 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.1631, allocations: 4 kB / 454.9 MB, free: 7.645 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007851/0.1639, allocations: 0.8298 MB / 455.8 MB, free: 6.77 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.015e-05/0.164, allocations: 104.8 kB / 455.9 MB, free: 6.648 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.574e-05/0.1641, allocations: 8 kB / 455.9 MB, free: 6.641 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000295/0.1644, allocations: 8 kB / 455.9 MB, free: 6.633 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.635e-05/0.1644, allocations: 44.02 kB / 455.9 MB, free: 6.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.016e-05/0.1645, allocations: 12 kB / 455.9 MB, free: 6.578 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001309/0.1646, allocations: 164.4 kB / 456.1 MB, free: 6.418 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1646, allocations: 0 / 456.1 MB, free: 6.418 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005875/0.1652, allocations: 84 kB / 456.2 MB, free: 6.336 MB / 334.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.001113/0.1663, allocations: 1.38 MB / 457.6 MB, free: 4.902 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005285/0.1669, allocations: 295.9 kB / 457.9 MB, free: 4.613 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1669, allocations: 0 / 457.9 MB, free: 4.613 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001798/0.1671, allocations: 128.8 kB / 458 MB, free: 4.488 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009308/0.168, allocations: 80.81 kB / 458.1 MB, free: 4.414 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004806/0.1728, allocations: 4.013 MB / 462.1 MB, free: 136 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003987/0.1732, allocations: 0.7803 MB / 462.9 MB, free: 15.33 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001841/0.1734, allocations: 43.25 kB / 462.9 MB, free: 15.29 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001525/0.1736, allocations: 107.4 kB / 463 MB, free: 15.18 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.1736, allocations: 0 / 463 MB, free: 15.18 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0645/0.2381, allocations: 6.3 MB / 469.3 MB, free: 8.895 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.859/10.1, allocations: 11.81 kB / 469.3 MB, free: 8.891 MB / 350.1 MB (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 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Translational_TestBraking.fmu > ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe 2>&1) 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) Reference file matches