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.001149/0.001149, allocations: 111 kB / 17.04 MB, free: 5.812 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.001069/0.001069, allocations: 195 kB / 17.97 MB, free: 5.027 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.425/1.425, allocations: 205.1 MB / 223.8 MB, free: 12.25 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.1996/0.1996, allocations: 43.53 MB / 314.7 MB, free: 472 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.001561/0.001562, allocations: 69.66 kB / 384.2 MB, free: 56.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09485/0.09643, allocations: 57.79 MB / 442 MB, free: 6.168 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.003567/0.1, allocations: 2.773 MB / 444.7 MB, free: 3.379 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001452/0.1015, allocations: 0.9783 MB / 445.7 MB, free: 2.391 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001901/0.1017, allocations: 12 kB / 445.7 MB, free: 2.379 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001551/0.1019, allocations: 55.44 kB / 445.8 MB, free: 2.324 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001601/0.1021, allocations: 107 kB / 445.9 MB, free: 2.219 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003938/0.1025, allocations: 143.6 kB / 446 MB, free: 2.078 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002902/0.1028, allocations: 382.1 kB / 446.4 MB, free: 1.703 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001634/0.103, allocations: 97.05 kB / 446.5 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.45e-05/0.1031, allocations: 131.5 kB / 446.6 MB, free: 1.477 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001537/0.1032, allocations: 155.2 kB / 446.8 MB, free: 1.324 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.339e-05/0.1033, allocations: 28 kB / 446.8 MB, free: 1.297 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.286e-05/0.1034, allocations: 39.98 kB / 446.8 MB, free: 1.258 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.957e-05/0.1034, allocations: 67.77 kB / 446.9 MB, free: 1.191 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001037/0.1035, allocations: 167.1 kB / 447.1 MB, free: 1.027 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002648/0.1038, allocations: 370.7 kB / 447.4 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1038, allocations: 0 / 447.4 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.594e-06/0.1038, allocations: 0 / 447.4 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.737e-06/0.1038, allocations: 3.938 kB / 447.4 MB, free: 0.6602 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.0008067/0.1046, allocations: 0.6161 MB / 448.1 MB, free: 15.99 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.1047, allocations: 12.03 kB / 448.1 MB, free: 15.98 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002226/0.1049, allocations: 52.41 kB / 448.1 MB, free: 15.93 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003706/0.1053, allocations: 283.4 kB / 448.4 MB, free: 15.61 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.324e-05/0.1053, allocations: 21.03 kB / 448.4 MB, free: 15.59 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.855e-05/0.1054, allocations: 36.28 kB / 448.4 MB, free: 15.56 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000452/0.1059, allocations: 302.6 kB / 448.7 MB, free: 15.24 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.15e-05/0.1059, allocations: 4 kB / 448.7 MB, free: 15.24 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.769e-05/0.1059, allocations: 8 kB / 448.8 MB, free: 15.23 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.1059, allocations: 11.98 kB / 448.8 MB, free: 15.22 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003516/0.1063, allocations: 203.8 kB / 449 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001804/0.1081, allocations: 1.276 MB / 450.2 MB, free: 13.64 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005407/0.1087, allocations: 341.1 kB / 450.6 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000149/0.1088, allocations: 104.3 kB / 450.7 MB, free: 13.15 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.748e-05/0.1089, allocations: 4 kB / 450.7 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.1089, allocations: 46.83 kB / 450.7 MB, free: 13.09 MB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 4.078e-06/0.1089, allocations: 0 / 450.7 MB, free: 13.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.00241/0.1113, allocations: 1.578 MB / 452.3 MB, free: 11.3 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.071e-05/0.1114, allocations: 158.2 kB / 452.5 MB, free: 11.11 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002076/0.1116, allocations: 224.9 kB / 452.7 MB, free: 10.88 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.1117, allocations: 41.7 kB / 452.7 MB, free: 10.84 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.1118, allocations: 176.2 kB / 452.9 MB, free: 10.66 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001128/0.1119, allocations: 145.9 kB / 453 MB, free: 10.52 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/0.112, allocations: 86.16 kB / 453.1 MB, free: 10.43 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.1122, allocations: 346.8 kB / 453.5 MB, free: 10.08 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001631/0.1123, allocations: 85.09 kB / 453.5 MB, free: 9.996 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002529/0.1126, allocations: 255.5 kB / 453.8 MB, free: 9.68 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004382/0.113, allocations: 362.1 kB / 454.1 MB, free: 9.262 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.1131, allocations: 0 / 454.1 MB, free: 9.262 MB / 334.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0005881/0.1137, allocations: 416.9 kB / 454.6 MB, free: 8.848 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.1137, allocations: 8 kB / 454.6 MB, free: 8.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.1137, allocations: 7.938 kB / 454.6 MB, free: 8.832 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.1137, allocations: 12.03 kB / 454.6 MB, free: 8.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000393/0.1141, allocations: 119.8 kB / 454.7 MB, free: 8.703 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.64e-05/0.1141, allocations: 16.3 kB / 454.7 MB, free: 8.688 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002038/0.1144, allocations: 19.94 kB / 454.7 MB, free: 8.668 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.742e-05/0.1144, allocations: 24 kB / 454.8 MB, free: 8.645 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.0001387/0.1145, allocations: 157.7 kB / 454.9 MB, free: 8.48 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.1147, allocations: 31.62 kB / 454.9 MB, free: 8.449 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002316/0.1149, allocations: 119.3 kB / 455.1 MB, free: 8.332 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.1149, allocations: 7.938 kB / 455.1 MB, free: 8.324 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.1149, allocations: 0 / 455.1 MB, free: 8.324 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.115, allocations: 4 kB / 455.1 MB, free: 8.32 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001448/0.1164, allocations: 1.033 MB / 456.1 MB, free: 7.203 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.1164, allocations: 4 kB / 456.1 MB, free: 7.199 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004413/0.1169, allocations: 95.89 kB / 456.2 MB, free: 7.105 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/0.1169, allocations: 4 kB / 456.2 MB, free: 7.102 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.7e-05/0.1169, allocations: 12 kB / 456.2 MB, free: 7.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.313e-06/0.1169, allocations: 7.984 kB / 456.2 MB, free: 7.082 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.1169, allocations: 7.938 kB / 456.2 MB, free: 7.074 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007697/0.1177, allocations: 0.8224 MB / 457.1 MB, free: 6.203 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.771e-05/0.1178, allocations: 104.9 kB / 457.2 MB, free: 6.082 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.536e-05/0.1179, allocations: 16.11 kB / 457.2 MB, free: 6.066 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000312/0.1182, allocations: 11.94 kB / 457.2 MB, free: 6.055 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.5e-05/0.1183, allocations: 39.84 kB / 457.2 MB, free: 6.016 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.349e-05/0.1183, allocations: 16 kB / 457.2 MB, free: 6 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001309/0.1184, allocations: 156.5 kB / 457.4 MB, free: 5.848 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1184, allocations: 0 / 457.4 MB, free: 5.848 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005345/0.119, allocations: 80 kB / 457.5 MB, free: 5.77 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.0001046/0.1191, allocations: 111.3 kB / 457.6 MB, free: 5.648 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000452/0.1195, allocations: 305.9 kB / 457.9 MB, free: 5.352 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1195, allocations: 3.938 kB / 457.9 MB, free: 5.348 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000172/0.1197, allocations: 123.8 kB / 458 MB, free: 5.227 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008677/0.1206, allocations: 77.72 kB / 458.1 MB, free: 5.152 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001745/0.1224, allocations: 1.234 MB / 459.3 MB, free: 3.855 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004186/0.1228, allocations: 0.788 MB / 460.1 MB, free: 3.043 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001519/0.1229, allocations: 39.27 kB / 460.1 MB, free: 3.008 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.569e-05/0.123, allocations: 27.44 kB / 460.2 MB, free: 2.98 MB / 334.1 MB Notification: Performance of SimCode: time 2.244e-06/0.123, allocations: 0 / 460.2 MB, free: 2.98 MB / 334.1 MB Notification: Performance of Templates: time 0.00643/0.1295, allocations: 3.14 MB / 463.3 MB, free: 15.88 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 -s gbode -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