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.001129/0.001129, allocations: 110.2 kB / 17.33 MB, free: 6 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.00115/0.00115, allocations: 193.3 kB / 18.25 MB, free: 5.09 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.362/1.362, allocations: 222.9 MB / 241.9 MB, free: 15.38 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.2097/0.2097, allocations: 44.18 MB / 336.2 MB, free: 2.863 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 59.59 kB / 408 MB, free: 27.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1109, allocations: 60.83 MB / 468.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.006074/0.117, allocations: 2.825 MB / 471.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001945/0.119, allocations: 0.9465 MB / 472.6 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003611/0.1194, allocations: 11.94 kB / 472.6 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002381/0.1196, allocations: 35.7 kB / 472.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000363/0.12, allocations: 91.23 kB / 472.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005855/0.1206, allocations: 131.7 kB / 472.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000598/0.1212, allocations: 378.2 kB / 473.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002353/0.1215, allocations: 85.14 kB / 473.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002535/0.1217, allocations: 135.5 kB / 473.4 MB, free: 9.988 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002337/0.122, allocations: 151.3 kB / 473.6 MB, free: 9.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.734e-05/0.122, allocations: 28 kB / 473.6 MB, free: 9.812 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001534/0.1222, allocations: 43.98 kB / 473.7 MB, free: 9.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.303e-05/0.1223, allocations: 63.77 kB / 473.7 MB, free: 9.707 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001863/0.1225, allocations: 163.2 kB / 473.9 MB, free: 9.547 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004711/0.123, allocations: 374.8 kB / 474.2 MB, free: 9.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.123, allocations: 0 / 474.2 MB, free: 9.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.123, allocations: 0 / 474.2 MB, free: 9.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.455e-05/0.123, allocations: 0 / 474.2 MB, free: 9.18 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.001145/0.1241, allocations: 0.6237 MB / 474.9 MB, free: 8.508 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/0.1242, allocations: 8.031 kB / 474.9 MB, free: 8.5 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.232e-05/0.1243, allocations: 62.73 kB / 474.9 MB, free: 8.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002557/0.1246, allocations: 56.53 kB / 475 MB, free: 8.375 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003262/0.1249, allocations: 267.6 kB / 475.2 MB, free: 8.074 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.774e-05/0.1249, allocations: 21.03 kB / 475.3 MB, free: 8.055 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.464e-05/0.125, allocations: 32.38 kB / 475.3 MB, free: 8.023 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005109/0.1255, allocations: 310.4 kB / 475.6 MB, free: 7.699 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.743e-05/0.1256, allocations: 7.906 kB / 475.6 MB, free: 7.691 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.821e-05/0.1256, allocations: 16 kB / 475.6 MB, free: 7.676 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.1256, allocations: 15.92 kB / 475.6 MB, free: 7.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003483/0.126, allocations: 199.8 kB / 475.8 MB, free: 7.465 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001741/0.1277, allocations: 1.284 MB / 477.1 MB, free: 6.082 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005026/0.1282, allocations: 337.2 kB / 477.5 MB, free: 5.707 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001513/0.1284, allocations: 108.3 kB / 477.6 MB, free: 5.586 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.784e-05/0.1284, allocations: 4 kB / 477.6 MB, free: 5.582 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.1285, allocations: 42.5 kB / 477.6 MB, free: 5.531 MB / 350.1 MB Notification: Performance of pre-optimization done (n=36): time 1.613e-06/0.1285, allocations: 0 / 477.6 MB, free: 5.531 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002452/0.1309, allocations: 1.578 MB / 479.2 MB, free: 3.742 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.154e-05/0.131, allocations: 158.2 kB / 479.3 MB, free: 3.551 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001979/0.1312, allocations: 225 kB / 479.6 MB, free: 3.324 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.585e-05/0.1313, allocations: 33.7 kB / 479.6 MB, free: 3.285 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.1314, allocations: 176.2 kB / 479.8 MB, free: 3.109 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/0.1315, allocations: 153.8 kB / 479.9 MB, free: 2.957 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.1316, allocations: 82.25 kB / 480 MB, free: 2.871 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.1317, allocations: 338.8 kB / 480.3 MB, free: 2.531 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001675/0.1319, allocations: 97.08 kB / 480.4 MB, free: 2.438 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002431/0.1321, allocations: 243.5 kB / 480.7 MB, free: 2.133 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004425/0.1326, allocations: 373.8 kB / 481 MB, free: 1.703 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.1326, allocations: 0 / 481 MB, free: 1.703 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0006057/0.1332, allocations: 417.7 kB / 481.4 MB, free: 1.289 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.1332, allocations: 8 kB / 481.4 MB, free: 1.281 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.1333, allocations: 4.047 kB / 481.4 MB, free: 1.277 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.1333, allocations: 15.92 kB / 481.5 MB, free: 1.262 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003891/0.1337, allocations: 111.8 kB / 481.6 MB, free: 1.152 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.357e-05/0.1337, allocations: 8 kB / 481.6 MB, free: 1.145 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002036/0.1339, allocations: 19.98 kB / 481.6 MB, free: 1.125 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.307e-05/0.134, allocations: 20.58 kB / 481.6 MB, free: 1.105 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.0001431/0.1341, allocations: 161.7 kB / 481.8 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.1342, allocations: 31.62 kB / 481.8 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002153/0.1345, allocations: 127.2 kB / 481.9 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.1345, allocations: 7.938 kB / 481.9 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.1345, allocations: 0 / 481.9 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.67e-05/0.1345, allocations: 4 kB / 481.9 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001435/0.1359, allocations: 1.037 MB / 483 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.136, allocations: 4.125 kB / 483 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004492/0.1364, allocations: 99.89 kB / 483.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/0.1364, allocations: 4 kB / 483.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.751e-05/0.1365, allocations: 12 kB / 483.1 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.077e-05/0.1365, allocations: 11.92 kB / 483.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.1365, allocations: 7.938 kB / 483.1 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007315/0.1372, allocations: 0.8267 MB / 483.9 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.128e-05/0.1373, allocations: 108.7 kB / 484 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.761e-05/0.1374, allocations: 11.98 kB / 484.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003281/0.1377, allocations: 12 kB / 484.1 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.609e-05/0.1378, allocations: 39.84 kB / 484.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.992e-05/0.1378, allocations: 12 kB / 484.1 MB, free: 14.44 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001423/0.1379, allocations: 156.5 kB / 484.3 MB, free: 14.28 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1379, allocations: 0 / 484.3 MB, free: 14.28 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006086/0.1386, allocations: 84 kB / 484.4 MB, free: 14.2 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.001018/0.1396, allocations: 1.38 MB / 485.7 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004768/0.1401, allocations: 303.6 kB / 486 MB, free: 12.47 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.1401, allocations: 0.75 kB / 486 MB, free: 12.47 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001816/0.1403, allocations: 131.7 kB / 486.2 MB, free: 12.34 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009213/0.1412, allocations: 69.52 kB / 486.2 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004611/0.1458, allocations: 4.134 MB / 490.4 MB, free: 7.867 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003461/0.1462, allocations: 0.7842 MB / 491.1 MB, free: 7.059 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001902/0.1464, allocations: 43.27 kB / 491.2 MB, free: 7.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001783/0.1466, allocations: 107.4 kB / 491.3 MB, free: 6.914 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1466, allocations: 0 / 491.3 MB, free: 6.914 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01871/0.1653, allocations: 6.217 MB / 497.5 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001879/0.1655, allocations: 189.2 kB / 497.7 MB, free: 0.582 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.052/2.217, allocations: 4.062 kB / 497.7 MB, free: 0.5781 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