Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_Translational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_4_0_0_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.001338/0.001338, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.00127/0.00127, allocations: 191.9 kB / 18.56 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 222.9 MB / 242.3 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1986/0.1986, allocations: 44.18 MB / 336.6 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 63.97 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1046, allocations: 60.82 MB / 469.3 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004203/0.1088, allocations: 2.789 MB / 472.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001675/0.1105, allocations: 0.9503 MB / 473.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002567/0.1108, allocations: 7.938 kB / 473.1 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002225/0.111, allocations: 55.45 kB / 473.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002623/0.1113, allocations: 95.11 kB / 473.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004807/0.1118, allocations: 151.5 kB / 473.4 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004268/0.1122, allocations: 374.3 kB / 473.8 MB, free: 9.824 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001831/0.1124, allocations: 89.11 kB / 473.8 MB, free: 9.734 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001692/0.1126, allocations: 139.5 kB / 474 MB, free: 9.598 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002139/0.1128, allocations: 151.2 kB / 474.1 MB, free: 9.449 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.841e-05/0.1129, allocations: 28 kB / 474.1 MB, free: 9.422 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001264/0.113, allocations: 43.98 kB / 474.2 MB, free: 9.379 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.564e-05/0.1131, allocations: 67.77 kB / 474.3 MB, free: 9.312 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001498/0.1132, allocations: 159.2 kB / 474.4 MB, free: 9.156 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000356/0.1136, allocations: 378.9 kB / 474.8 MB, free: 8.785 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1136, allocations: 0 / 474.8 MB, free: 8.785 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1136, allocations: 0 / 474.8 MB, free: 8.785 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.1136, allocations: 0 / 474.8 MB, free: 8.785 MB / 350.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.0009241/0.1146, allocations: 0.6159 MB / 475.4 MB, free: 8.121 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.1146, allocations: 12.03 kB / 475.4 MB, free: 8.109 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.006e-05/0.1147, allocations: 66.72 kB / 475.5 MB, free: 8.035 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002261/0.1149, allocations: 52.45 kB / 475.5 MB, free: 7.984 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002692/0.1152, allocations: 267.7 kB / 475.8 MB, free: 7.684 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.1152, allocations: 25.03 kB / 475.8 MB, free: 7.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.924e-05/0.1153, allocations: 36.38 kB / 475.8 MB, free: 7.625 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004464/0.1157, allocations: 298.5 kB / 476.1 MB, free: 7.312 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.47e-05/0.1158, allocations: 3.906 kB / 476.1 MB, free: 7.309 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.007e-05/0.1158, allocations: 19.94 kB / 476.2 MB, free: 7.289 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.279e-05/0.1158, allocations: 8 kB / 476.2 MB, free: 7.281 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003418/0.1162, allocations: 194.7 kB / 476.4 MB, free: 7.094 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001699/0.1179, allocations: 1.296 MB / 477.7 MB, free: 5.699 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004824/0.1184, allocations: 336.9 kB / 478 MB, free: 5.324 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001479/0.1185, allocations: 108.3 kB / 478.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.1186, allocations: 11.94 kB / 478.1 MB, free: 5.191 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.1186, allocations: 38.56 kB / 478.1 MB, free: 5.145 MB / 350.1 MB Notification: Performance of pre-optimization done (n=36): time 1.613e-06/0.1186, allocations: 0 / 478.1 MB, free: 5.145 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002392/0.121, allocations: 1.578 MB / 479.7 MB, free: 3.355 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.175e-05/0.1211, allocations: 158.2 kB / 479.9 MB, free: 3.164 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001915/0.1213, allocations: 225 kB / 480.1 MB, free: 2.938 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.1213, allocations: 29.7 kB / 480.1 MB, free: 2.902 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.1214, allocations: 176.2 kB / 480.3 MB, free: 2.727 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/0.1215, allocations: 157.8 kB / 480.5 MB, free: 2.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.1216, allocations: 86.16 kB / 480.5 MB, free: 2.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.1218, allocations: 342.8 kB / 480.9 MB, free: 2.137 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001678/0.1219, allocations: 97.08 kB / 481 MB, free: 2.043 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002403/0.1222, allocations: 239.6 kB / 481.2 MB, free: 1.742 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004365/0.1226, allocations: 378.7 kB / 481.6 MB, free: 1.309 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.1226, allocations: 4 kB / 481.6 MB, free: 1.305 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0006173/0.1233, allocations: 413.3 kB / 482 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.1233, allocations: 4 kB / 482 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.1233, allocations: 8 kB / 482 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.1233, allocations: 7.938 kB / 482 MB, free: 0.875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000396/0.1237, allocations: 115.8 kB / 482.1 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.608e-05/0.1237, allocations: 12.06 kB / 482.1 MB, free: 0.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000186/0.1239, allocations: 19.94 kB / 482.1 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.798e-05/0.124, allocations: 20 kB / 482.2 MB, free: 0.7109 MB / 350.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.0001466/0.1241, allocations: 161.6 kB / 482.3 MB, free: 0.543 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/0.1243, allocations: 35.66 kB / 482.4 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00021/0.1245, allocations: 115.6 kB / 482.5 MB, free: 404 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.1245, allocations: 15.88 kB / 482.5 MB, free: 388 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.1245, allocations: 96 / 482.5 MB, free: 388 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.1245, allocations: 7.922 kB / 482.5 MB, free: 380 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001428/0.126, allocations: 1.037 MB / 483.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.126, allocations: 256 / 483.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004397/0.1264, allocations: 107.8 kB / 483.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.644e-06/0.1264, allocations: 4 kB / 483.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.643e-05/0.1265, allocations: 8 kB / 483.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.007e-06/0.1265, allocations: 8 kB / 483.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.1265, allocations: 3.938 kB / 483.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008348/0.1273, allocations: 0.8343 MB / 484.5 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.784e-05/0.1274, allocations: 104.7 kB / 484.6 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.572e-05/0.1275, allocations: 12 kB / 484.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000315/0.1278, allocations: 11.98 kB / 484.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.883e-05/0.1278, allocations: 35.84 kB / 484.6 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.848e-05/0.1279, allocations: 12 kB / 484.7 MB, free: 14.05 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001356/0.128, allocations: 160.5 kB / 484.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.128, allocations: 4 kB / 484.8 MB, free: 13.88 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005697/0.1286, allocations: 84 kB / 484.9 MB, free: 13.8 MB / 366.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.001037/0.1296, allocations: 1.371 MB / 486.3 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005086/0.1302, allocations: 287.4 kB / 486.6 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.1302, allocations: 0 / 486.6 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001904/0.1304, allocations: 132.8 kB / 486.7 MB, free: 11.96 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009574/0.1313, allocations: 84.53 kB / 486.8 MB, free: 11.89 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004987/0.1363, allocations: 4.022 MB / 490.8 MB, free: 7.598 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004419/0.1368, allocations: 0.7842 MB / 491.6 MB, free: 6.789 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002072/0.137, allocations: 39.25 kB / 491.6 MB, free: 6.754 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001659/0.1372, allocations: 103.4 kB / 491.7 MB, free: 6.652 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1372, allocations: 4 kB / 491.7 MB, free: 6.648 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0774/0.2146, allocations: 6.297 MB / 498 MB, free: 456 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.002/8.216, allocations: 3.469 kB / 498 MB, free: 456 kB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Translational_TestBraking_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Translational_TestBraking.fmu > ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Translational/TestBraking/TestBraking.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches