Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test57.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test57,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.134/2.134, allocations: 209.2 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008174/0.0008178, allocations: 12 kB / 282.7 MB, free: 9.555 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3596/0.3605, allocations: 48.7 MB / 331.4 MB, free: 6.418 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1406/0.5011, allocations: 76.09 MB / 407.5 MB, free: 2.23 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002718/0.5014, allocations: 71.95 kB / 407.5 MB, free: 2.16 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02152/0.523, allocations: 4.96 MB / 412.5 MB, free: 13.21 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.523, allocations: 0 / 412.5 MB, free: 13.21 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.993e-05/0.5231, allocations: 4 kB / 412.5 MB, free: 13.21 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006137/0.5237, allocations: 423.7 kB / 412.9 MB, free: 12.75 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.5237, allocations: 15.97 kB / 412.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.719e-05/0.5238, allocations: 34.56 kB / 413 MB, free: 12.69 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.441e-05/0.5239, allocations: 7.906 kB / 413 MB, free: 12.68 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00028/0.5242, allocations: 190.9 kB / 413.1 MB, free: 12.45 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.5242, allocations: 12 kB / 413.2 MB, free: 12.44 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.276e-05/0.5242, allocations: 0 / 413.2 MB, free: 12.44 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.5244, allocations: 67.33 kB / 413.2 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.5244, allocations: 0 / 413.2 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.5245, allocations: 0 / 413.2 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.269e-06/0.5245, allocations: 0 / 413.2 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.028e-05/0.5246, allocations: 15.98 kB / 413.2 MB, free: 12.35 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004569/0.525, allocations: 284.8 kB / 413.5 MB, free: 12.02 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002473/0.5253, allocations: 50.5 kB / 413.6 MB, free: 11.96 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.5253, allocations: 0 / 413.6 MB, free: 11.96 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001512/0.5255, allocations: 59.48 kB / 413.6 MB, free: 11.89 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.733e-06/0.5255, allocations: 3.938 kB / 413.6 MB, free: 11.89 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005014/0.526, allocations: 113.4 kB / 413.7 MB, free: 11.77 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.241e-05/0.5261, allocations: 85.11 kB / 413.8 MB, free: 11.67 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001822/0.5263, allocations: 136.8 kB / 414 MB, free: 11.53 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.456e-05/0.5263, allocations: 25.7 kB / 414 MB, free: 11.5 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.783e-05/0.5264, allocations: 158.6 kB / 414.1 MB, free: 11.34 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.017e-05/0.5265, allocations: 15.75 kB / 414.2 MB, free: 11.32 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.818e-06/0.5265, allocations: 4 kB / 414.2 MB, free: 11.32 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.5266, allocations: 314.8 kB / 414.5 MB, free: 11 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.912e-05/0.5267, allocations: 20 kB / 414.5 MB, free: 10.98 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.464e-05/0.5268, allocations: 41.69 kB / 414.5 MB, free: 10.94 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001003/0.5269, allocations: 45.7 kB / 414.6 MB, free: 10.89 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.5269, allocations: 7.922 kB / 414.6 MB, free: 10.88 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002576/0.5272, allocations: 115.4 kB / 414.7 MB, free: 10.75 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.417e-05/0.5273, allocations: 33.7 kB / 414.7 MB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.5273, allocations: 0 / 414.7 MB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.5273, allocations: 0 / 414.7 MB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.029e-05/0.5274, allocations: 11.98 kB / 414.7 MB, free: 10.7 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.5274, allocations: 3.938 kB / 414.7 MB, free: 10.7 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.738e-05/0.5275, allocations: 11.97 kB / 414.7 MB, free: 10.69 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.5275, allocations: 3.953 kB / 414.8 MB, free: 10.68 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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.0001193/0.5277, allocations: 117.8 kB / 414.9 MB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.258e-05/0.5277, allocations: 16.17 kB / 414.9 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002781/0.528, allocations: 77.64 kB / 415 MB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.528, allocations: 7.984 kB / 415 MB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.528, allocations: 0 / 415 MB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.528, allocations: 96 / 415 MB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004865/0.5285, allocations: 354.4 kB / 415.3 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-06/0.5285, allocations: 0 / 415.3 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.574e-05/0.5286, allocations: 4 kB / 415.3 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.5286, allocations: 4 kB / 415.3 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.5287, allocations: 4 kB / 415.3 MB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.5287, allocations: 192 / 415.3 MB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/0.5287, allocations: 4 kB / 415.3 MB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002502/0.5289, allocations: 183.3 kB / 415.5 MB, free: 9.844 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.913e-05/0.529, allocations: 89.02 kB / 415.6 MB, free: 9.738 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.184e-05/0.5291, allocations: 3.984 kB / 415.6 MB, free: 9.734 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.233e-05/0.5292, allocations: 0 / 415.6 MB, free: 9.734 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.366e-05/0.5292, allocations: 4 kB / 415.6 MB, free: 9.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.062e-05/0.5293, allocations: 4 kB / 415.6 MB, free: 9.727 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001347/0.5294, allocations: 115.2 kB / 415.7 MB, free: 9.613 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5294, allocations: 0 / 415.7 MB, free: 9.613 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007534/0.5302, allocations: 43.92 kB / 415.8 MB, free: 9.57 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.002708/0.5329, allocations: 1.063 MB / 416.8 MB, free: 8.566 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004178/0.5334, allocations: 103.4 kB / 416.9 MB, free: 8.453 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.5334, allocations: 0 / 416.9 MB, free: 8.453 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.5335, allocations: 19.98 kB / 416.9 MB, free: 8.434 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004775/0.534, allocations: 23.92 kB / 417 MB, free: 8.41 MB / 346.7 MB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004439/0.5385, allocations: 1.144 MB / 418.1 MB, free: 7.207 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004497/0.539, allocations: 0.6965 MB / 418.8 MB, free: 6.484 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000154/0.5392, allocations: 27.42 kB / 418.8 MB, free: 6.457 MB / 346.7 MB Notification: Performance of SimCode: time 1.904e-06/0.5392, allocations: 0 / 418.8 MB, free: 6.457 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.7/3.239, allocations: 2.252 MB / 421.1 MB, free: 4.207 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat does not exist to compare? outputFormat=mat