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.00132/0.00132, allocations: 103 kB / 16.4 MB, free: 6.508 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.001348/0.001348, allocations: 192.2 kB / 17.34 MB, free: 5.742 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.761/1.761, 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.2345/0.2345, allocations: 43.52 MB / 314.1 MB, free: 452 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.001396/0.001396, allocations: 73.39 kB / 441.8 MB, free: 5.668 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1334, allocations: 57.78 MB / 499.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.003993/0.1375, allocations: 2.792 MB / 0.4906 GB, free: 9.012 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00156/0.1391, allocations: 0.994 MB / 0.4915 GB, free: 8.008 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001302/0.1392, allocations: 7.938 kB / 0.4916 GB, free: 8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001705/0.1394, allocations: 51.45 kB / 0.4916 GB, free: 7.949 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001852/0.1396, allocations: 107 kB / 0.4917 GB, free: 7.844 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004438/0.14, allocations: 143.6 kB / 0.4918 GB, free: 7.703 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003623/0.1404, allocations: 382.2 kB / 0.4922 GB, free: 7.328 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001945/0.1406, allocations: 97.02 kB / 0.4923 GB, free: 7.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001438/0.1408, allocations: 135.5 kB / 0.4924 GB, free: 7.098 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001869/0.141, allocations: 159.2 kB / 0.4926 GB, free: 6.941 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.961e-05/0.141, allocations: 24 kB / 0.4926 GB, free: 6.918 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.1411, allocations: 43.98 kB / 0.4926 GB, free: 6.875 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.783e-05/0.1412, allocations: 71.75 kB / 0.4927 GB, free: 6.805 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001582/0.1413, allocations: 155.2 kB / 0.4929 GB, free: 6.652 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004107/0.1418, allocations: 366.8 kB / 0.4932 GB, free: 6.293 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.1418, allocations: 0 / 0.4932 GB, free: 6.293 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1418, allocations: 4 kB / 0.4932 GB, free: 6.289 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.1418, allocations: 0 / 0.4932 GB, free: 6.289 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.001057/0.1429, allocations: 0.6271 MB / 0.4938 GB, free: 5.613 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.1429, allocations: 8.031 kB / 0.4938 GB, free: 5.605 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000249/0.1432, allocations: 52.45 kB / 0.4939 GB, free: 5.555 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003825/0.1436, allocations: 287.4 kB / 0.4942 GB, free: 5.234 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.1436, allocations: 17.03 kB / 0.4942 GB, free: 5.219 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.616e-05/0.1437, allocations: 36.28 kB / 0.4942 GB, free: 5.184 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004843/0.1442, allocations: 302.7 kB / 0.4945 GB, free: 4.867 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/0.1442, allocations: 11.94 kB / 0.4945 GB, free: 4.855 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.993e-05/0.1442, allocations: 12 kB / 0.4945 GB, free: 4.844 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.1442, allocations: 12 kB / 0.4945 GB, free: 4.832 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003398/0.1446, allocations: 203.8 kB / 0.4947 GB, free: 4.633 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001797/0.1464, allocations: 1.276 MB / 0.496 GB, free: 3.258 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004843/0.1469, allocations: 333 kB / 0.4963 GB, free: 2.887 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001611/0.1471, allocations: 108.2 kB / 0.4964 GB, free: 2.766 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.1471, allocations: 4 kB / 0.4964 GB, free: 2.762 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.1471, allocations: 42.56 kB / 0.4964 GB, free: 2.711 MB / 382.1 MB Notification: Performance of pre-optimization done (n=36): time 1.593e-06/0.1471, allocations: 336 / 0.4964 GB, free: 2.711 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.002683/0.1498, allocations: 1.586 MB / 0.498 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.453e-05/0.1499, allocations: 162.2 kB / 0.4981 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002177/0.1502, allocations: 224.9 kB / 0.4984 GB, free: 500 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.157e-05/0.1502, allocations: 37.7 kB / 0.4984 GB, free: 456 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.1503, allocations: 172.2 kB / 0.4986 GB, free: 280 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/0.1504, allocations: 149.8 kB / 0.4987 GB, free: 128 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.1505, allocations: 86.16 kB / 0.4988 GB, free: 36 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.1507, allocations: 342.9 kB / 0.4991 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001569/0.1508, allocations: 97.08 kB / 0.4992 GB, free: 15.59 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003093/0.1512, allocations: 239.6 kB / 0.4994 GB, free: 15.29 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005071/0.1517, allocations: 373.9 kB / 0.4998 GB, free: 14.86 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.1517, allocations: 0 / 0.4998 GB, free: 14.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0006406/0.1523, allocations: 413 kB / 0.5002 GB, free: 14.46 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.92e-05/0.1524, allocations: 8 kB / 0.5002 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.587e-05/0.1524, allocations: 8.359 kB / 0.5002 GB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.595e-05/0.1524, allocations: 12 kB / 0.5002 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003914/0.1528, allocations: 111.8 kB / 0.5003 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.754e-05/0.1529, allocations: 11.94 kB / 0.5003 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001794/0.1531, allocations: 16 kB / 0.5003 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.976e-05/0.1531, allocations: 20 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.0002029/0.1533, allocations: 169.6 kB / 0.5005 GB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/0.1534, allocations: 31.62 kB / 0.5006 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002818/0.1537, allocations: 119.3 kB / 0.5007 GB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.119e-05/0.1538, allocations: 12.03 kB / 0.5007 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.498e-05/0.1538, allocations: 7.922 kB / 0.5007 GB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.1538, allocations: 0 / 0.5007 GB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001601/0.1554, allocations: 1.026 MB / 0.5017 GB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.1554, allocations: 4 kB / 0.5017 GB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004506/0.1559, allocations: 99.83 kB / 0.5018 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.1559, allocations: 4 kB / 0.5018 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.088e-05/0.1559, allocations: 12 kB / 0.5018 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.204e-06/0.1559, allocations: 8.25 kB / 0.5018 GB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.156, allocations: 4 kB / 0.5018 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009207/0.1569, allocations: 0.8296 MB / 0.5026 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.351e-05/0.157, allocations: 100.8 kB / 0.5027 GB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.208e-05/0.157, allocations: 16 kB / 0.5027 GB, free: 11.67 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003088/0.1573, allocations: 11.94 kB / 0.5027 GB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.283e-05/0.1574, allocations: 40 kB / 0.5028 GB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.064e-05/0.1574, allocations: 15.94 kB / 0.5028 GB, free: 11.6 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001251/0.1576, allocations: 160.5 kB / 0.503 GB, free: 11.45 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1576, allocations: 0 / 0.503 GB, free: 11.45 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000542/0.1581, allocations: 80 kB / 0.503 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.0001244/0.1583, allocations: 115.1 kB / 0.5031 GB, free: 11.25 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004601/0.1587, allocations: 285.4 kB / 0.5034 GB, free: 10.97 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.1587, allocations: 4 kB / 0.5034 GB, free: 10.96 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001779/0.1589, allocations: 132.6 kB / 0.5035 GB, free: 10.84 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000835/0.1598, allocations: 76.91 kB / 0.5036 GB, free: 10.77 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002047/0.1618, allocations: 1.239 MB / 0.5048 GB, free: 9.469 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003646/0.1622, allocations: 0.7881 MB / 0.5056 GB, free: 8.652 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001549/0.1624, allocations: 39.27 kB / 0.5056 GB, free: 8.609 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.823e-05/0.1625, allocations: 35.42 kB / 0.5057 GB, free: 8.574 MB / 398.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1625, allocations: 0 / 0.5057 GB, free: 8.574 MB / 398.1 MB Notification: Performance of Templates: time 0.006513/0.169, allocations: 3.179 MB / 0.5088 GB, free: 5.406 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