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: translateModel(ModelicaTest.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking") translateModel(ModelicaTest.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001699/0.001698, allocations: 110.9 kB / 16.41 MB, free: 6.492 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.001741/0.001741, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.731/1.731, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.229/0.2291, allocations: 43.53 MB / 314.1 MB, free: 464 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.001388/0.001388, allocations: 63.91 kB / 441.8 MB, free: 5.695 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1455, allocations: 57.78 MB / 499.6 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.003985/0.1495, allocations: 2.781 MB / 0.4906 GB, free: 9.047 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001633/0.1512, allocations: 0.9823 MB / 0.4915 GB, free: 8.055 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001385/0.1514, allocations: 4 kB / 0.4915 GB, free: 8.051 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001897/0.1515, allocations: 59.44 kB / 0.4916 GB, free: 7.992 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001905/0.1518, allocations: 111 kB / 0.4917 GB, free: 7.883 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000461/0.1522, allocations: 143.6 kB / 0.4918 GB, free: 7.742 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004488/0.1527, allocations: 378.2 kB / 0.4922 GB, free: 7.371 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002118/0.1529, allocations: 93 kB / 0.4923 GB, free: 7.277 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001707/0.1531, allocations: 135.5 kB / 0.4924 GB, free: 7.145 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00024/0.1533, allocations: 159.3 kB / 0.4926 GB, free: 6.988 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.818e-05/0.1534, allocations: 24 kB / 0.4926 GB, free: 6.965 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001243/0.1535, allocations: 39.98 kB / 0.4926 GB, free: 6.926 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.686e-05/0.1536, allocations: 71.75 kB / 0.4927 GB, free: 6.855 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001605/0.1538, allocations: 159.2 kB / 0.4928 GB, free: 6.699 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005687/0.1543, allocations: 374.4 kB / 0.4932 GB, free: 6.332 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.1543, allocations: 4 kB / 0.4932 GB, free: 6.328 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.71e-07/0.1544, allocations: 4 kB / 0.4932 GB, free: 6.324 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.438e-06/0.1544, allocations: 0 / 0.4932 GB, free: 6.324 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.001008/0.1554, allocations: 0.6233 MB / 0.4938 GB, free: 5.648 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.1554, allocations: 11.97 kB / 0.4938 GB, free: 5.637 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002373/0.1557, allocations: 56.69 kB / 0.4939 GB, free: 5.582 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003608/0.156, allocations: 283.5 kB / 0.4942 GB, free: 5.266 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.317e-05/0.1561, allocations: 17.03 kB / 0.4942 GB, free: 5.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.214e-05/0.1561, allocations: 40.36 kB / 0.4942 GB, free: 5.211 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004914/0.1566, allocations: 302.6 kB / 0.4945 GB, free: 4.895 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.299e-05/0.1567, allocations: 11.94 kB / 0.4945 GB, free: 4.883 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.832e-05/0.1567, allocations: 12 kB / 0.4945 GB, free: 4.871 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.1567, allocations: 8 kB / 0.4945 GB, free: 4.863 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004441/0.1572, allocations: 199.8 kB / 0.4947 GB, free: 4.668 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001847/0.159, allocations: 1.281 MB / 0.496 GB, free: 3.289 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005361/0.1596, allocations: 333 kB / 0.4963 GB, free: 2.918 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001645/0.1598, allocations: 112.2 kB / 0.4964 GB, free: 2.793 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.177e-05/0.1598, allocations: 8 kB / 0.4964 GB, free: 2.785 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.63e-05/0.1598, allocations: 42.55 kB / 0.4964 GB, free: 2.734 MB / 382.1 MB Notification: Performance of pre-optimization done (n=36): time 1.382e-06/0.1598, allocations: 0 / 0.4964 GB, free: 2.734 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.002625/0.1625, allocations: 1.588 MB / 0.498 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.784e-05/0.1626, allocations: 166.2 kB / 0.4982 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003117/0.1629, allocations: 228.9 kB / 0.4984 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.1629, allocations: 33.7 kB / 0.4984 GB, free: 476 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/0.1631, allocations: 176.5 kB / 0.4986 GB, free: 296 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003181/0.1634, allocations: 154.6 kB / 0.4987 GB, free: 140 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002225/0.1636, allocations: 86.2 kB / 0.4988 GB, free: 48 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0004452/0.1641, allocations: 346.9 kB / 0.4991 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001734/0.1642, allocations: 93.03 kB / 0.4992 GB, free: 15.61 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007599/0.165, allocations: 243.6 kB / 0.4995 GB, free: 15.3 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007202/0.1657, allocations: 373.8 kB / 0.4998 GB, free: 14.88 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1657, allocations: 0 / 0.4998 GB, free: 14.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0006112/0.1664, allocations: 413 kB / 0.5002 GB, free: 14.46 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.1664, allocations: 8.375 kB / 0.5002 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.1664, allocations: 8 kB / 0.5002 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.16e-05/0.1665, allocations: 11.94 kB / 0.5002 GB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003892/0.1669, allocations: 115.8 kB / 0.5003 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.023e-05/0.1669, allocations: 15.92 kB / 0.5004 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001732/0.1671, allocations: 16 kB / 0.5004 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.001e-05/0.1672, allocations: 20.23 kB / 0.5004 GB, free: 14.27 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.0001861/0.1673, allocations: 161.6 kB / 0.5005 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.1675, allocations: 31.81 kB / 0.5006 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000262/0.1677, allocations: 123.3 kB / 0.5007 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/0.1678, allocations: 11.94 kB / 0.5007 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.1678, allocations: 0 / 0.5007 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.1678, allocations: 3.984 kB / 0.5007 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002452/0.1702, allocations: 1.034 MB / 0.5017 GB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.1703, allocations: 3.938 kB / 0.5017 GB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004051/0.1707, allocations: 100 kB / 0.5018 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.079e-05/0.1707, allocations: 8 kB / 0.5018 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.161e-05/0.1707, allocations: 11.98 kB / 0.5018 GB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/0.1708, allocations: 12.25 kB / 0.5018 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.1708, allocations: 3.938 kB / 0.5019 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00114/0.1719, allocations: 0.8259 MB / 0.5027 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.861e-05/0.172, allocations: 104.9 kB / 0.5028 GB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.67e-05/0.172, allocations: 16 kB / 0.5028 GB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003047/0.1724, allocations: 8 kB / 0.5028 GB, free: 11.65 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.032e-05/0.1724, allocations: 35.91 kB / 0.5028 GB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.31e-05/0.1725, allocations: 15.98 kB / 0.5028 GB, free: 11.6 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001401/0.1726, allocations: 156.6 kB / 0.503 GB, free: 11.45 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1726, allocations: 3.938 kB / 0.503 GB, free: 11.45 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005445/0.1732, allocations: 80 kB / 0.5031 GB, free: 11.37 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.0001459/0.1733, allocations: 119.1 kB / 0.5032 GB, free: 11.24 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005083/0.1738, allocations: 285.2 kB / 0.5034 GB, free: 10.96 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/0.1738, allocations: 7.938 kB / 0.5035 GB, free: 10.96 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001863/0.174, allocations: 132.9 kB / 0.5036 GB, free: 10.83 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008853/0.1749, allocations: 79.34 kB / 0.5037 GB, free: 10.76 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002475/0.1774, allocations: 1.256 MB / 0.5049 GB, free: 9.445 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006906/0.1781, allocations: 0.7842 MB / 0.5056 GB, free: 8.633 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001621/0.1783, allocations: 43.25 kB / 0.5057 GB, free: 8.586 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.032e-05/0.1784, allocations: 31.44 kB / 0.5057 GB, free: 8.555 MB / 398.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1784, allocations: 0 / 0.5057 GB, free: 8.555 MB / 398.1 MB Notification: Performance of Templates: time 0.007744/0.1861, allocations: 3.183 MB / 0.5088 GB, free: 5.383 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Translational/TestBraking/TestBraking.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches