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.001405/0.001405, allocations: 106.8 kB / 16.93 MB, free: 5.797 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.001341/0.001341, allocations: 191.3 kB / 17.86 MB, free: 5.148 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.469/1.469, allocations: 205.1 MB / 223.7 MB, free: 12.32 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.2078/0.2078, allocations: 43.52 MB / 314.6 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.001758/0.001758, allocations: 67.67 kB / 383.4 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09997/0.1017, allocations: 57.79 MB / 441.2 MB, free: 6.906 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.003375/0.1052, allocations: 2.77 MB / 443.9 MB, free: 4.117 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001415/0.1066, allocations: 0.9861 MB / 444.9 MB, free: 3.121 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001727/0.1068, allocations: 12 kB / 444.9 MB, free: 3.109 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001762/0.107, allocations: 55.44 kB / 445 MB, free: 3.055 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001692/0.1072, allocations: 99.05 kB / 445.1 MB, free: 2.957 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004387/0.1077, allocations: 143.6 kB / 445.2 MB, free: 2.816 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002778/0.1079, allocations: 394.1 kB / 445.6 MB, free: 2.43 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001718/0.1081, allocations: 89.36 kB / 445.7 MB, free: 2.34 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.1082, allocations: 139.5 kB / 445.8 MB, free: 2.203 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001575/0.1084, allocations: 147.3 kB / 446 MB, free: 2.059 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.826e-05/0.1084, allocations: 28 kB / 446 MB, free: 2.031 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.1086, allocations: 43.98 kB / 446.1 MB, free: 1.988 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.373e-05/0.1086, allocations: 67.77 kB / 446.1 MB, free: 1.922 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001168/0.1087, allocations: 167.1 kB / 446.3 MB, free: 1.758 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003089/0.1091, allocations: 362.8 kB / 446.6 MB, free: 1.402 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.1091, allocations: 0 / 446.6 MB, free: 1.402 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1091, allocations: 0 / 446.6 MB, free: 1.402 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.273e-05/0.1091, allocations: 0 / 446.6 MB, free: 1.402 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.0008893/0.11, allocations: 0.6238 MB / 447.3 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.11, allocations: 8.031 kB / 447.3 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002149/0.1103, allocations: 52.45 kB / 447.3 MB, free: 0.668 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002535/0.1105, allocations: 275.1 kB / 447.6 MB, free: 368 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.1105, allocations: 21.03 kB / 447.6 MB, free: 348 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.909e-05/0.1106, allocations: 44.27 kB / 447.7 MB, free: 304 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004245/0.111, allocations: 306.5 kB / 448 MB, free: 15.98 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.1111, allocations: 4 kB / 448 MB, free: 15.97 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.376e-05/0.1111, allocations: 12 kB / 448 MB, free: 15.96 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.1111, allocations: 8 kB / 448 MB, free: 15.95 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003683/0.1115, allocations: 195.8 kB / 448.2 MB, free: 15.76 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001806/0.1133, allocations: 1.284 MB / 449.5 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005449/0.1139, allocations: 337.2 kB / 449.8 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001629/0.1141, allocations: 108.2 kB / 449.9 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.115e-05/0.1141, allocations: 11.98 kB / 449.9 MB, free: 13.87 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.1141, allocations: 38.56 kB / 449.9 MB, free: 13.82 MB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 1.904e-06/0.1141, allocations: 0 / 449.9 MB, free: 13.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.002595/0.1167, allocations: 1.574 MB / 451.5 MB, free: 12.04 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.356e-05/0.1169, allocations: 166.2 kB / 451.7 MB, free: 11.84 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002285/0.1171, allocations: 224.9 kB / 451.9 MB, free: 11.61 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.435e-05/0.1171, allocations: 29.7 kB / 451.9 MB, free: 11.58 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.1173, allocations: 184.2 kB / 452.1 MB, free: 11.39 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/0.1174, allocations: 145.9 kB / 452.2 MB, free: 11.25 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.1175, allocations: 86.11 kB / 452.3 MB, free: 11.16 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.1176, allocations: 350.7 kB / 452.7 MB, free: 10.81 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001609/0.1178, allocations: 97.08 kB / 452.8 MB, free: 10.71 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002927/0.1181, allocations: 239.6 kB / 453 MB, free: 10.41 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004665/0.1186, allocations: 365.9 kB / 453.4 MB, free: 9.992 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.1186, allocations: 4 kB / 453.4 MB, free: 9.988 MB / 334.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0006213/0.1192, allocations: 405.5 kB / 453.8 MB, free: 9.586 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.1193, allocations: 12 kB / 453.8 MB, free: 9.574 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.1193, allocations: 4 kB / 453.8 MB, free: 9.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.1193, allocations: 8 kB / 453.8 MB, free: 9.562 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004127/0.1197, allocations: 127.8 kB / 453.9 MB, free: 9.438 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.576e-05/0.1197, allocations: 15.88 kB / 453.9 MB, free: 9.422 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001935/0.1199, allocations: 19.94 kB / 453.9 MB, free: 9.402 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.857e-05/0.12, allocations: 20 kB / 454 MB, free: 9.383 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.0001616/0.1202, allocations: 157.7 kB / 454.1 MB, free: 9.219 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/0.1203, allocations: 35.62 kB / 454.2 MB, free: 9.184 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002359/0.1205, allocations: 119.5 kB / 454.3 MB, free: 9.066 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.717e-06/0.1206, allocations: 7.938 kB / 454.3 MB, free: 9.059 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/0.1206, allocations: 7.984 kB / 454.3 MB, free: 9.051 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.1206, allocations: 3.984 kB / 454.3 MB, free: 9.047 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001654/0.1222, allocations: 1.026 MB / 455.3 MB, free: 7.938 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.1223, allocations: 4 kB / 455.3 MB, free: 7.934 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004379/0.1227, allocations: 96.09 kB / 455.4 MB, free: 7.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.041e-05/0.1227, allocations: 15.98 kB / 455.4 MB, free: 7.824 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.782e-05/0.1228, allocations: 12 kB / 455.4 MB, free: 7.812 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.1228, allocations: 4 kB / 455.4 MB, free: 7.809 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.1228, allocations: 4 kB / 455.4 MB, free: 7.805 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007901/0.1236, allocations: 0.8257 MB / 456.3 MB, free: 6.934 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.374e-05/0.1237, allocations: 104.8 kB / 456.4 MB, free: 6.812 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.601e-05/0.1237, allocations: 12.19 kB / 456.4 MB, free: 6.801 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002983/0.124, allocations: 12 kB / 456.4 MB, free: 6.789 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.261e-05/0.1241, allocations: 31.84 kB / 456.4 MB, free: 6.758 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.143e-05/0.1241, allocations: 19.98 kB / 456.5 MB, free: 6.738 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001441/0.1243, allocations: 152.5 kB / 456.6 MB, free: 6.59 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1243, allocations: 0 / 456.6 MB, free: 6.59 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005725/0.1248, allocations: 88 kB / 456.7 MB, free: 6.504 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.0001275/0.125, allocations: 119 kB / 456.8 MB, free: 6.375 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005207/0.1255, allocations: 296.7 kB / 457.1 MB, free: 6.086 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.1255, allocations: 4.688 kB / 457.1 MB, free: 6.082 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001844/0.1257, allocations: 135.8 kB / 457.2 MB, free: 5.949 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009728/0.1267, allocations: 70.7 kB / 457.3 MB, free: 5.883 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002056/0.1288, allocations: 1.279 MB / 458.6 MB, free: 4.535 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004164/0.1292, allocations: 0.788 MB / 459.4 MB, free: 3.723 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.1293, allocations: 31.44 kB / 459.4 MB, free: 3.691 MB / 334.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1293, allocations: 0 / 459.4 MB, free: 3.691 MB / 334.1 MB Notification: Performance of Templates: time 0.006425/0.1358, allocations: 3.94 MB / 463.3 MB, free: 15.77 MB / 350.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/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