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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001408/0.001408, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.434/1.434, allocations: 205.1 MB / 222.5 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001034/0.001034, allocations: 101.5 kB / 269.9 MB, free: 8.434 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3323/0.3323, allocations: 43.49 MB / 360.7 MB, free: 51.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001006/0.001006, allocations: 55.92 kB / 429.2 MB, free: 6.391 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1067, allocations: 57.77 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.003862/0.1106, allocations: 2.821 MB / 489.8 MB, free: 9.711 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001659/0.1123, allocations: 0.9901 MB / 490.8 MB, free: 8.711 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002408/0.1126, allocations: 7.938 kB / 490.8 MB, free: 8.703 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002046/0.1128, allocations: 39.7 kB / 490.9 MB, free: 8.664 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002353/0.1131, allocations: 95.23 kB / 491 MB, free: 8.57 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004343/0.1135, allocations: 127.7 kB / 491.1 MB, free: 8.445 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004087/0.1139, allocations: 366.2 kB / 491.4 MB, free: 8.086 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001696/0.1141, allocations: 78.56 kB / 491.5 MB, free: 8.012 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001424/0.1143, allocations: 131.5 kB / 491.6 MB, free: 7.883 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001989/0.1145, allocations: 151.2 kB / 491.8 MB, free: 7.734 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.928e-05/0.1145, allocations: 16 kB / 491.8 MB, free: 7.719 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.1146, allocations: 39.92 kB / 491.8 MB, free: 7.68 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.584e-05/0.1147, allocations: 55.77 kB / 491.9 MB, free: 7.625 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001416/0.1148, allocations: 159.2 kB / 492.1 MB, free: 7.469 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003373/0.1152, allocations: 346.7 kB / 492.4 MB, free: 7.129 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1152, allocations: 0 / 492.4 MB, free: 7.129 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.1152, allocations: 0 / 492.4 MB, free: 7.129 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.817e-06/0.1152, allocations: 0 / 492.4 MB, free: 7.129 MB / 378.7 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.0008874/0.1161, allocations: 0.6276 MB / 493 MB, free: 6.453 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.1162, allocations: 8.031 kB / 493 MB, free: 6.445 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000193/0.1164, allocations: 56.45 kB / 493.1 MB, free: 6.391 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002581/0.1166, allocations: 263.5 kB / 493.3 MB, free: 6.094 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/0.1166, allocations: 25.03 kB / 493.4 MB, free: 6.07 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.455e-05/0.1167, allocations: 44.14 kB / 493.4 MB, free: 6.027 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004022/0.1171, allocations: 294.7 kB / 493.7 MB, free: 5.719 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.1171, allocations: 11.98 kB / 493.7 MB, free: 5.707 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.362e-05/0.1172, allocations: 12 kB / 493.7 MB, free: 5.695 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.166e-06/0.1172, allocations: 8 kB / 493.7 MB, free: 5.688 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003109/0.1175, allocations: 195.8 kB / 493.9 MB, free: 5.496 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00156/0.1191, allocations: 1.292 MB / 495.2 MB, free: 4.109 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004566/0.1195, allocations: 328.9 kB / 495.5 MB, free: 3.742 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001478/0.1197, allocations: 116.7 kB / 495.6 MB, free: 3.613 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.399e-05/0.1197, allocations: 7.984 kB / 495.6 MB, free: 3.605 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.6e-05/0.1198, allocations: 46.48 kB / 495.7 MB, free: 3.551 MB / 378.7 MB Notification: Performance of pre-optimization done (n=36): time 2.494e-06/0.1198, allocations: 0 / 495.7 MB, free: 3.551 MB / 378.7 MB Notification: Performance of matching and sorting (n=40): time 0.002326/0.1221, allocations: 1.559 MB / 497.3 MB, free: 1.781 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.456e-05/0.1222, allocations: 166.2 kB / 497.4 MB, free: 1.582 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001905/0.1224, allocations: 228.8 kB / 497.6 MB, free: 1.344 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.673e-05/0.1225, allocations: 33.64 kB / 497.7 MB, free: 1.305 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.309e-05/0.1226, allocations: 184.2 kB / 497.9 MB, free: 1.121 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.747e-05/0.1227, allocations: 145.9 kB / 498 MB, free: 0.9766 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.1228, allocations: 86.16 kB / 498.1 MB, free: 0.8828 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.1229, allocations: 342.8 kB / 498.4 MB, free: 0.5391 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00015/0.1231, allocations: 93.09 kB / 498.5 MB, free: 460 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002302/0.1233, allocations: 243.5 kB / 498.7 MB, free: 156 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004304/0.1237, allocations: 379 kB / 499.1 MB, free: 15.72 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.063e-05/0.1237, allocations: 4 kB / 499.1 MB, free: 15.71 MB / 394.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0005676/0.1243, allocations: 408.8 kB / 499.5 MB, free: 15.31 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.1243, allocations: 4 kB / 499.5 MB, free: 15.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/0.1244, allocations: 7.938 kB / 499.5 MB, free: 15.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.1244, allocations: 8 kB / 499.5 MB, free: 15.29 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003612/0.1247, allocations: 119.8 kB / 499.7 MB, free: 15.17 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.284e-05/0.1248, allocations: 11.98 kB / 499.7 MB, free: 15.16 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001824/0.125, allocations: 20.31 kB / 499.7 MB, free: 15.14 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.473e-05/0.125, allocations: 24 kB / 499.7 MB, free: 15.12 MB / 394.7 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.0001408/0.1251, allocations: 153.7 kB / 499.9 MB, free: 14.96 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.1253, allocations: 31.62 kB / 499.9 MB, free: 14.93 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002245/0.1255, allocations: 119.3 kB / 0.4883 GB, free: 14.8 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.1255, allocations: 11.94 kB / 0.4883 GB, free: 14.79 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.1255, allocations: 0 / 0.4883 GB, free: 14.79 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.1255, allocations: 3.984 kB / 0.4883 GB, free: 14.78 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001414/0.1269, allocations: 1.038 MB / 0.4893 GB, free: 13.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.127, allocations: 7.984 kB / 0.4893 GB, free: 13.65 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004028/0.1274, allocations: 91.91 kB / 0.4894 GB, free: 13.56 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/0.1274, allocations: 4 kB / 0.4894 GB, free: 13.56 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.599e-05/0.1274, allocations: 20.11 kB / 0.4894 GB, free: 13.54 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.306e-06/0.1274, allocations: 11.94 kB / 0.4894 GB, free: 13.53 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.1274, allocations: 4.188 kB / 0.4894 GB, free: 13.52 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003867/0.1313, allocations: 2.86 MB / 0.4922 GB, free: 10.49 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.328e-05/0.1314, allocations: 104.8 kB / 0.4923 GB, free: 10.37 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.686e-05/0.1315, allocations: 15.94 kB / 0.4924 GB, free: 10.35 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002833/0.1317, allocations: 8 kB / 0.4924 GB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.989e-05/0.1318, allocations: 31.97 kB / 0.4924 GB, free: 10.31 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.892e-05/0.1318, allocations: 16 kB / 0.4924 GB, free: 10.3 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001206/0.1319, allocations: 156.5 kB / 0.4926 GB, free: 10.14 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.132, allocations: 0 / 0.4926 GB, free: 10.14 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006239/0.1326, allocations: 119.9 kB / 0.4927 GB, free: 10.03 MB / 394.7 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.0001185/0.1327, allocations: 115.4 kB / 0.4928 GB, free: 9.902 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004263/0.1331, allocations: 295.7 kB / 0.4931 GB, free: 9.613 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1332, allocations: 0 / 0.4931 GB, free: 9.613 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001721/0.1333, allocations: 133.3 kB / 0.4932 GB, free: 9.484 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008361/0.1342, allocations: 76.25 kB / 0.4933 GB, free: 9.414 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002064/0.1363, allocations: 1.626 MB / 0.4949 GB, free: 7.715 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003729/0.1366, allocations: 0.8008 MB / 0.4956 GB, free: 6.891 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002094/0.1369, allocations: 47.25 kB / 0.4957 GB, free: 6.848 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.121e-05/0.137, allocations: 31.44 kB / 0.4957 GB, free: 6.816 MB / 394.7 MB Notification: Performance of SimCode: time 5e-07/0.137, allocations: 0 / 0.4957 GB, free: 6.816 MB / 394.7 MB Notification: Performance of Templates: time 0.006915/0.1439, allocations: 3.829 MB / 0.4994 GB, free: 3.004 MB / 394.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Translational/TestBraking/TestBraking.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches