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.0008125/0.0008125, allocations: 95.39 kB / 17.35 MB, free: 6.367 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.000949/0.000949, allocations: 175.5 kB / 18.25 MB, free: 5.527 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.213/1.213, allocations: 223.3 MB / 242.3 MB, free: 14.48 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.1719/0.1719, allocations: 44.25 MB / 337.7 MB, free: 2.434 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003532/0.0003531, allocations: 8 kB / 410.4 MB, free: 27.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09192/0.0923, allocations: 61.92 MB / 472.3 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.002879/0.09521, allocations: 2.46 MB / 474.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001574/0.09681, allocations: 0.9348 MB / 475.7 MB, free: 9.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001978/0.09703, allocations: 4 kB / 475.7 MB, free: 9.816 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001525/0.09719, allocations: 43.62 kB / 475.8 MB, free: 9.773 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002197/0.09742, allocations: 91.3 kB / 475.9 MB, free: 9.684 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004063/0.09784, allocations: 123.7 kB / 476 MB, free: 9.562 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003781/0.09822, allocations: 362.2 kB / 476.4 MB, free: 9.207 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001553/0.09839, allocations: 73.7 kB / 476.4 MB, free: 9.133 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001442/0.09854, allocations: 127.4 kB / 476.5 MB, free: 9.008 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001845/0.09873, allocations: 143.3 kB / 476.7 MB, free: 8.867 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.615e-05/0.09878, allocations: 16 kB / 476.7 MB, free: 8.852 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.09888, allocations: 27.98 kB / 476.7 MB, free: 8.824 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.825e-05/0.09894, allocations: 51.77 kB / 476.8 MB, free: 8.773 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001472/0.09909, allocations: 176.9 kB / 477 MB, free: 8.594 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003377/0.09944, allocations: 354.9 kB / 477.3 MB, free: 8.246 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.09945, allocations: 0 / 477.3 MB, free: 8.246 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.09946, allocations: 4 kB / 477.3 MB, free: 8.242 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.09947, allocations: 0 / 477.3 MB, free: 8.242 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.0008037/0.1003, allocations: 0.573 MB / 477.9 MB, free: 7.621 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.1003, allocations: 8.031 kB / 477.9 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.724e-05/0.1004, allocations: 66.72 kB / 478 MB, free: 7.539 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001908/0.1006, allocations: 48.55 kB / 478 MB, free: 7.492 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002573/0.1009, allocations: 263.7 kB / 478.3 MB, free: 7.195 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.1009, allocations: 21.03 kB / 478.3 MB, free: 7.176 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.726e-05/0.101, allocations: 40.27 kB / 478.3 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004408/0.1014, allocations: 306.5 kB / 478.6 MB, free: 6.816 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.226e-05/0.1014, allocations: 11.84 kB / 478.6 MB, free: 6.805 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.816e-05/0.1015, allocations: 16 kB / 478.6 MB, free: 6.789 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/0.1015, allocations: 4 kB / 478.6 MB, free: 6.785 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003153/0.1018, allocations: 195.8 kB / 478.8 MB, free: 6.594 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001529/0.1033, allocations: 1.288 MB / 480.1 MB, free: 5.207 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004577/0.1038, allocations: 325.3 kB / 480.4 MB, free: 4.844 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000143/0.104, allocations: 120.2 kB / 480.6 MB, free: 4.711 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.104, allocations: 11.98 kB / 480.6 MB, free: 4.699 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.104, allocations: 42.89 kB / 480.6 MB, free: 4.648 MB / 350.1 MB Notification: Performance of pre-optimization done (n=36): time 2.965e-06/0.104, allocations: 0 / 480.6 MB, free: 4.648 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.00215/0.1062, allocations: 1.57 MB / 482.2 MB, free: 2.867 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.254e-05/0.1062, allocations: 166.2 kB / 482.3 MB, free: 2.668 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001717/0.1064, allocations: 224.9 kB / 482.6 MB, free: 2.441 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.1065, allocations: 33.7 kB / 482.6 MB, free: 2.402 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.982e-05/0.1065, allocations: 180.2 kB / 482.8 MB, free: 2.223 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.833e-05/0.1066, allocations: 157.7 kB / 482.9 MB, free: 2.066 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.006e-05/0.1067, allocations: 41.7 kB / 483 MB, free: 2.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.384e-05/0.1068, allocations: 346.8 kB / 483.3 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/0.1069, allocations: 97.08 kB / 483.4 MB, free: 1.578 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002211/0.1072, allocations: 239.6 kB / 483.6 MB, free: 1.277 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003979/0.1076, allocations: 365.9 kB / 484 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1076, allocations: 4 kB / 484 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0005251/0.1081, allocations: 417 kB / 484.4 MB, free: 448 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.1081, allocations: 4 kB / 484.4 MB, free: 444 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.1082, allocations: 8.375 kB / 484.4 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.1082, allocations: 11.94 kB / 484.4 MB, free: 424 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003718/0.1086, allocations: 119.8 kB / 484.5 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.329e-05/0.1086, allocations: 11.94 kB / 484.6 MB, free: 292 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001705/0.1088, allocations: 16 kB / 484.6 MB, free: 276 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.339e-05/0.1088, allocations: 20 kB / 484.6 MB, free: 256 kB / 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.0001239/0.1089, allocations: 157.7 kB / 484.7 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.109, allocations: 31.62 kB / 484.8 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002068/0.1092, allocations: 123.3 kB / 484.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.1093, allocations: 11.94 kB / 484.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.1093, allocations: 4 kB / 484.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.106e-06/0.1093, allocations: 7.984 kB / 484.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001254/0.1105, allocations: 1.026 MB / 485.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.1106, allocations: 4 kB / 486 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003856/0.1109, allocations: 96.02 kB / 486 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.111, allocations: 4.25 kB / 486.1 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.423e-05/0.111, allocations: 23.94 kB / 486.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.111, allocations: 4 kB / 486.1 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.111, allocations: 4 kB / 486.1 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000629/0.1116, allocations: 0.8314 MB / 486.9 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.512e-05/0.1117, allocations: 104.8 kB / 487 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.968e-05/0.1118, allocations: 16.11 kB / 487 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002799/0.112, allocations: 15.94 kB / 487 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.171e-05/0.1121, allocations: 35.83 kB / 487.1 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.1121, allocations: 16 kB / 487.1 MB, free: 13.58 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000107/0.1122, allocations: 152.5 kB / 487.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1122, allocations: 0 / 487.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004956/0.1127, allocations: 80 kB / 487.3 MB, free: 13.35 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.0008271/0.1136, allocations: 1.382 MB / 488.7 MB, free: 11.92 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003792/0.114, allocations: 283.4 kB / 489 MB, free: 11.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.114, allocations: 0 / 489 MB, free: 11.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001582/0.1141, allocations: 132 kB / 489.1 MB, free: 11.51 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008584/0.115, allocations: 77.61 kB / 489.2 MB, free: 11.44 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003898/0.1189, allocations: 4.31 MB / 493.5 MB, free: 6.855 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002816/0.1192, allocations: 0.7839 MB / 494.3 MB, free: 6.047 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000158/0.1194, allocations: 43.27 kB / 494.3 MB, free: 6.008 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001371/0.1195, allocations: 107.6 kB / 494.4 MB, free: 5.902 MB / 366.1 MB Notification: Performance of SimCode: time 4e-07/0.1195, allocations: 0 / 494.4 MB, free: 5.902 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7079/0.8274, allocations: 5.94 MB / 0.4886 GB, free: 100 kB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002089/0.8277, allocations: 195 kB / 0.4888 GB, free: 15.84 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.859/2.687, allocations: 0 / 0.4888 GB, free: 15.84 MB / 382.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