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.001203/0.001203, allocations: 117.2 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.001233/0.001233, allocations: 198.9 kB / 18.01 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.216/1.216, allocations: 205.1 MB / 223.9 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.181/0.181, allocations: 43.53 MB / 314.8 MB, free: 440 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.001283/0.001283, allocations: 69.47 kB / 442.5 MB, free: 5.672 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09099/0.09228, allocations: 57.79 MB / 0.4885 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.003439/0.09577, allocations: 2.781 MB / 0.4912 GB, free: 9.016 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001504/0.0973, allocations: 0.9823 MB / 0.4922 GB, free: 8.023 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001251/0.09744, allocations: 7.938 kB / 0.4922 GB, free: 8.016 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001596/0.0976, allocations: 59.44 kB / 0.4923 GB, free: 7.957 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001649/0.09779, allocations: 111 kB / 0.4924 GB, free: 7.848 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004103/0.09821, allocations: 139.6 kB / 0.4925 GB, free: 7.711 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003381/0.09856, allocations: 378.2 kB / 0.4929 GB, free: 7.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001736/0.09874, allocations: 97 kB / 0.4929 GB, free: 7.242 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.09888, allocations: 143.5 kB / 0.4931 GB, free: 7.102 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001768/0.09906, allocations: 155.2 kB / 0.4932 GB, free: 6.949 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.764e-05/0.0991, allocations: 28 kB / 0.4933 GB, free: 6.922 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.09922, allocations: 40 kB / 0.4933 GB, free: 6.883 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.034e-05/0.09927, allocations: 59.77 kB / 0.4934 GB, free: 6.824 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001426/0.09942, allocations: 167.2 kB / 0.4935 GB, free: 6.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003654/0.09979, allocations: 370.8 kB / 0.4939 GB, free: 6.297 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.09981, allocations: 0 / 0.4939 GB, free: 6.297 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.09981, allocations: 0 / 0.4939 GB, free: 6.297 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.137e-05/0.09983, allocations: 0 / 0.4939 GB, free: 6.297 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.0008877/0.1007, allocations: 0.6237 MB / 0.4945 GB, free: 5.621 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.1008, allocations: 8.031 kB / 0.4945 GB, free: 5.613 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002105/0.101, allocations: 60.44 kB / 0.4945 GB, free: 5.555 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003303/0.1013, allocations: 275.4 kB / 0.4948 GB, free: 5.246 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/0.1013, allocations: 25.03 kB / 0.4948 GB, free: 5.223 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.983e-05/0.1014, allocations: 32.28 kB / 0.4949 GB, free: 5.191 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004351/0.1019, allocations: 310.6 kB / 0.4952 GB, free: 4.867 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.147e-05/0.1019, allocations: 11.94 kB / 0.4952 GB, free: 4.855 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.576e-05/0.1019, allocations: 8 kB / 0.4952 GB, free: 4.848 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.1019, allocations: 8 kB / 0.4952 GB, free: 4.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000313/0.1022, allocations: 199.8 kB / 0.4954 GB, free: 4.645 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001558/0.1038, allocations: 1.273 MB / 0.4966 GB, free: 3.273 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004554/0.1043, allocations: 341.1 kB / 0.4969 GB, free: 2.895 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001356/0.1044, allocations: 112.2 kB / 0.497 GB, free: 2.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.1045, allocations: 4 kB / 0.497 GB, free: 2.766 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.1045, allocations: 42.56 kB / 0.4971 GB, free: 2.715 MB / 382.1 MB Notification: Performance of pre-optimization done (n=36): time 1.643e-06/0.1045, allocations: 0 / 0.4971 GB, free: 2.715 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.002215/0.1067, allocations: 1.567 MB / 0.4986 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.238e-05/0.1068, allocations: 166.2 kB / 0.4988 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001886/0.107, allocations: 228.9 kB / 0.499 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.144e-05/0.107, allocations: 29.7 kB / 0.499 GB, free: 480 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.891e-05/0.1071, allocations: 180.2 kB / 0.4992 GB, free: 296 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.424e-05/0.1072, allocations: 153.8 kB / 0.4993 GB, free: 140 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.1073, allocations: 82.17 kB / 0.4994 GB, free: 52 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.1075, allocations: 342.8 kB / 0.4997 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.1076, allocations: 97.08 kB / 0.4998 GB, free: 15.61 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002303/0.1079, allocations: 239.6 kB / 0.5001 GB, free: 15.31 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004062/0.1083, allocations: 378 kB / 0.5004 GB, free: 14.88 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1083, allocations: 0 / 0.5004 GB, free: 14.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0005323/0.1088, allocations: 408.9 kB / 0.5008 GB, free: 14.47 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.1088, allocations: 8 kB / 0.5008 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.1089, allocations: 4.375 kB / 0.5008 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.1089, allocations: 12 kB / 0.5008 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003713/0.1093, allocations: 123.8 kB / 0.501 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.954e-05/0.1093, allocations: 11.94 kB / 0.501 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001663/0.1095, allocations: 16 kB / 0.501 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.57e-05/0.1095, allocations: 20 kB / 0.501 GB, free: 14.28 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.0001283/0.1096, allocations: 161.6 kB / 0.5012 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/0.1097, allocations: 31.62 kB / 0.5012 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002012/0.11, allocations: 127.2 kB / 0.5013 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.11, allocations: 7.938 kB / 0.5013 GB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.11, allocations: 4 kB / 0.5013 GB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.11, allocations: 3.984 kB / 0.5013 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001304/0.1113, allocations: 1.026 MB / 0.5023 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/0.1113, allocations: 4 kB / 0.5023 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004087/0.1117, allocations: 99.83 kB / 0.5024 GB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.24e-05/0.1118, allocations: 4 kB / 0.5024 GB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.442e-05/0.1118, allocations: 16 kB / 0.5024 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.1118, allocations: 4.25 kB / 0.5025 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.1118, allocations: 8.312 kB / 0.5025 GB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006786/0.1125, allocations: 0.8218 MB / 0.5033 GB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.703e-05/0.1126, allocations: 108.8 kB / 0.5034 GB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.068e-05/0.1126, allocations: 11.94 kB / 0.5034 GB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002826/0.1129, allocations: 16 kB / 0.5034 GB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.618e-05/0.113, allocations: 35.89 kB / 0.5034 GB, free: 11.63 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.837e-05/0.113, allocations: 12.11 kB / 0.5034 GB, free: 11.62 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001181/0.1131, allocations: 160.4 kB / 0.5036 GB, free: 11.46 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1131, allocations: 0 / 0.5036 GB, free: 11.46 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005278/0.1136, allocations: 80 kB / 0.5037 GB, free: 11.38 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.0001095/0.1138, allocations: 123.1 kB / 0.5038 GB, free: 11.25 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003999/0.1142, allocations: 285 kB / 0.5041 GB, free: 10.98 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1142, allocations: 0 / 0.5041 GB, free: 10.98 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001574/0.1143, allocations: 133.7 kB / 0.5042 GB, free: 10.85 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000787/0.1151, allocations: 88.59 kB / 0.5043 GB, free: 10.77 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00163/0.1168, allocations: 1.263 MB / 0.5055 GB, free: 9.438 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/0.1171, allocations: 0.7842 MB / 0.5063 GB, free: 8.625 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.1e-05/0.1172, allocations: 31.44 kB / 0.5063 GB, free: 8.594 MB / 398.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1172, allocations: 0 / 0.5063 GB, free: 8.594 MB / 398.1 MB Notification: Performance of Templates: time 0.00532/0.1225, allocations: 4.01 MB / 0.5102 GB, free: 4.586 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