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: "" <> 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007176/0.007176, allocations: 100.8 kB / 15.87 MB, free: 6.309 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.00177/0.00177, allocations: 195.8 kB / 16.79 MB, free: 6.238 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.136/1.136, allocations: 205.1 MB / 222.6 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.285/0.285, allocations: 43.51 MB / 313.5 MB, free: 8.531 MB / 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.001291/0.001291, allocations: 70.56 kB / 382.1 MB, free: 8.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09261/0.09391, allocations: 57.78 MB / 439.9 MB, free: 14.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.00342/0.09737, allocations: 2.829 MB / 442.7 MB, free: 11.92 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001257/0.09864, allocations: 0.9785 MB / 443.7 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.09875, allocations: 7.938 kB / 443.7 MB, free: 10.92 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001291/0.09889, allocations: 39.7 kB / 443.8 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001507/0.09906, allocations: 87.23 kB / 443.8 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003038/0.09937, allocations: 127.7 kB / 444 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002984/0.09967, allocations: 374.1 kB / 444.3 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000151/0.09983, allocations: 85.89 kB / 444.4 MB, free: 10.22 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.09995, allocations: 127.5 kB / 444.5 MB, free: 10.1 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001439/0.1001, allocations: 143.3 kB / 444.7 MB, free: 9.957 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.051e-05/0.1001, allocations: 16 kB / 444.7 MB, free: 9.941 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.109e-05/0.1002, allocations: 35.98 kB / 444.7 MB, free: 9.906 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.579e-05/0.1003, allocations: 59.75 kB / 444.8 MB, free: 9.848 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001287/0.1004, allocations: 159.2 kB / 444.9 MB, free: 9.691 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003055/0.1007, allocations: 354.7 kB / 445.3 MB, free: 9.344 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.604e-06/0.1007, allocations: 0 / 445.3 MB, free: 9.344 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1008, allocations: 0 / 445.3 MB, free: 9.344 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.1008, allocations: 3.938 kB / 445.3 MB, free: 9.34 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.0008492/0.1016, allocations: 0.6122 MB / 445.9 MB, free: 8.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.1017, allocations: 12.03 kB / 445.9 MB, free: 8.668 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.967e-05/0.1017, allocations: 62.73 kB / 446 MB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002029/0.1019, allocations: 56.44 kB / 446 MB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002437/0.1022, allocations: 267.5 kB / 446.3 MB, free: 8.242 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.1022, allocations: 28.97 kB / 446.3 MB, free: 8.215 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.678e-05/0.1023, allocations: 36.28 kB / 446.4 MB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004453/0.1027, allocations: 302.4 kB / 446.7 MB, free: 7.863 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.1027, allocations: 4 kB / 446.7 MB, free: 7.859 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.586e-05/0.1028, allocations: 12 kB / 446.7 MB, free: 7.848 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.1028, allocations: 8 kB / 446.7 MB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003053/0.1031, allocations: 199.8 kB / 446.9 MB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001479/0.1046, allocations: 1.292 MB / 448.2 MB, free: 6.258 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004429/0.105, allocations: 332.8 kB / 448.5 MB, free: 5.887 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001394/0.1052, allocations: 112.2 kB / 448.6 MB, free: 5.762 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.1052, allocations: 8.328 kB / 448.6 MB, free: 5.754 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.1052, allocations: 42.5 kB / 448.7 MB, free: 5.703 MB / 382.1 MB Notification: Performance of pre-optimization done (n=36): time 1.552e-06/0.1052, allocations: 3.938 kB / 448.7 MB, free: 5.699 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.002144/0.1074, allocations: 1.567 MB / 450.2 MB, free: 3.922 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.791e-05/0.1075, allocations: 166.2 kB / 450.4 MB, free: 3.723 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001761/0.1077, allocations: 224.9 kB / 450.6 MB, free: 3.488 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.1077, allocations: 29.7 kB / 450.6 MB, free: 3.453 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.1078, allocations: 176.2 kB / 450.8 MB, free: 3.277 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.205e-05/0.1079, allocations: 149.8 kB / 451 MB, free: 3.129 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.823e-05/0.108, allocations: 86.16 kB / 451 MB, free: 3.035 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.1081, allocations: 342.8 kB / 451.4 MB, free: 2.691 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001476/0.1083, allocations: 97.08 kB / 451.5 MB, free: 2.598 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002354/0.1085, allocations: 247.5 kB / 451.7 MB, free: 2.293 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003991/0.1089, allocations: 382.2 kB / 452.1 MB, free: 1.855 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.1089, allocations: 4 kB / 452.1 MB, free: 1.852 MB / 382.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0005275/0.1094, allocations: 405 kB / 452.5 MB, free: 1.449 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.1095, allocations: 12.03 kB / 452.5 MB, free: 1.438 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.1095, allocations: 4 kB / 452.5 MB, free: 1.434 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.1095, allocations: 11.94 kB / 452.5 MB, free: 1.422 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003567/0.1099, allocations: 119.8 kB / 452.6 MB, free: 1.305 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.1099, allocations: 8 kB / 452.6 MB, free: 1.297 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001729/0.1101, allocations: 23.92 kB / 452.7 MB, free: 1.273 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.433e-05/0.1101, allocations: 20 kB / 452.7 MB, free: 1.254 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.0001274/0.1102, allocations: 153.7 kB / 452.8 MB, free: 1.094 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.1103, allocations: 35.62 kB / 452.9 MB, free: 1.059 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001873/0.1105, allocations: 123.2 kB / 453 MB, free: 0.9258 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.421e-05/0.1106, allocations: 11.94 kB / 453 MB, free: 0.9141 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1106, allocations: 0 / 453 MB, free: 0.9141 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.1106, allocations: 0 / 453 MB, free: 0.9141 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1411/0.2517, allocations: 1.035 MB / 454 MB, free: 47.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.786e-06/0.2518, allocations: 2.875 kB / 454 MB, free: 47.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004256/0.2522, allocations: 98.36 kB / 454.1 MB, free: 47.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.686e-06/0.2522, allocations: 5.938 kB / 454.1 MB, free: 47.96 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.617e-05/0.2522, allocations: 14.36 kB / 454.1 MB, free: 47.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.707e-06/0.2523, allocations: 8.656 kB / 454.2 MB, free: 47.96 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.2523, allocations: 2.875 kB / 454.2 MB, free: 47.96 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006432/0.2529, allocations: 0.8211 MB / 455 MB, free: 47.45 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.495e-05/0.253, allocations: 105.4 kB / 455.1 MB, free: 47.36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.056e-05/0.253, allocations: 13.31 kB / 455.1 MB, free: 47.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002919/0.2533, allocations: 13.66 kB / 455.1 MB, free: 47.36 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.262e-05/0.2534, allocations: 42.45 kB / 455.2 MB, free: 47.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.2534, allocations: 10.53 kB / 455.2 MB, free: 47.36 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001034/0.2535, allocations: 158.5 kB / 455.3 MB, free: 47.28 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2535, allocations: 0 / 455.3 MB, free: 47.28 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005305/0.2541, allocations: 81.91 kB / 455.4 MB, free: 47.28 MB / 382.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.000691/0.2548, allocations: 1.387 MB / 456.8 MB, free: 46.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003716/0.2551, allocations: 269.1 kB / 457 MB, free: 46.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2552, allocations: 0 / 457 MB, free: 46.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001406/0.2553, allocations: 142 kB / 457.2 MB, free: 46.25 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008489/0.2562, allocations: 62.2 kB / 457.2 MB, free: 46.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003268/0.2594, allocations: 4.133 MB / 461.4 MB, free: 43.56 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001844/0.2596, allocations: 0.7883 MB / 462.2 MB, free: 42.86 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001646/0.2598, allocations: 39.42 kB / 462.2 MB, free: 42.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/0.2599, allocations: 106.5 kB / 462.3 MB, free: 42.84 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2599, allocations: 0 / 462.3 MB, free: 42.84 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5346/0.7945, allocations: 6.049 MB / 468.4 MB, free: 42.23 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001388/0.7947, allocations: 189.3 kB / 468.5 MB, free: 41.97 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.901/2.695, allocations: 0 / 468.5 MB, free: 41.97 MB / 382.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Translational_TestBraking_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Translational_TestBraking.fmu > 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","../files/ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches