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.001096/0.001096, allocations: 110.5 kB / 17.09 MB, free: 5.957 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.001148/0.001149, allocations: 200.2 kB / 18.02 MB, free: 5.047 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.383/1.383, allocations: 205.1 MB / 223.9 MB, free: 12.22 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.1969/0.1969, allocations: 43.53 MB / 314.8 MB, free: 448 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.001468/0.001468, allocations: 69.61 kB / 442.5 MB, free: 5.672 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1047, allocations: 57.79 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.003968/0.1087, allocations: 2.78 MB / 0.4912 GB, free: 9.023 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001751/0.1105, allocations: 0.9901 MB / 0.4922 GB, free: 8.023 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002339/0.1107, allocations: 7.938 kB / 0.4922 GB, free: 8.016 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001865/0.1109, allocations: 55.5 kB / 0.4923 GB, free: 7.961 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002313/0.1112, allocations: 95.06 kB / 0.4924 GB, free: 7.867 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004678/0.1117, allocations: 147.6 kB / 0.4925 GB, free: 7.723 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004405/0.1121, allocations: 378.2 kB / 0.4929 GB, free: 7.352 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001912/0.1123, allocations: 97 kB / 0.493 GB, free: 7.254 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000192/0.1125, allocations: 135.5 kB / 0.4931 GB, free: 7.121 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002209/0.1127, allocations: 155.2 kB / 0.4932 GB, free: 6.969 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.847e-05/0.1128, allocations: 32 kB / 0.4933 GB, free: 6.938 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000124/0.1129, allocations: 39.98 kB / 0.4933 GB, free: 6.898 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.758e-05/0.113, allocations: 67.75 kB / 0.4934 GB, free: 6.832 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001471/0.1132, allocations: 159.2 kB / 0.4935 GB, free: 6.676 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003671/0.1135, allocations: 374.7 kB / 0.4939 GB, free: 6.309 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1135, allocations: 7.938 kB / 0.4939 GB, free: 6.301 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1135, allocations: 0 / 0.4939 GB, free: 6.301 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.1136, allocations: 0 / 0.4939 GB, free: 6.301 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.001032/0.1146, allocations: 0.616 MB / 0.4945 GB, free: 5.633 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.1146, allocations: 8.031 kB / 0.4945 GB, free: 5.625 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002257/0.1149, allocations: 52.45 kB / 0.4945 GB, free: 5.574 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003415/0.1152, allocations: 283.4 kB / 0.4948 GB, free: 5.258 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.041e-05/0.1153, allocations: 21.03 kB / 0.4948 GB, free: 5.238 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.967e-05/0.1153, allocations: 36.28 kB / 0.4949 GB, free: 5.203 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00044/0.1158, allocations: 306.6 kB / 0.4952 GB, free: 4.883 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/0.1158, allocations: 4 kB / 0.4952 GB, free: 4.879 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.637e-05/0.1158, allocations: 12 kB / 0.4952 GB, free: 4.867 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.1158, allocations: 8 kB / 0.4952 GB, free: 4.859 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003545/0.1162, allocations: 207.8 kB / 0.4954 GB, free: 4.656 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001716/0.1179, allocations: 1.284 MB / 0.4966 GB, free: 3.273 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005025/0.1184, allocations: 332.8 kB / 0.497 GB, free: 2.902 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000148/0.1186, allocations: 104.3 kB / 0.4971 GB, free: 2.785 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.1186, allocations: 8.469 kB / 0.4971 GB, free: 2.777 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.1187, allocations: 42.5 kB / 0.4971 GB, free: 2.727 MB / 382.1 MB Notification: Performance of pre-optimization done (n=36): time 1.944e-06/0.1187, allocations: 0 / 0.4971 GB, free: 2.727 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.002382/0.1211, allocations: 1.578 MB / 0.4986 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.072e-05/0.1211, allocations: 162.2 kB / 0.4988 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002129/0.1214, allocations: 221 kB / 0.499 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.47e-05/0.1214, allocations: 33.7 kB / 0.499 GB, free: 488 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.1215, allocations: 176.2 kB / 0.4992 GB, free: 308 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/0.1216, allocations: 149.8 kB / 0.4993 GB, free: 156 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.945e-05/0.1217, allocations: 86.16 kB / 0.4994 GB, free: 64 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.1219, allocations: 342.8 kB / 0.4998 GB, free: 15.72 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001674/0.122, allocations: 93.08 kB / 0.4998 GB, free: 15.63 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002435/0.1223, allocations: 251.5 kB / 0.5001 GB, free: 15.32 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004327/0.1227, allocations: 374.3 kB / 0.5004 GB, free: 14.89 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.1227, allocations: 0 / 0.5004 GB, free: 14.89 MB / 398.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0005879/0.1233, allocations: 412.7 kB / 0.5008 GB, free: 14.48 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.1234, allocations: 8 kB / 0.5008 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.1234, allocations: 4.375 kB / 0.5008 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.1234, allocations: 12 kB / 0.5009 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000397/0.1238, allocations: 119.8 kB / 0.501 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.44e-05/0.1238, allocations: 15.86 kB / 0.501 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001828/0.124, allocations: 16 kB / 0.501 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.825e-05/0.1241, allocations: 20 kB / 0.501 GB, free: 14.29 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.0001438/0.1242, allocations: 161.6 kB / 0.5012 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/0.1243, allocations: 31.62 kB / 0.5012 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002143/0.1246, allocations: 123.3 kB / 0.5013 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.1246, allocations: 4 kB / 0.5013 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.1246, allocations: 3.938 kB / 0.5013 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.661e-05/0.1247, allocations: 104.8 kB / 0.5014 GB, free: 13.83 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.994e-05/0.1247, allocations: 4 kB / 0.5014 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002885/0.125, allocations: 12 kB / 0.5014 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.139e-05/0.1251, allocations: 23.97 kB / 0.5015 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009074/0.126, allocations: 0.7203 MB / 0.5022 GB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007569/0.1267, allocations: 0.8601 MB / 0.503 GB, free: 12.18 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001583/0.1269, allocations: 115.9 kB / 0.5031 GB, free: 12.06 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001348/0.127, allocations: 156.5 kB / 0.5033 GB, free: 11.91 MB / 398.1 MB Notification: Performance of Backend: time 4.31e-07/0.1271, allocations: 0 / 0.5033 GB, free: 11.91 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009462/0.128, allocations: 296.1 kB / 0.5036 GB, free: 11.62 MB / 398.1 MB Notification: Performance of SimCode: time 0.001903/0.1299, allocations: 1.614 MB / 0.5051 GB, free: 9.961 MB / 398.1 MB Notification: Performance of Templates: time 0.008069/0.138, allocations: 3.993 MB / 0.509 GB, free: 5.98 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/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