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.0012/0.001201, allocations: 100.5 kB / 16.4 MB, free: 6.496 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.001307/0.001307, allocations: 192.1 kB / 17.34 MB, free: 5.77 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.509/1.509, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2518/0.2518, allocations: 43.52 MB / 314.1 MB, free: 472 kB / 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.002037/0.002037, allocations: 71.83 kB / 441.3 MB, free: 6.203 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1458, allocations: 57.8 MB / 499.1 MB, free: 12.33 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004572/0.1504, allocations: 2.777 MB / 0.4901 GB, free: 9.543 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002142/0.1526, allocations: 0.9822 MB / 0.491 GB, free: 8.551 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003311/0.153, allocations: 11.94 kB / 0.4911 GB, free: 8.539 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000246/0.1532, allocations: 51.45 kB / 0.4911 GB, free: 8.488 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003448/0.1536, allocations: 107 kB / 0.4912 GB, free: 8.383 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006023/0.1542, allocations: 147.6 kB / 0.4914 GB, free: 8.238 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005778/0.1548, allocations: 378.2 kB / 0.4917 GB, free: 7.867 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002352/0.1551, allocations: 97.09 kB / 0.4918 GB, free: 7.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002314/0.1553, allocations: 135.5 kB / 0.4919 GB, free: 7.637 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002836/0.1556, allocations: 155.2 kB / 0.4921 GB, free: 7.484 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.447e-05/0.1556, allocations: 24 kB / 0.4921 GB, free: 7.461 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001352/0.1558, allocations: 43.98 kB / 0.4921 GB, free: 7.418 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.47e-05/0.1559, allocations: 63.75 kB / 0.4922 GB, free: 7.355 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00017/0.156, allocations: 167.2 kB / 0.4924 GB, free: 7.191 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004734/0.1565, allocations: 366.8 kB / 0.4927 GB, free: 6.832 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.1565, allocations: 0 / 0.4927 GB, free: 6.832 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1565, allocations: 4 kB / 0.4927 GB, free: 6.828 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.169e-05/0.1566, allocations: 0 / 0.4927 GB, free: 6.828 MB / 382.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.001118/0.1577, allocations: 0.6237 MB / 0.4933 GB, free: 6.152 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.1577, allocations: 11.89 kB / 0.4933 GB, free: 6.141 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.097e-05/0.1578, allocations: 66.72 kB / 0.4934 GB, free: 6.066 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002511/0.1581, allocations: 56.45 kB / 0.4935 GB, free: 6.012 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004416/0.1585, allocations: 279.3 kB / 0.4937 GB, free: 5.699 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.349e-05/0.1586, allocations: 21.03 kB / 0.4937 GB, free: 5.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.018e-05/0.1586, allocations: 36.28 kB / 0.4938 GB, free: 5.645 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005808/0.1592, allocations: 310.4 kB / 0.4941 GB, free: 5.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.648e-05/0.1593, allocations: 0 / 0.4941 GB, free: 5.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.34e-05/0.1593, allocations: 16 kB / 0.4941 GB, free: 5.305 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.432e-05/0.1593, allocations: 8 kB / 0.4941 GB, free: 5.297 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003619/0.1597, allocations: 195.8 kB / 0.4943 GB, free: 5.105 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001955/0.1617, allocations: 1.288 MB / 0.4955 GB, free: 3.719 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005411/0.1622, allocations: 328.8 kB / 0.4959 GB, free: 3.352 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002386/0.1625, allocations: 120.2 kB / 0.496 GB, free: 3.219 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.999e-05/0.1625, allocations: 4 kB / 0.496 GB, free: 3.215 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.1625, allocations: 34.89 kB / 0.496 GB, free: 3.172 MB / 382.1 MB Notification: Performance of pre-optimization done (n=36): time 1.573e-06/0.1625, allocations: 0 / 0.496 GB, free: 3.172 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.002665/0.1652, allocations: 1.583 MB / 0.4976 GB, free: 1.379 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.424e-05/0.1653, allocations: 162.2 kB / 0.4977 GB, free: 1.184 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002198/0.1655, allocations: 225 kB / 0.4979 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.682e-05/0.1656, allocations: 33.7 kB / 0.498 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.1657, allocations: 172.2 kB / 0.4981 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/0.1658, allocations: 161.8 kB / 0.4983 GB, free: 0.582 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/0.166, allocations: 86.16 kB / 0.4984 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.1661, allocations: 334.8 kB / 0.4987 GB, free: 160 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001711/0.1663, allocations: 97.08 kB / 0.4988 GB, free: 64 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000292/0.1666, allocations: 239.6 kB / 0.499 GB, free: 15.76 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005018/0.1671, allocations: 373.8 kB / 0.4994 GB, free: 15.33 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.1671, allocations: 0 / 0.4994 GB, free: 15.33 MB / 398.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0006633/0.1678, allocations: 417.3 kB / 0.4997 GB, free: 14.92 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/0.1678, allocations: 11.98 kB / 0.4998 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.1678, allocations: 4.047 kB / 0.4998 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.546e-05/0.1679, allocations: 15.92 kB / 0.4998 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004201/0.1683, allocations: 115.8 kB / 0.4999 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.842e-05/0.1683, allocations: 7.938 kB / 0.4999 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001922/0.1685, allocations: 16 kB / 0.4999 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.297e-05/0.1686, allocations: 20.34 kB / 0.4999 GB, free: 14.73 MB / 398.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.0001689/0.1687, allocations: 169.6 kB / 0.5001 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/0.1689, allocations: 31.62 kB / 0.5001 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002423/0.1691, allocations: 123.3 kB / 0.5002 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.132e-05/0.1691, allocations: 11.92 kB / 0.5003 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.699e-06/0.1692, allocations: 0 / 0.5003 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.1692, allocations: 4 kB / 0.5003 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001539/0.1707, allocations: 1.018 MB / 0.5013 GB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.1707, allocations: 8.031 kB / 0.5013 GB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004409/0.1712, allocations: 99.83 kB / 0.5014 GB, free: 13.17 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.285e-06/0.1712, allocations: 4.125 kB / 0.5014 GB, free: 13.17 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.35e-05/0.1712, allocations: 16 kB / 0.5014 GB, free: 13.15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.1713, allocations: 4 kB / 0.5014 GB, free: 13.15 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.1713, allocations: 4 kB / 0.5014 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008945/0.1722, allocations: 0.8373 MB / 0.5022 GB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001227/0.1723, allocations: 108.8 kB / 0.5023 GB, free: 12.13 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.51e-05/0.1724, allocations: 8 kB / 0.5023 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003098/0.1727, allocations: 12.09 kB / 0.5023 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.686e-05/0.1727, allocations: 35.84 kB / 0.5024 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.322e-05/0.1728, allocations: 16 kB / 0.5024 GB, free: 12.06 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001691/0.1729, allocations: 160.5 kB / 0.5025 GB, free: 11.9 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.173, allocations: 0 / 0.5025 GB, free: 11.9 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005898/0.1736, allocations: 84 kB / 0.5026 GB, free: 11.82 MB / 398.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.001324/0.1749, allocations: 1.38 MB / 0.504 GB, free: 10.39 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005304/0.1754, allocations: 288 kB / 0.5042 GB, free: 10.11 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.1754, allocations: 0 / 0.5042 GB, free: 10.11 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001915/0.1756, allocations: 137.1 kB / 0.5044 GB, free: 9.977 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008879/0.1765, allocations: 71.64 kB / 0.5044 GB, free: 9.918 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005135/0.1817, allocations: 4.004 MB / 0.5083 GB, free: 5.652 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004623/0.1822, allocations: 0.7842 MB / 0.5091 GB, free: 4.844 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001916/0.1824, allocations: 47.25 kB / 0.5091 GB, free: 4.793 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001663/0.1825, allocations: 103.4 kB / 0.5092 GB, free: 4.691 MB / 398.1 MB Notification: Performance of SimCode: time 6.12e-07/0.1825, allocations: 0 / 0.5092 GB, free: 4.691 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03024/0.2128, allocations: 6.499 MB / 0.5156 GB, free: 14.18 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.203/8.416, allocations: 11.55 kB / 0.5156 GB, free: 14.17 MB / 414.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