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.001311/0.001311, allocations: 116.2 kB / 17.08 MB, free: 5.969 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.001335/0.001335, 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.337/1.337, 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.2018/0.2018, 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.001628/0.001628, allocations: 73.59 kB / 442.5 MB, free: 5.676 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09932/0.101, allocations: 57.79 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004241/0.1052, allocations: 2.781 MB / 0.4912 GB, free: 9.023 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001903/0.1072, allocations: 0.9937 MB / 0.4922 GB, free: 8.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003045/0.1075, allocations: 4 kB / 0.4922 GB, free: 8.016 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002463/0.1078, allocations: 55.44 kB / 0.4923 GB, free: 7.961 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003357/0.1082, allocations: 103.1 kB / 0.4924 GB, free: 7.859 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006107/0.1088, allocations: 143.6 kB / 0.4925 GB, free: 7.719 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005601/0.1094, allocations: 382.2 kB / 0.4929 GB, free: 7.344 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002119/0.1096, allocations: 89.02 kB / 0.4929 GB, free: 7.254 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002247/0.1098, allocations: 143.5 kB / 0.4931 GB, free: 7.113 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000243/0.1101, allocations: 155.2 kB / 0.4932 GB, free: 6.961 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.804e-05/0.1101, allocations: 28 kB / 0.4933 GB, free: 6.934 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001368/0.1103, allocations: 43.98 kB / 0.4933 GB, free: 6.891 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.692e-05/0.1104, allocations: 63.77 kB / 0.4934 GB, free: 6.828 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001533/0.1105, allocations: 163.2 kB / 0.4935 GB, free: 6.668 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004032/0.1109, allocations: 366.8 kB / 0.4939 GB, free: 6.309 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1109, allocations: 0 / 0.4939 GB, free: 6.309 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1109, allocations: 0 / 0.4939 GB, free: 6.309 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.242e-05/0.111, allocations: 0 / 0.4939 GB, free: 6.309 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.00104/0.112, allocations: 0.6276 MB / 0.4945 GB, free: 5.629 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.112, allocations: 8.031 kB / 0.4945 GB, free: 5.621 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002452/0.1123, allocations: 56.45 kB / 0.4945 GB, free: 5.566 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003993/0.1127, allocations: 267.6 kB / 0.4948 GB, free: 5.266 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.354e-05/0.1127, allocations: 25.03 kB / 0.4948 GB, free: 5.242 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.245e-05/0.1128, allocations: 36.28 kB / 0.4949 GB, free: 5.207 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005415/0.1134, allocations: 310.6 kB / 0.4952 GB, free: 4.883 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.783e-05/0.1134, allocations: 7.938 kB / 0.4952 GB, free: 4.875 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.859e-05/0.1134, allocations: 8 kB / 0.4952 GB, free: 4.867 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.519e-05/0.1135, allocations: 8 kB / 0.4952 GB, free: 4.859 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003657/0.1138, allocations: 203.8 kB / 0.4954 GB, free: 4.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001782/0.1156, allocations: 1.28 MB / 0.4966 GB, free: 3.281 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005173/0.1161, allocations: 337.3 kB / 0.4969 GB, free: 2.906 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001518/0.1163, allocations: 112.2 kB / 0.497 GB, free: 2.781 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.1163, allocations: 4 kB / 0.4971 GB, free: 2.777 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/0.1164, allocations: 42.56 kB / 0.4971 GB, free: 2.727 MB / 382.1 MB Notification: Performance of pre-optimization done (n=36): time 2.164e-06/0.1164, allocations: 0 / 0.4971 GB, free: 2.727 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.002514/0.1189, allocations: 1.578 MB / 0.4986 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.909e-05/0.119, allocations: 166.2 kB / 0.4988 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002088/0.1192, allocations: 225 kB / 0.499 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.692e-05/0.1193, allocations: 29.7 kB / 0.499 GB, free: 484 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.1194, allocations: 188.1 kB / 0.4992 GB, free: 292 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/0.1195, allocations: 145.8 kB / 0.4994 GB, free: 144 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001154/0.1196, allocations: 86.16 kB / 0.4994 GB, free: 52 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.1198, allocations: 338.8 kB / 0.4998 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001588/0.1199, allocations: 101.1 kB / 0.4999 GB, free: 15.61 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002431/0.1202, allocations: 243.6 kB / 0.5001 GB, free: 15.31 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004513/0.1206, allocations: 365.9 kB / 0.5004 GB, free: 14.89 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.1206, allocations: 4 kB / 0.5004 GB, free: 14.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0006025/0.1213, allocations: 405 kB / 0.5008 GB, free: 14.48 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.132e-05/0.1213, allocations: 8.375 kB / 0.5008 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.1213, allocations: 8 kB / 0.5008 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.295e-05/0.1213, allocations: 8 kB / 0.5008 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003935/0.1217, allocations: 119.8 kB / 0.501 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.582e-05/0.1218, allocations: 16 kB / 0.501 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001963/0.122, allocations: 19.98 kB / 0.501 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.875e-05/0.122, 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.0001586/0.1222, allocations: 161.6 kB / 0.5012 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/0.1223, allocations: 31.62 kB / 0.5012 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002328/0.1225, allocations: 127.2 kB / 0.5013 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.495e-06/0.1226, allocations: 7.938 kB / 0.5013 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/0.1226, allocations: 4 kB / 0.5013 GB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.288e-06/0.1226, allocations: 0 / 0.5013 GB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001503/0.1241, allocations: 1.022 MB / 0.5023 GB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/0.1241, allocations: 7.938 kB / 0.5023 GB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004246/0.1245, allocations: 95.89 kB / 0.5024 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.816e-06/0.1246, allocations: 4 kB / 0.5024 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.093e-05/0.1246, allocations: 16 kB / 0.5024 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.945e-06/0.1246, allocations: 16.36 kB / 0.5025 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.1246, allocations: 7.938 kB / 0.5025 GB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007925/0.1254, allocations: 0.818 MB / 0.5033 GB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.464e-05/0.1255, allocations: 104.8 kB / 0.5034 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.946e-05/0.1256, allocations: 11.98 kB / 0.5034 GB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003081/0.1259, allocations: 16 kB / 0.5034 GB, free: 11.67 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.975e-05/0.126, allocations: 31.91 kB / 0.5034 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.172e-05/0.126, allocations: 12.11 kB / 0.5034 GB, free: 11.63 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001319/0.1261, allocations: 164.4 kB / 0.5036 GB, free: 11.47 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1261, allocations: 0 / 0.5036 GB, free: 11.47 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005849/0.1267, allocations: 80 kB / 0.5037 GB, free: 11.39 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.0001191/0.1268, allocations: 123.4 kB / 0.5038 GB, free: 11.26 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004811/0.1273, allocations: 281.1 kB / 0.5041 GB, free: 10.99 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.1273, allocations: 0 / 0.5041 GB, free: 10.99 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001846/0.1275, allocations: 136.9 kB / 0.5042 GB, free: 10.86 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000877/0.1284, allocations: 69.53 kB / 0.5043 GB, free: 10.79 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001949/0.1304, allocations: 1.275 MB / 0.5055 GB, free: 9.449 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003659/0.1308, allocations: 0.7803 MB / 0.5063 GB, free: 8.641 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001016/0.1309, allocations: 31.44 kB / 0.5063 GB, free: 8.609 MB / 398.1 MB Notification: Performance of SimCode: time 9.62e-07/0.1309, allocations: 0 / 0.5063 GB, free: 8.609 MB / 398.1 MB Notification: Performance of Templates: time 0.006819/0.1377, allocations: 3.975 MB / 0.5102 GB, free: 4.637 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