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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 114.3 kB / 17.13 MB, free: 5.887 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 212 kB / 20.09 MB, free: 2.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.611/1.611, allocations: 207.6 MB / 230.5 MB, free: 4.027 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3595/0.3595, allocations: 44.23 MB / 326.6 MB, free: 6.824 MB / 254.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Translational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Translational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002337/0.002337, allocations: 67.89 kB / 462.2 MB, free: 0.9336 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.3058, allocations: 61 MB / 0.5109 GB, free: 13.19 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.003672/0.3095, allocations: 2.801 MB / 0.5137 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001624/0.3111, allocations: 0.9961 MB / 0.5146 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001868/0.3113, allocations: 9.531 kB / 0.5146 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001823/0.3115, allocations: 53.22 kB / 0.5147 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002005/0.3117, allocations: 115.4 kB / 0.5148 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004774/0.3122, allocations: 148.4 kB / 0.5149 GB, free: 9.906 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003597/0.3125, allocations: 378.4 kB / 0.5153 GB, free: 9.684 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001684/0.3127, allocations: 66.39 kB / 0.5154 GB, free: 9.641 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001352/0.3128, allocations: 149.5 kB / 0.5155 GB, free: 9.559 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001729/0.313, allocations: 152.3 kB / 0.5157 GB, free: 9.457 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.025e-05/0.313, allocations: 26.12 kB / 0.5157 GB, free: 9.457 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.3131, allocations: 39.75 kB / 0.5157 GB, free: 9.453 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.176e-05/0.3132, allocations: 65.39 kB / 0.5158 GB, free: 9.398 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.3133, allocations: 164.9 kB / 0.5159 GB, free: 9.293 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003452/0.3136, allocations: 375.2 kB / 0.5163 GB, free: 9.039 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3136, allocations: 7.875 kB / 0.5163 GB, free: 9.031 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3136, allocations: 0 / 0.5163 GB, free: 9.031 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.855e-06/0.3137, allocations: 0 / 0.5163 GB, free: 9.031 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.0008648/0.3145, allocations: 0.6218 MB / 0.5169 GB, free: 8.477 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.3146, allocations: 13.48 kB / 0.5169 GB, free: 8.473 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.928e-05/0.3146, allocations: 64.34 kB / 0.517 GB, free: 8.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002132/0.3148, allocations: 55.72 kB / 0.517 GB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003505/0.3152, allocations: 277.1 kB / 0.5173 GB, free: 8.105 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.3152, allocations: 20 kB / 0.5173 GB, free: 8.098 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.922e-05/0.3153, allocations: 32.78 kB / 0.5173 GB, free: 8.086 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004546/0.3157, allocations: 306.9 kB / 0.5176 GB, free: 7.871 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.56e-05/0.3157, allocations: 10.31 kB / 0.5177 GB, free: 7.863 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.759e-05/0.3158, allocations: 14.22 kB / 0.5177 GB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.3158, allocations: 8.656 kB / 0.5177 GB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000322/0.3161, allocations: 195.2 kB / 0.5179 GB, free: 7.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001338/0.3174, allocations: 1.288 MB / 0.5191 GB, free: 6.363 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003963/0.3178, allocations: 320.8 kB / 0.5194 GB, free: 6.004 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/0.318, allocations: 104.5 kB / 0.5195 GB, free: 5.887 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.521e-05/0.318, allocations: 8 kB / 0.5195 GB, free: 5.879 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.556e-05/0.318, allocations: 50.42 kB / 0.5196 GB, free: 5.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=36): time 1.553e-06/0.318, allocations: 0 / 0.5196 GB, free: 5.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.00201/0.32, allocations: 1.587 MB / 0.5211 GB, free: 4.023 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/0.3201, allocations: 158.2 kB / 0.5213 GB, free: 3.832 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.3202, allocations: 228.8 kB / 0.5215 GB, free: 3.602 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.3202, allocations: 37.7 kB / 0.5215 GB, free: 3.559 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.525e-05/0.3203, allocations: 172.6 kB / 0.5217 GB, free: 3.387 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.216e-05/0.3204, allocations: 154.6 kB / 0.5218 GB, free: 3.234 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.182e-05/0.3204, allocations: 86.2 kB / 0.5219 GB, free: 3.145 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.041e-05/0.3205, allocations: 350.8 kB / 0.5223 GB, free: 2.793 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/0.3206, allocations: 89.09 kB / 0.5223 GB, free: 2.707 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001801/0.3208, allocations: 247.5 kB / 0.5226 GB, free: 2.398 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003252/0.3211, allocations: 366.6 kB / 0.5229 GB, free: 1.977 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.3211, allocations: 0 / 0.5229 GB, free: 1.977 MB / 382.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.00047/0.3216, allocations: 422 kB / 0.5233 GB, free: 1.559 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.3216, allocations: 12.06 kB / 0.5233 GB, free: 1.547 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.3216, allocations: 7.938 kB / 0.5234 GB, free: 1.539 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.3217, allocations: 11.94 kB / 0.5234 GB, free: 1.527 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003412/0.322, allocations: 111.8 kB / 0.5235 GB, free: 1.418 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.322, allocations: 11.98 kB / 0.5235 GB, free: 1.406 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001676/0.3222, allocations: 15.94 kB / 0.5235 GB, free: 1.391 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.29e-05/0.3222, allocations: 20 kB / 0.5235 GB, free: 1.371 MB / 382.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.0001077/0.3223, allocations: 157.7 kB / 0.5237 GB, free: 1.207 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.3224, allocations: 31.81 kB / 0.5237 GB, free: 1.176 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002013/0.3226, allocations: 123.3 kB / 0.5238 GB, free: 1.047 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.3226, allocations: 11.94 kB / 0.5238 GB, free: 1.035 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.3226, allocations: 0 / 0.5238 GB, free: 1.035 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.3226, allocations: 7.984 kB / 0.5238 GB, free: 1.027 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001181/0.3238, allocations: 1.034 MB / 0.5248 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.3238, allocations: 0 / 0.5248 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004434/0.3243, allocations: 95.89 kB / 0.5249 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.113e-06/0.3243, allocations: 4.25 kB / 0.5249 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.764e-05/0.3243, allocations: 19.98 kB / 0.525 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.736e-06/0.3243, allocations: 11.94 kB / 0.525 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.3243, allocations: 0 / 0.525 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009069/0.3252, allocations: 0.8339 MB / 0.5258 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.676e-05/0.3253, allocations: 108.9 kB / 0.5259 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.899e-05/0.3254, allocations: 16 kB / 0.5259 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002938/0.3256, allocations: 12 kB / 0.5259 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.519e-05/0.3257, allocations: 35.84 kB / 0.5259 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.079e-05/0.3257, allocations: 12 kB / 0.526 GB, free: 14.7 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001835/0.3259, allocations: 160.5 kB / 0.5261 GB, free: 14.54 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3259, allocations: 0 / 0.5261 GB, free: 14.54 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005827/0.3265, allocations: 80 kB / 0.5262 GB, free: 14.46 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.001227/0.3277, allocations: 1.384 MB / 0.5275 GB, free: 13.03 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005243/0.3282, allocations: 268.6 kB / 0.5278 GB, free: 12.77 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3282, allocations: 0 / 0.5278 GB, free: 12.77 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001962/0.3284, allocations: 127.8 kB / 0.5279 GB, free: 12.64 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008845/0.3293, allocations: 83.31 kB / 0.528 GB, free: 12.56 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005234/0.3346, allocations: 4.014 MB / 0.5319 GB, free: 8.277 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000507/0.3351, allocations: 0.7803 MB / 0.5327 GB, free: 7.473 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001795/0.3352, allocations: 39.27 kB / 0.5327 GB, free: 7.43 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001806/0.3354, allocations: 107.4 kB / 0.5328 GB, free: 7.324 MB / 398.1 MB Notification: Performance of SimCode: time 1.012e-06/0.3354, allocations: 0 / 0.5328 GB, free: 7.324 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0324/0.3678, allocations: 6.479 MB / 0.5391 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.599/8.967, allocations: 11.86 kB / 0.5392 GB, free: 0.832 MB / 398.1 MB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039984 ModelicaTest_3_2_3_ModelicaTest_Translational_TestBraking.fmu > ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking_res.csv","/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) [Timeout 660] "Error: Could not read variable mass3.s in file ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking_res.csv. Warning: Get data of variable mass3.s from file ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking_res.csv failed! Error: Could not read variable mass3.v in file ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking_res.csv. Warning: Get data of variable mass3.v from file ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking_res.csv failed! Error: Could not read variable mass4.s in file ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking_res.csv. Warning: Get data of variable mass4.s from file ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking_res.csv failed! Error: Could not read variable mass4.v in file ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking_res.csv. Warning: Get data of variable mass4.v from file ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.073346563993255]