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.001513/0.001513, allocations: 175.5 kB / 16.72 MB, free: 5.082 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.246/1.246, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.0007072/0.0007072, allocations: 93.34 kB / 271.2 MB, free: 8.254 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.2853/0.2853, allocations: 43.56 MB / 363.1 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003362/0.0003363, allocations: 12 kB / 432 MB, free: 5.613 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09331/0.09366, allocations: 58.85 MB / 490.8 MB, free: 10.68 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.002332/0.09603, allocations: 2.355 MB / 493.2 MB, free: 8.309 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001195/0.09724, allocations: 0.9438 MB / 494.1 MB, free: 7.355 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001135/0.09737, allocations: 7.938 kB / 494.1 MB, free: 7.348 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001198/0.0975, allocations: 35.7 kB / 494.2 MB, free: 7.312 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001534/0.09766, allocations: 95.23 kB / 494.2 MB, free: 7.219 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003228/0.09799, allocations: 103.8 kB / 494.3 MB, free: 7.117 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003092/0.09831, allocations: 358.2 kB / 494.7 MB, free: 6.766 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001593/0.09847, allocations: 77.67 kB / 494.8 MB, free: 6.695 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.0986, allocations: 115.5 kB / 494.9 MB, free: 6.582 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001664/0.09877, allocations: 139.4 kB / 495 MB, free: 6.445 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.331e-05/0.09882, allocations: 19.94 kB / 495 MB, free: 6.426 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001003/0.09893, allocations: 27.98 kB / 495.1 MB, free: 6.398 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.99e-05/0.09899, allocations: 51.83 kB / 495.1 MB, free: 6.348 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001255/0.09912, allocations: 173 kB / 495.3 MB, free: 6.172 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002427/0.09937, allocations: 263.5 kB / 495.5 MB, free: 5.914 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.09938, allocations: 0 / 495.5 MB, free: 5.914 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.09939, allocations: 0 / 495.5 MB, free: 5.914 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.0994, allocations: 8 kB / 495.6 MB, free: 5.906 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.0007634/0.1002, allocations: 0.5692 MB / 496.1 MB, free: 5.289 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.058e-05/0.1002, allocations: 8.031 kB / 496.1 MB, free: 5.281 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001896/0.1004, allocations: 48.55 kB / 496.2 MB, free: 5.234 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002485/0.1007, allocations: 275.4 kB / 496.4 MB, free: 4.926 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.1007, allocations: 20.97 kB / 496.5 MB, free: 4.906 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.058e-05/0.1007, allocations: 36.28 kB / 496.5 MB, free: 4.871 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004107/0.1012, allocations: 306.6 kB / 496.8 MB, free: 4.551 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.367e-05/0.1012, allocations: 7.891 kB / 496.8 MB, free: 4.543 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.567e-05/0.1012, allocations: 12 kB / 496.8 MB, free: 4.531 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.1012, allocations: 8 kB / 496.8 MB, free: 4.523 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003135/0.1016, allocations: 199.8 kB / 497 MB, free: 4.328 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001561/0.1031, allocations: 1.28 MB / 498.3 MB, free: 2.953 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004516/0.1036, allocations: 332.8 kB / 498.6 MB, free: 2.582 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001367/0.1037, allocations: 108.2 kB / 498.7 MB, free: 2.461 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.992e-05/0.1038, allocations: 8.453 kB / 498.7 MB, free: 2.453 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.1038, allocations: 42.56 kB / 498.8 MB, free: 2.402 MB / 378.7 MB Notification: Performance of pre-optimization done (n=36): time 1.573e-06/0.1038, allocations: 0 / 498.8 MB, free: 2.402 MB / 378.7 MB Notification: Performance of matching and sorting (n=40): time 0.002175/0.106, allocations: 1.575 MB / 0.4886 GB, free: 0.6172 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.829e-05/0.1061, allocations: 170.1 kB / 0.4888 GB, free: 424 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001793/0.1063, allocations: 224.8 kB / 0.489 GB, free: 184 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.1063, allocations: 29.7 kB / 0.489 GB, free: 148 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1586/0.2649, allocations: 173.8 kB / 0.4892 GB, free: 42.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001309/0.2651, allocations: 159.8 kB / 0.4894 GB, free: 42.94 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.701e-05/0.2651, allocations: 8.469 kB / 0.4894 GB, free: 42.94 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.614e-05/0.2652, allocations: 340.9 kB / 0.4897 GB, free: 42.63 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001599/0.2653, allocations: 92.16 kB / 0.4898 GB, free: 42.63 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001944/0.2655, allocations: 247.6 kB / 0.49 GB, free: 42.46 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003951/0.266, allocations: 363.6 kB / 0.4904 GB, free: 42.3 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.266, allocations: 2.875 kB / 0.4904 GB, free: 42.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0005631/0.2665, allocations: 408.4 kB / 0.4908 GB, free: 42.24 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.2666, allocations: 7.578 kB / 0.4908 GB, free: 42.24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.2666, allocations: 6.062 kB / 0.4908 GB, free: 42.24 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.808e-05/0.2666, allocations: 12.08 kB / 0.4908 GB, free: 42.24 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004116/0.267, allocations: 117.8 kB / 0.4909 GB, free: 42.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.267, allocations: 8.188 kB / 0.4909 GB, free: 42.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001856/0.2672, allocations: 21.05 kB / 0.4909 GB, free: 42.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.781e-05/0.2673, allocations: 20.14 kB / 0.4909 GB, free: 42.23 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.0001218/0.2674, allocations: 160.2 kB / 0.4911 GB, free: 42.11 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.2675, allocations: 34.88 kB / 0.4911 GB, free: 42.1 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002082/0.2677, allocations: 123 kB / 0.4912 GB, free: 42.06 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.2677, allocations: 10.22 kB / 0.4913 GB, free: 42.06 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.2678, allocations: 1.875 kB / 0.4913 GB, free: 42.06 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.2678, allocations: 3.672 kB / 0.4913 GB, free: 42.06 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001307/0.2691, allocations: 1.033 MB / 0.4923 GB, free: 41.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.2691, allocations: 3.344 kB / 0.4923 GB, free: 41.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003981/0.2695, allocations: 95.84 kB / 0.4924 GB, free: 41.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.2695, allocations: 4.5 kB / 0.4924 GB, free: 41.44 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.617e-05/0.2695, allocations: 12.03 kB / 0.4924 GB, free: 41.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/0.2696, allocations: 9.266 kB / 0.4924 GB, free: 41.44 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.2696, allocations: 3.891 kB / 0.4924 GB, free: 41.44 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006002/0.2702, allocations: 0.821 MB / 0.4932 GB, free: 40.91 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.575e-05/0.2702, allocations: 111 kB / 0.4933 GB, free: 40.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.063e-05/0.2703, allocations: 13.08 kB / 0.4933 GB, free: 40.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002729/0.2706, allocations: 9.312 kB / 0.4933 GB, free: 40.8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.615e-05/0.2706, allocations: 38.08 kB / 0.4934 GB, free: 40.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.011e-05/0.2706, allocations: 12.42 kB / 0.4934 GB, free: 40.79 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001074/0.2707, allocations: 156 kB / 0.4935 GB, free: 40.71 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2707, allocations: 1.5 kB / 0.4935 GB, free: 40.71 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005085/0.2713, allocations: 84.75 kB / 0.4936 GB, free: 40.71 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 8.712e-05/0.2714, allocations: 115 kB / 0.4937 GB, free: 40.61 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004063/0.2718, allocations: 279 kB / 0.494 GB, free: 40.59 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.2718, allocations: 0 / 0.494 GB, free: 40.59 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001652/0.272, allocations: 135.7 kB / 0.4941 GB, free: 40.57 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008307/0.2728, allocations: 76.05 kB / 0.4942 GB, free: 40.57 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001594/0.2744, allocations: 1.539 MB / 0.4957 GB, free: 39.53 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002126/0.2746, allocations: 0.7842 MB / 0.4964 GB, free: 38.83 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.958e-05/0.2747, allocations: 34.3 kB / 0.4965 GB, free: 38.82 MB / 378.7 MB Notification: Performance of SimCode: time 4.71e-07/0.2747, allocations: 4 kB / 0.4965 GB, free: 38.82 MB / 378.7 MB Notification: Performance of Templates: time 0.005456/0.2802, allocations: 3.867 MB / 0.5003 GB, free: 38.51 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