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: "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Translational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Translational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008364/0.0008363, allocations: 175.4 kB / 16.72 MB, free: 5.059 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.195/1.195, allocations: 205.4 MB / 222.9 MB, free: 9.012 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.0007324/0.0007323, allocations: 89.41 kB / 271.2 MB, free: 8.246 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.317/0.317, allocations: 43.56 MB / 363.1 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003609/0.000361, allocations: 16 kB / 432.1 MB, free: 5.746 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1048, allocations: 58.85 MB / 490.9 MB, free: 10.81 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.002654/0.1075, allocations: 2.355 MB / 493.3 MB, free: 8.445 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001452/0.109, allocations: 0.9361 MB / 494.2 MB, free: 7.5 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001404/0.1092, allocations: 4 kB / 494.2 MB, free: 7.496 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001394/0.1093, allocations: 39.7 kB / 494.2 MB, free: 7.457 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001564/0.1095, allocations: 87.23 kB / 494.3 MB, free: 7.371 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004069/0.1099, allocations: 119.7 kB / 494.4 MB, free: 7.254 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003418/0.1102, allocations: 366.1 kB / 494.8 MB, free: 6.895 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001649/0.1104, allocations: 77.67 kB / 494.9 MB, free: 6.82 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.1105, allocations: 119.6 kB / 495 MB, free: 6.703 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001601/0.1107, allocations: 131.4 kB / 495.1 MB, free: 6.574 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.243e-05/0.1108, allocations: 20 kB / 495.1 MB, free: 6.555 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.643e-05/0.1109, allocations: 28 kB / 495.2 MB, free: 6.527 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.775e-05/0.1109, allocations: 55.75 kB / 495.2 MB, free: 6.473 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001476/0.1111, allocations: 173 kB / 495.4 MB, free: 6.297 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002681/0.1113, allocations: 259.5 kB / 495.7 MB, free: 6.043 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1114, allocations: 0 / 495.7 MB, free: 6.043 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1114, allocations: 3.938 kB / 495.7 MB, free: 6.039 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.1114, allocations: 4 kB / 495.7 MB, free: 6.035 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.0008973/0.1123, allocations: 0.5693 MB / 496.2 MB, free: 5.418 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.1123, allocations: 8.031 kB / 496.2 MB, free: 5.41 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.057e-05/0.1124, allocations: 70.66 kB / 496.3 MB, free: 5.332 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001959/0.1126, allocations: 52.55 kB / 496.4 MB, free: 5.281 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002835/0.1129, allocations: 271.4 kB / 496.6 MB, free: 4.977 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.318e-05/0.113, allocations: 24.97 kB / 496.6 MB, free: 4.953 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.271e-05/0.113, allocations: 36.31 kB / 496.7 MB, free: 4.918 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004513/0.1135, allocations: 294.5 kB / 497 MB, free: 4.609 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.229e-05/0.1135, allocations: 11.89 kB / 497 MB, free: 4.598 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.653e-05/0.1135, allocations: 16 kB / 497 MB, free: 4.582 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.627e-06/0.1136, allocations: 8 kB / 497 MB, free: 4.574 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003513/0.1139, allocations: 195.8 kB / 497.2 MB, free: 4.383 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0017/0.1156, allocations: 1.284 MB / 498.5 MB, free: 3.004 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004797/0.1161, allocations: 329.2 kB / 498.8 MB, free: 2.637 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001506/0.1163, allocations: 108.3 kB / 498.9 MB, free: 2.516 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.543e-05/0.1163, allocations: 4 kB / 498.9 MB, free: 2.512 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.1163, allocations: 42.62 kB / 499 MB, free: 2.461 MB / 378.7 MB Notification: Performance of pre-optimization done (n=36): time 2.304e-06/0.1164, allocations: 0 / 499 MB, free: 2.461 MB / 378.7 MB Notification: Performance of matching and sorting (n=40): time 0.002364/0.1187, allocations: 1.58 MB / 0.4888 GB, free: 0.668 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.673e-05/0.1188, allocations: 158.2 kB / 0.489 GB, free: 488 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002028/0.119, allocations: 224.9 kB / 0.4892 GB, free: 248 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.1191, allocations: 33.7 kB / 0.4892 GB, free: 208 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.1192, allocations: 184.2 kB / 0.4894 GB, free: 20 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.1851/0.3043, allocations: 139.3 kB / 0.4895 GB, free: 42.96 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.879e-05/0.3044, allocations: 10.44 kB / 0.4895 GB, free: 42.96 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.318e-05/0.3045, allocations: 342.1 kB / 0.4898 GB, free: 42.64 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001809/0.3047, allocations: 90.27 kB / 0.4899 GB, free: 42.64 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002323/0.3049, allocations: 251.2 kB / 0.4902 GB, free: 42.48 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004201/0.3053, allocations: 373.7 kB / 0.4905 GB, free: 42.32 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.3054, allocations: 3.5 kB / 0.4905 GB, free: 42.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0006435/0.306, allocations: 403.5 kB / 0.4909 GB, free: 42.25 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/0.306, allocations: 8.641 kB / 0.4909 GB, free: 42.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.3061, allocations: 8.281 kB / 0.4909 GB, free: 42.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.159e-05/0.3061, allocations: 11.09 kB / 0.4909 GB, free: 42.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004417/0.3065, allocations: 118.3 kB / 0.4911 GB, free: 42.24 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.914e-05/0.3066, allocations: 9.062 kB / 0.4911 GB, free: 42.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002043/0.3068, allocations: 19.44 kB / 0.4911 GB, free: 42.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.285e-05/0.3068, allocations: 22.8 kB / 0.4911 GB, free: 42.24 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.000143/0.307, allocations: 165.7 kB / 0.4913 GB, free: 42.12 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/0.3071, allocations: 30.95 kB / 0.4913 GB, free: 42.11 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000217/0.3073, allocations: 123.5 kB / 0.4914 GB, free: 42.07 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.3073, allocations: 8.188 kB / 0.4914 GB, free: 42.07 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/0.3073, allocations: 2.062 kB / 0.4914 GB, free: 42.07 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.3073, allocations: 3.953 kB / 0.4914 GB, free: 42.07 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001421/0.3088, allocations: 1.032 MB / 0.4924 GB, free: 41.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.3088, allocations: 2.844 kB / 0.4924 GB, free: 41.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004233/0.3092, allocations: 95.12 kB / 0.4925 GB, free: 41.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/0.3092, allocations: 5.062 kB / 0.4925 GB, free: 41.45 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.213e-05/0.3093, allocations: 17.25 kB / 0.4925 GB, free: 41.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.956e-06/0.3093, allocations: 9.359 kB / 0.4926 GB, free: 41.45 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.3093, allocations: 4.594 kB / 0.4926 GB, free: 41.45 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006779/0.31, allocations: 0.8225 MB / 0.4934 GB, free: 40.91 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.121e-05/0.31, allocations: 107.8 kB / 0.4935 GB, free: 40.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.325e-05/0.3101, allocations: 13.8 kB / 0.4935 GB, free: 40.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002751/0.3104, allocations: 8.875 kB / 0.4935 GB, free: 40.8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.521e-05/0.3104, allocations: 41.62 kB / 0.4935 GB, free: 40.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.015e-05/0.3105, allocations: 14.41 kB / 0.4935 GB, free: 40.79 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001179/0.3106, allocations: 155.5 kB / 0.4937 GB, free: 40.71 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3106, allocations: 1.797 kB / 0.4937 GB, free: 40.71 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00051/0.3111, allocations: 83.25 kB / 0.4938 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 0.0007622/0.3119, allocations: 1.377 MB / 0.4951 GB, free: 39.65 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004386/0.3123, allocations: 271.8 kB / 0.4954 GB, free: 39.63 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.3123, allocations: 4 kB / 0.4954 GB, free: 39.62 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001795/0.3125, allocations: 135.5 kB / 0.4955 GB, free: 39.61 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008697/0.3134, allocations: 68.59 kB / 0.4956 GB, free: 39.61 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0032/0.3166, allocations: 2.625 MB / 0.4981 GB, free: 38.11 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002379/0.3169, allocations: 0.7883 MB / 0.4989 GB, free: 37.4 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001734/0.317, allocations: 109.5 kB / 0.499 GB, free: 37.39 MB / 378.7 MB Notification: Performance of SimCode: time 4.71e-07/0.3171, allocations: 0 / 0.499 GB, free: 37.39 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.622/2.939, allocations: 4.645 MB / 0.5035 GB, free: 37 MB / 378.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.TestBraking_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Translational_TestBraking_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Translational_TestBraking.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.TestBraking.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.TestBraking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches