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.001109/0.001109, allocations: 108.1 kB / 17.21 MB, free: 6.289 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.001174/0.001174, allocations: 194 kB / 18.12 MB, free: 5.383 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.467/1.467, allocations: 222.9 MB / 241.8 MB, free: 13.8 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.2365/0.2365, allocations: 44.18 MB / 336.1 MB, free: 2.809 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 60.41 kB / 407.8 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1081, allocations: 60.84 MB / 468.6 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004213/0.1123, allocations: 2.834 MB / 471.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002168/0.1145, allocations: 0.9386 MB / 472.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003557/0.1149, allocations: 8 kB / 472.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002433/0.1152, allocations: 39.62 kB / 472.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004584/0.1157, allocations: 87.3 kB / 472.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006139/0.1163, allocations: 131.7 kB / 472.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008729/0.1172, allocations: 362.2 kB / 473 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003329/0.1176, allocations: 69.7 kB / 473.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003753/0.118, allocations: 131.4 kB / 473.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004194/0.1184, allocations: 147.3 kB / 473.3 MB, free: 9.996 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.993e-05/0.1185, allocations: 20 kB / 473.4 MB, free: 9.977 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002563/0.1188, allocations: 35.98 kB / 473.4 MB, free: 9.941 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.1189, allocations: 59.75 kB / 473.5 MB, free: 9.883 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003241/0.1192, allocations: 151.2 kB / 473.6 MB, free: 9.734 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006447/0.1199, allocations: 354.9 kB / 474 MB, free: 9.387 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.1199, allocations: 0 / 474 MB, free: 9.387 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1199, allocations: 0 / 474 MB, free: 9.387 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.313e-05/0.12, allocations: 0 / 474 MB, free: 9.387 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.001664/0.1216, allocations: 0.6276 MB / 474.6 MB, free: 8.711 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.622e-05/0.1217, allocations: 8.031 kB / 474.6 MB, free: 8.703 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001049/0.1218, allocations: 66.73 kB / 474.7 MB, free: 8.629 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003299/0.1222, allocations: 56.44 kB / 474.7 MB, free: 8.574 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004395/0.1226, allocations: 263.7 kB / 475 MB, free: 8.277 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.551e-05/0.1227, allocations: 25.03 kB / 475 MB, free: 8.254 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.624e-05/0.1228, allocations: 28.38 kB / 475 MB, free: 8.227 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006937/0.1235, allocations: 302.5 kB / 475.3 MB, free: 7.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.279e-05/0.1235, allocations: 11.84 kB / 475.3 MB, free: 7.898 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.918e-05/0.1236, allocations: 12 kB / 475.3 MB, free: 7.887 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.46e-05/0.1236, allocations: 8 kB / 475.3 MB, free: 7.879 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005152/0.1241, allocations: 203.8 kB / 475.5 MB, free: 7.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00234/0.1265, allocations: 1.292 MB / 476.8 MB, free: 6.289 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007173/0.1272, allocations: 328.8 kB / 477.2 MB, free: 5.922 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002282/0.1274, allocations: 120.5 kB / 477.3 MB, free: 5.789 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.443e-05/0.1275, allocations: 8.406 kB / 477.3 MB, free: 5.781 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/0.1275, allocations: 34.56 kB / 477.3 MB, free: 5.738 MB / 350.1 MB Notification: Performance of pre-optimization done (n=36): time 2.384e-06/0.1275, allocations: 0 / 477.3 MB, free: 5.738 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.003376/0.1309, allocations: 1.582 MB / 478.9 MB, free: 3.945 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.131, allocations: 162.2 kB / 479.1 MB, free: 3.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002767/0.1313, allocations: 221 kB / 479.3 MB, free: 3.527 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.349e-05/0.1314, allocations: 33.7 kB / 479.3 MB, free: 3.488 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.1315, allocations: 184.1 kB / 479.5 MB, free: 3.305 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001409/0.1317, allocations: 153.8 kB / 479.6 MB, free: 3.152 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001558/0.1319, allocations: 86.16 kB / 479.7 MB, free: 3.062 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.132, allocations: 334.8 kB / 480 MB, free: 2.727 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002467/0.1323, allocations: 97.08 kB / 480.1 MB, free: 2.633 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003676/0.1326, allocations: 239.7 kB / 480.4 MB, free: 2.332 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006636/0.1333, allocations: 377.7 kB / 480.7 MB, free: 1.898 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.1333, allocations: 0 / 480.7 MB, free: 1.898 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0008885/0.1342, allocations: 413.4 kB / 481.1 MB, free: 1.488 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.103e-05/0.1343, allocations: 8 kB / 481.2 MB, free: 1.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/0.1343, allocations: 4 kB / 481.2 MB, free: 1.477 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.841e-05/0.1343, allocations: 11.94 kB / 481.2 MB, free: 1.465 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005772/0.1349, allocations: 111.8 kB / 481.3 MB, free: 1.355 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.924e-05/0.1349, allocations: 16 kB / 481.3 MB, free: 1.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003076/0.1353, allocations: 19.98 kB / 481.3 MB, free: 1.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.269e-05/0.1353, allocations: 24.27 kB / 481.3 MB, free: 1.297 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.0002038/0.1355, allocations: 165.7 kB / 481.5 MB, free: 1.125 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002117/0.1358, allocations: 31.62 kB / 481.5 MB, free: 1.094 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002943/0.1361, allocations: 119.3 kB / 481.7 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/0.1361, allocations: 7.938 kB / 481.7 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/0.1361, allocations: 0 / 481.7 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.605e-06/0.1361, allocations: 4 kB / 481.7 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00215/0.1383, allocations: 1.03 MB / 482.7 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/0.1383, allocations: 4 kB / 482.7 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006383/0.1389, allocations: 104 kB / 482.8 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.128e-06/0.139, allocations: 4 kB / 482.8 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.646e-05/0.139, allocations: 16 kB / 482.8 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.746e-06/0.139, allocations: 7.984 kB / 482.8 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/0.1391, allocations: 4 kB / 482.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001116/0.1402, allocations: 0.8423 MB / 483.7 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.945e-05/0.1403, allocations: 104.8 kB / 483.8 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.001e-05/0.1404, allocations: 11.98 kB / 483.8 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005423/0.1409, allocations: 16 kB / 483.8 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.957e-05/0.141, allocations: 27.91 kB / 483.8 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.232e-05/0.141, allocations: 16 kB / 483.8 MB, free: 14.63 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001996/0.1413, allocations: 160.5 kB / 484 MB, free: 14.47 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1413, allocations: 0 / 484 MB, free: 14.47 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001006/0.1423, allocations: 84 kB / 484.1 MB, free: 14.39 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.001457/0.1437, allocations: 1.375 MB / 485.5 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007638/0.1445, allocations: 275.4 kB / 485.7 MB, free: 12.69 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.1445, allocations: 0.75 kB / 485.7 MB, free: 12.69 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002863/0.1448, allocations: 135.8 kB / 485.9 MB, free: 12.56 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001533/0.1464, allocations: 64.95 kB / 485.9 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007023/0.1534, allocations: 4.132 MB / 490.1 MB, free: 8.094 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005244/0.154, allocations: 0.7839 MB / 490.8 MB, free: 7.285 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003065/0.1543, allocations: 47.25 kB / 490.9 MB, free: 7.242 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002203/0.1545, allocations: 103.4 kB / 491 MB, free: 7.141 MB / 366.1 MB Notification: Performance of SimCode: time 7.92e-07/0.1546, allocations: 0 / 491 MB, free: 7.141 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04345/0.198, allocations: 6.064 MB / 497 MB, free: 1.188 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002127/0.1983, allocations: 194.6 kB / 497.2 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.977/2.175, allocations: 0 / 497.2 MB, free: 0.9336 MB / 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