Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.TestBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_ModelicaTest.Translational.TestBraking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001928/0.001936, allocations: 177.3 kB / 16.41 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.672/1.672, allocations: 205.4 MB / 222.5 MB, free: 9.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008566/0.0008567, allocations: 97.06 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4134/0.4134, allocations: 43.55 MB / 362.7 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004695/0.0004698, allocations: 12 kB / 431.4 MB, free: 5.922 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1415, allocations: 58.84 MB / 490.2 MB, free: 10.99 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.003329/0.1449, allocations: 2.355 MB / 492.6 MB, free: 8.625 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001991/0.1469, allocations: 0.9322 MB / 493.5 MB, free: 7.684 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003106/0.1473, allocations: 7.938 kB / 493.5 MB, free: 7.676 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002057/0.1475, allocations: 35.69 kB / 493.6 MB, free: 7.641 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002858/0.1478, allocations: 95.23 kB / 493.6 MB, free: 7.547 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000555/0.1484, allocations: 115.7 kB / 493.8 MB, free: 7.434 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005268/0.1489, allocations: 350.3 kB / 494.1 MB, free: 7.09 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002223/0.1491, allocations: 81.58 kB / 494.2 MB, free: 7.016 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002288/0.1494, allocations: 111.6 kB / 494.3 MB, free: 6.906 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000317/0.1497, allocations: 147.3 kB / 494.4 MB, free: 6.762 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.658e-05/0.1498, allocations: 12 kB / 494.4 MB, free: 6.75 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001524/0.1499, allocations: 27.98 kB / 494.5 MB, free: 6.723 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.79e-05/0.15, allocations: 51.78 kB / 494.5 MB, free: 6.672 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001097/0.1501, allocations: 85.52 kB / 494.6 MB, free: 6.582 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003228/0.1504, allocations: 271.5 kB / 494.9 MB, free: 6.316 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.1505, allocations: 8 kB / 494.9 MB, free: 6.309 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.003e-06/0.1505, allocations: 0 / 494.9 MB, free: 6.309 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.124e-05/0.1505, allocations: 0 / 494.9 MB, free: 6.309 MB / 378.7 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.0011/0.1516, allocations: 0.5652 MB / 495.4 MB, free: 5.695 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.1516, allocations: 8.031 kB / 495.5 MB, free: 5.688 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002913/0.1519, allocations: 55.59 kB / 495.5 MB, free: 5.633 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003633/0.1523, allocations: 258.5 kB / 495.8 MB, free: 5.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.563e-05/0.1524, allocations: 20.66 kB / 495.8 MB, free: 5.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.654e-05/0.1524, allocations: 39.91 kB / 495.8 MB, free: 5.281 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005501/0.153, allocations: 302.7 kB / 496.1 MB, free: 4.965 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.522e-05/0.153, allocations: 0 / 496.1 MB, free: 4.965 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.581e-05/0.1531, allocations: 19.95 kB / 496.1 MB, free: 4.945 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.1531, allocations: 11.94 kB / 496.1 MB, free: 4.934 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003724/0.1535, allocations: 196.4 kB / 496.3 MB, free: 4.742 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001858/0.1553, allocations: 1.285 MB / 497.6 MB, free: 3.363 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005121/0.1559, allocations: 325.3 kB / 497.9 MB, free: 3 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001575/0.156, allocations: 112.2 kB / 498 MB, free: 2.875 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.892e-05/0.1561, allocations: 7.938 kB / 498.1 MB, free: 2.867 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.744e-05/0.1561, allocations: 42.56 kB / 498.1 MB, free: 2.816 MB / 378.7 MB Notification: Performance of pre-optimization done (n=36): time 1.703e-06/0.1561, allocations: 0 / 498.1 MB, free: 2.816 MB / 378.7 MB Notification: Performance of matching and sorting (n=40): time 0.002578/0.1587, allocations: 1.566 MB / 499.7 MB, free: 1.039 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.168e-05/0.1588, allocations: 170.2 kB / 499.8 MB, free: 0.8359 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002124/0.159, allocations: 217 kB / 0.4883 GB, free: 0.6094 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.965e-05/0.1591, allocations: 33.7 kB / 0.4884 GB, free: 0.5703 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.1592, allocations: 184.1 kB / 0.4885 GB, free: 396 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001323/0.1593, allocations: 153.8 kB / 0.4887 GB, free: 240 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.541e-05/0.1593, allocations: 7.938 kB / 0.4887 GB, free: 232 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.2458/0.4052, allocations: 344.7 kB / 0.489 GB, free: 42.66 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003198/0.4056, allocations: 90.05 kB / 0.4891 GB, free: 42.66 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00027/0.4058, allocations: 242.2 kB / 0.4893 GB, free: 42.49 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002283/0.4061, allocations: 136.7 kB / 0.4895 GB, free: 42.49 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.4061, allocations: 1.312 kB / 0.4895 GB, free: 42.49 MB / 378.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0006753/0.4068, allocations: 403.7 kB / 0.4898 GB, free: 42.46 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.4068, allocations: 8.516 kB / 0.4899 GB, free: 42.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.4068, allocations: 7.75 kB / 0.4899 GB, free: 42.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.704e-05/0.4069, allocations: 8.406 kB / 0.4899 GB, free: 42.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004383/0.4073, allocations: 116.9 kB / 0.49 GB, free: 42.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.906e-05/0.4073, allocations: 16.77 kB / 0.49 GB, free: 42.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002257/0.4076, allocations: 18.59 kB / 0.49 GB, free: 42.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.121e-05/0.4076, allocations: 22.06 kB / 0.49 GB, free: 42.45 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001465/0.4077, allocations: 156.5 kB / 0.4902 GB, free: 42.33 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/0.4079, allocations: 32.47 kB / 0.4902 GB, free: 42.33 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002158/0.4081, allocations: 119.7 kB / 0.4903 GB, free: 42.29 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.4081, allocations: 8.047 kB / 0.4903 GB, free: 42.29 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.4081, allocations: 5.703 kB / 0.4903 GB, free: 42.29 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.4081, allocations: 4.281 kB / 0.4903 GB, free: 42.29 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001435/0.4096, allocations: 1.027 MB / 0.4914 GB, free: 41.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/0.4096, allocations: 5.125 kB / 0.4914 GB, free: 41.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004933/0.4101, allocations: 94.23 kB / 0.4914 GB, free: 41.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.033e-05/0.4101, allocations: 10.16 kB / 0.4915 GB, free: 41.69 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.182e-05/0.4102, allocations: 13.77 kB / 0.4915 GB, free: 41.69 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.562e-06/0.4102, allocations: 4.906 kB / 0.4915 GB, free: 41.69 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.481e-06/0.4102, allocations: 11.83 kB / 0.4915 GB, free: 41.68 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007113/0.4109, allocations: 0.8206 MB / 0.4923 GB, free: 41.17 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.49e-05/0.411, allocations: 109.8 kB / 0.4924 GB, free: 41.07 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.38e-05/0.411, allocations: 16.25 kB / 0.4924 GB, free: 41.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002896/0.4113, allocations: 13.95 kB / 0.4924 GB, free: 41.07 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.146e-05/0.4114, allocations: 30.12 kB / 0.4924 GB, free: 41.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.187e-05/0.4114, allocations: 15.33 kB / 0.4925 GB, free: 41.07 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001205/0.4115, allocations: 156.5 kB / 0.4926 GB, free: 40.99 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.4115, allocations: 0 / 0.4926 GB, free: 40.99 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005027/0.412, allocations: 89.5 kB / 0.4927 GB, free: 40.98 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001292/0.4122, allocations: 111.7 kB / 0.4928 GB, free: 40.89 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004615/0.4126, allocations: 274.8 kB / 0.4931 GB, free: 40.87 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.4126, allocations: 0.75 kB / 0.4931 GB, free: 40.87 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001986/0.4129, allocations: 138.2 kB / 0.4932 GB, free: 40.85 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009216/0.4138, allocations: 71.03 kB / 0.4933 GB, free: 40.84 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001874/0.4157, allocations: 1.54 MB / 0.4948 GB, free: 39.81 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002911/0.416, allocations: 0.7877 MB / 0.4955 GB, free: 39.11 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.987e-05/0.4161, allocations: 30.67 kB / 0.4956 GB, free: 39.1 MB / 378.7 MB Notification: Performance of SimCode: time 4.01e-07/0.4161, allocations: 1.062 kB / 0.4956 GB, free: 39.1 MB / 378.7 MB Notification: Performance of Templates: time 0.006987/0.4231, allocations: 3.872 MB / 0.4994 GB, free: 38.8 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.TestBraking.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.TestBraking.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.TestBraking --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.TestBraking.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.TestBraking_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Translational/TestBraking/TestBraking.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.TestBraking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches