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.001611/0.001611, allocations: 102.2 kB / 16.27 MB, free: 5.957 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.001827/0.001827, allocations: 186.6 kB / 17.19 MB, free: 5.594 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.468/1.468, allocations: 205.1 MB / 223.1 MB, free: 12.28 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2264/0.2264, allocations: 43.52 MB / 313.9 MB, free: 0.5352 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.001516/0.001516, allocations: 69.81 kB / 382.8 MB, free: 56.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1206, allocations: 57.79 MB / 440.6 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.003437/0.1241, allocations: 2.777 MB / 443.4 MB, free: 4.027 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001537/0.1257, allocations: 0.9901 MB / 444.4 MB, free: 3.027 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001496/0.1259, allocations: 11.94 kB / 444.4 MB, free: 3.016 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001502/0.126, allocations: 47.52 kB / 444.4 MB, free: 2.969 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001475/0.1262, allocations: 99.05 kB / 444.5 MB, free: 2.871 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004143/0.1266, allocations: 155.6 kB / 444.7 MB, free: 2.719 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002806/0.1269, allocations: 370.3 kB / 445 MB, free: 2.355 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001855/0.1271, allocations: 93.05 kB / 445.1 MB, free: 2.262 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.1272, allocations: 135.5 kB / 445.3 MB, free: 2.129 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001657/0.1274, allocations: 147.3 kB / 445.4 MB, free: 1.984 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.972e-05/0.1274, allocations: 28 kB / 445.4 MB, free: 1.957 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001136/0.1275, allocations: 47.98 kB / 445.5 MB, free: 1.91 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.511e-05/0.1276, allocations: 67.75 kB / 445.6 MB, free: 1.844 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001128/0.1277, allocations: 167.1 kB / 445.7 MB, free: 1.68 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003131/0.128, allocations: 366.7 kB / 446.1 MB, free: 1.32 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.128, allocations: 3.984 kB / 446.1 MB, free: 1.316 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.128, allocations: 0 / 446.1 MB, free: 1.316 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.453e-06/0.1281, allocations: 0 / 446.1 MB, free: 1.316 MB / 318.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.0008377/0.1289, allocations: 0.6122 MB / 446.7 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.1289, allocations: 11.89 kB / 446.7 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.21e-05/0.129, allocations: 66.72 kB / 446.8 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002289/0.1292, allocations: 52.45 kB / 446.8 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002449/0.1295, allocations: 283.1 kB / 447.1 MB, free: 204 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.1295, allocations: 21.03 kB / 447.1 MB, free: 184 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.565e-05/0.1296, allocations: 36.28 kB / 447.2 MB, free: 148 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004812/0.1301, allocations: 306.3 kB / 447.5 MB, free: 15.82 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.212e-05/0.1301, allocations: 4 kB / 447.5 MB, free: 15.82 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.725e-05/0.1301, allocations: 12 kB / 447.5 MB, free: 15.81 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.289e-05/0.1302, allocations: 16 kB / 447.5 MB, free: 15.79 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003516/0.1305, allocations: 199.8 kB / 447.7 MB, free: 15.6 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00191/0.1324, allocations: 1.28 MB / 449 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005376/0.133, allocations: 337 kB / 449.3 MB, free: 13.84 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001645/0.1332, allocations: 116.2 kB / 449.4 MB, free: 13.71 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.924e-05/0.1332, allocations: 4 kB / 449.4 MB, free: 13.71 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.401e-05/0.1333, allocations: 38.5 kB / 449.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 1.683e-06/0.1333, allocations: 0 / 449.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.002673/0.1359, allocations: 1.57 MB / 451 MB, free: 11.88 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.488e-05/0.136, allocations: 158.2 kB / 451.2 MB, free: 11.69 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002286/0.1363, allocations: 232.8 kB / 451.4 MB, free: 11.46 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/0.1363, allocations: 33.7 kB / 451.4 MB, free: 11.42 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.1364, allocations: 176.2 kB / 451.6 MB, free: 11.24 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/0.1366, allocations: 153.9 kB / 451.8 MB, free: 11.09 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/0.1367, allocations: 86.17 kB / 451.8 MB, free: 11 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.1368, allocations: 338.8 kB / 452.2 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001733/0.137, allocations: 97.08 kB / 452.3 MB, free: 10.57 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002614/0.1373, allocations: 243.5 kB / 452.5 MB, free: 10.26 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004879/0.1378, allocations: 382.7 kB / 452.9 MB, free: 9.824 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1378, allocations: 0 / 452.9 MB, free: 9.824 MB / 334.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0006075/0.1384, allocations: 409.4 kB / 453.3 MB, free: 9.418 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.1384, allocations: 8 kB / 453.3 MB, free: 9.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/0.1385, allocations: 4 kB / 453.3 MB, free: 9.406 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.422e-05/0.1385, allocations: 15.88 kB / 453.3 MB, free: 9.391 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004001/0.1389, allocations: 115.8 kB / 453.4 MB, free: 9.277 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.462e-05/0.1389, allocations: 8 kB / 453.4 MB, free: 9.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001756/0.1391, allocations: 19.94 kB / 453.4 MB, free: 9.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.912e-05/0.1392, allocations: 20 kB / 453.5 MB, free: 9.23 MB / 334.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.0001677/0.1393, allocations: 161.8 kB / 453.6 MB, free: 9.062 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/0.1395, allocations: 31.62 kB / 453.6 MB, free: 9.031 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002299/0.1397, allocations: 119.3 kB / 453.8 MB, free: 8.914 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.1397, allocations: 11.94 kB / 453.8 MB, free: 8.902 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.1397, allocations: 0 / 453.8 MB, free: 8.902 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/0.1397, allocations: 7.984 kB / 453.8 MB, free: 8.895 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00157/0.1413, allocations: 1.034 MB / 454.8 MB, free: 7.777 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.1413, allocations: 8.266 kB / 454.8 MB, free: 7.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004228/0.1418, allocations: 95.89 kB / 454.9 MB, free: 7.676 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/0.1418, allocations: 4 kB / 454.9 MB, free: 7.672 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.742e-05/0.1418, allocations: 12 kB / 454.9 MB, free: 7.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.343e-06/0.1418, allocations: 7.938 kB / 454.9 MB, free: 7.652 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-06/0.1418, allocations: 7.984 kB / 455 MB, free: 7.645 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008127/0.1427, allocations: 0.8219 MB / 455.8 MB, free: 6.777 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.407e-05/0.1428, allocations: 108.8 kB / 455.9 MB, free: 6.652 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.553e-05/0.1428, allocations: 8 kB / 455.9 MB, free: 6.645 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002905/0.1431, allocations: 8 kB / 455.9 MB, free: 6.637 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.629e-05/0.1432, allocations: 44.02 kB / 455.9 MB, free: 6.594 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2e-05/0.1432, allocations: 12 kB / 455.9 MB, free: 6.582 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001424/0.1434, allocations: 164.4 kB / 456.1 MB, free: 6.422 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1434, allocations: 0 / 456.1 MB, free: 6.422 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005486/0.1439, allocations: 80 kB / 456.2 MB, free: 6.344 MB / 334.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.001068/0.145, allocations: 1.387 MB / 457.6 MB, free: 4.902 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006723/0.1457, allocations: 291.9 kB / 457.9 MB, free: 4.617 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.1457, allocations: 0 / 457.9 MB, free: 4.617 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002568/0.146, allocations: 128.9 kB / 458 MB, free: 4.492 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009293/0.1469, allocations: 73.77 kB / 458.1 MB, free: 4.422 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004914/0.1518, allocations: 4.021 MB / 462.1 MB, free: 136 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004344/0.1523, allocations: 0.7842 MB / 462.9 MB, free: 15.32 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001849/0.1525, allocations: 39.27 kB / 462.9 MB, free: 15.29 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001651/0.1526, allocations: 107.4 kB / 463 MB, free: 15.18 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1527, allocations: 0 / 463 MB, free: 15.18 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02876/0.1814, allocations: 6.291 MB / 469.3 MB, free: 8.906 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.532/7.714, allocations: 8.156 kB / 469.3 MB, free: 8.902 MB / 350.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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 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.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Translational/TestBraking/TestBraking.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches