Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Translational.TestBraking.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Translational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01139/0.01139, allocations: 106.3 kB / 15.06 MB, free: 6.027 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001261/0.001261, allocations: 181.6 kB / 15.95 MB, free: 5.953 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.999/1.999, allocations: 194.6 MB / 211.3 MB, free: 11.25 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.2872/0.2872, allocations: 40.05 MB / 296.5 MB, free: 6.512 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006954/0.0006954, allocations: 11.98 kB / 361.1 MB, free: 9.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1176, allocations: 54.88 MB / 416 MB, free: 2.613 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.00301/0.1207, allocations: 1.765 MB / 417.8 MB, free: 0.832 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00162/0.1224, allocations: 0.6677 MB / 418.4 MB, free: 160 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000161/0.1226, allocations: 7.938 kB / 418.4 MB, free: 152 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 6.896e-05/0.1227, allocations: 23.83 kB / 418.5 MB, free: 128 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002629/0.1229, allocations: 87.75 kB / 418.6 MB, free: 40 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004486/0.1234, allocations: 75.8 kB / 418.6 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003616/0.1238, allocations: 179.6 kB / 418.8 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001802/0.124, allocations: 52.69 kB / 418.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001302/0.1241, allocations: 83.7 kB / 418.9 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002191/0.1243, allocations: 91.56 kB / 419 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.948e-05/0.1244, allocations: 12 kB / 419 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.887e-05/0.1245, allocations: 8 kB / 419 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.15e-05/0.1245, allocations: 39.83 kB / 419.1 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.175e-05/0.1246, allocations: 61.64 kB / 419.1 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000255/0.1249, allocations: 171.7 kB / 419.3 MB, free: 15.27 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.594e-06/0.1249, allocations: 0 / 419.3 MB, free: 15.27 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.1249, allocations: 0 / 419.3 MB, free: 15.27 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.1249, allocations: 0 / 419.3 MB, free: 15.27 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.000998/0.1259, allocations: 0.4988 MB / 419.8 MB, free: 14.72 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/0.126, allocations: 12.02 kB / 419.8 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.979e-05/0.1261, allocations: 54.55 kB / 419.9 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.692e-05/0.1262, allocations: 23.72 kB / 419.9 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003389/0.1265, allocations: 242.5 kB / 420.1 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.609e-05/0.1265, allocations: 20.44 kB / 420.2 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.542e-05/0.1266, allocations: 20 kB / 420.2 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005044/0.1271, allocations: 210.7 kB / 420.4 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.815e-05/0.1272, allocations: 7.984 kB / 420.4 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.963e-05/0.1272, allocations: 8 kB / 420.4 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/0.1272, allocations: 8 kB / 420.4 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000386/0.1276, allocations: 131.9 kB / 420.5 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001911/0.1296, allocations: 0.9963 MB / 421.5 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004845/0.1301, allocations: 234.5 kB / 421.8 MB, free: 12.58 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.948e-05/0.1301, allocations: 8 kB / 421.8 MB, free: 12.57 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.1302, allocations: 34.56 kB / 421.8 MB, free: 12.53 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 2.876e-06/0.1302, allocations: 0 / 421.8 MB, free: 12.53 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.00187/0.132, allocations: 1.007 MB / 422.8 MB, free: 11.38 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.018e-05/0.1321, allocations: 132.5 kB / 422.9 MB, free: 11.22 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002875/0.1324, allocations: 194.4 kB / 423.1 MB, free: 11.02 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.098e-05/0.1325, allocations: 33.7 kB / 423.2 MB, free: 10.98 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.1326, allocations: 152.1 kB / 423.3 MB, free: 10.82 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001152/0.1328, allocations: 106.4 kB / 423.4 MB, free: 10.72 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.394e-05/0.1328, allocations: 8 kB / 423.4 MB, free: 10.71 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.1329, allocations: 338.8 kB / 423.8 MB, free: 10.37 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001947/0.1331, allocations: 68.83 kB / 423.8 MB, free: 10.3 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002878/0.1334, allocations: 179.9 kB / 424 MB, free: 10.08 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002731/0.1337, allocations: 100.8 kB / 424.1 MB, free: 9.98 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.1337, allocations: 0 / 424.1 MB, free: 9.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007584/0.1345, allocations: 305.2 kB / 424.4 MB, free: 9.676 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.1346, allocations: 14.75 kB / 424.4 MB, free: 9.664 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.1346, allocations: 4 kB / 424.4 MB, free: 9.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.853e-05/0.1346, allocations: 8 kB / 424.4 MB, free: 9.652 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005668/0.1352, allocations: 80.22 kB / 424.5 MB, free: 9.574 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.148e-05/0.1352, allocations: 15.98 kB / 424.5 MB, free: 9.559 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002346/0.1355, allocations: 15.94 kB / 424.5 MB, free: 9.543 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.491e-05/0.1355, allocations: 15.95 kB / 424.5 MB, free: 9.527 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001925/0.1357, allocations: 145.7 kB / 424.7 MB, free: 9.375 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.1359, allocations: 23.72 kB / 424.7 MB, free: 9.352 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002895/0.1362, allocations: 114.9 kB / 424.8 MB, free: 9.234 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/0.1362, allocations: 8 kB / 424.8 MB, free: 9.227 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.1362, allocations: 4 kB / 424.8 MB, free: 9.223 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.1362, allocations: 0 / 424.8 MB, free: 9.223 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001579/0.1378, allocations: 0.7751 MB / 425.6 MB, free: 8.371 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/0.1379, allocations: 4 kB / 425.6 MB, free: 8.367 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006316/0.1385, allocations: 67.91 kB / 425.7 MB, free: 8.301 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.111e-05/0.1385, allocations: 4 kB / 425.7 MB, free: 8.297 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.407e-05/0.1386, allocations: 11.95 kB / 425.7 MB, free: 8.285 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.826e-06/0.1386, allocations: 4 kB / 425.7 MB, free: 8.281 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/0.1386, allocations: 7.938 kB / 425.7 MB, free: 8.273 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000928/0.1395, allocations: 0.7334 MB / 426.4 MB, free: 7.445 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.729e-05/0.1396, allocations: 96.83 kB / 426.5 MB, free: 7.332 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.395e-05/0.1397, allocations: 11.98 kB / 426.5 MB, free: 7.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003478/0.1401, allocations: 12 kB / 426.6 MB, free: 7.309 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.325e-05/0.1401, allocations: 27.88 kB / 426.6 MB, free: 7.281 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.523e-05/0.1402, allocations: 11.98 kB / 426.6 MB, free: 7.27 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001664/0.1404, allocations: 132.5 kB / 426.7 MB, free: 7.141 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1404, allocations: 0 / 426.7 MB, free: 7.141 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006668/0.141, allocations: 56 kB / 426.8 MB, free: 7.086 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 8 (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 (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0014/0.1425, allocations: 1.897 MB / 428.7 MB, free: 5.109 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005412/0.143, allocations: 199.8 kB / 428.9 MB, free: 4.914 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.143, allocations: 0 / 428.9 MB, free: 4.914 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002085/0.1433, allocations: 89.09 kB / 429 MB, free: 4.828 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007203/0.144, allocations: 52.53 kB / 429 MB, free: 4.777 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004879/0.1489, allocations: 4.299 MB / 433.3 MB, free: 336 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000419/0.1494, allocations: 0.7638 MB / 434.1 MB, free: 15.54 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000227/0.1496, allocations: 34.31 kB / 434.1 MB, free: 15.51 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001711/0.1498, allocations: 75.36 kB / 434.2 MB, free: 15.43 MB / 378.7 MB Notification: Performance of SimCode: time 1.553e-06/0.1498, allocations: 0 / 434.2 MB, free: 15.43 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02588/0.1757, allocations: 4.271 MB / 438.5 MB, free: 11.24 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002372/0.176, allocations: 173.8 kB / 438.6 MB, free: 11 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.438/2.614, allocations: 0 / 438.6 MB, free: 11 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Translational.TestBraking_res.mat does not exist to compare? outputFormat=mat