Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test42,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.15/2.15, allocations: 235.1 MB / 243 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.269e-05/2.242e-05, allocations: 8 kB / 303.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3254, allocations: 54.85 MB / 358.1 MB, free: 14.85 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1423/0.4677, allocations: 81.38 MB / 439.5 MB, free: 13.36 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002652/0.468, allocations: 75.95 kB / 439.6 MB, free: 13.29 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.02016/0.4882, allocations: 4.591 MB / 444.2 MB, free: 8.691 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4882, allocations: 0 / 444.2 MB, free: 8.691 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.538e-05/0.4883, allocations: 4 kB / 444.2 MB, free: 8.688 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006074/0.4889, allocations: 461.4 kB / 444.6 MB, free: 8.18 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.4889, allocations: 16.03 kB / 444.6 MB, free: 8.164 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.168e-05/0.489, allocations: 7.906 kB / 444.7 MB, free: 8.156 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003603/0.4894, allocations: 210.8 kB / 444.9 MB, free: 7.91 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.4894, allocations: 0 / 444.9 MB, free: 7.91 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.05e-05/0.4895, allocations: 4 kB / 444.9 MB, free: 7.906 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001014/0.4896, allocations: 19.98 kB / 444.9 MB, free: 7.887 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/0.4897, allocations: 49.69 kB / 444.9 MB, free: 7.832 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.4897, allocations: 3.953 kB / 444.9 MB, free: 7.828 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.4898, allocations: 3.984 kB / 444.9 MB, free: 7.824 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.4898, allocations: 4 kB / 444.9 MB, free: 7.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004595/0.4902, allocations: 289.4 kB / 445.2 MB, free: 7.5 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001527/0.4904, allocations: 62.61 kB / 445.3 MB, free: 7.43 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.729e-05/0.4905, allocations: 16.98 kB / 445.3 MB, free: 7.41 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.4905, allocations: 0 / 445.3 MB, free: 7.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001602/0.4907, allocations: 75.34 kB / 445.4 MB, free: 7.324 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.984e-06/0.4907, allocations: 0 / 445.4 MB, free: 7.324 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000584/0.4913, allocations: 153.2 kB / 445.5 MB, free: 7.168 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.399e-05/0.4913, allocations: 51.41 kB / 445.6 MB, free: 7.105 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002468/0.4916, allocations: 178.5 kB / 445.8 MB, free: 6.914 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.464e-05/0.4916, allocations: 25.7 kB / 445.8 MB, free: 6.883 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.446e-05/0.4917, allocations: 162.6 kB / 445.9 MB, free: 6.723 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.946e-05/0.4918, allocations: 31.64 kB / 446 MB, free: 6.691 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.999e-06/0.4918, allocations: 3.938 kB / 446 MB, free: 6.688 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.492, allocations: 319.5 kB / 446.3 MB, free: 6.367 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.81e-05/0.4921, allocations: 28 kB / 446.3 MB, free: 6.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.4922, allocations: 51.25 kB / 446.4 MB, free: 6.285 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/0.4923, allocations: 35.98 kB / 446.4 MB, free: 6.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.4923, allocations: 7.938 kB / 446.4 MB, free: 6.242 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000342/0.4927, allocations: 125.6 kB / 446.5 MB, free: 6.113 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.973e-05/0.4928, allocations: 41.69 kB / 446.6 MB, free: 6.066 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/0.4928, allocations: 3.953 kB / 446.6 MB, free: 6.062 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.4928, allocations: 4 kB / 446.6 MB, free: 6.059 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/0.493, allocations: 19.94 kB / 446.6 MB, free: 6.039 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/0.493, allocations: 3.984 kB / 446.6 MB, free: 6.035 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.089e-05/0.4931, allocations: 4.094 kB / 446.6 MB, free: 6.031 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.287e-05/0.4931, allocations: 11.94 kB / 446.6 MB, free: 6.02 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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 9.607e-05/0.4932, allocations: 107 kB / 446.7 MB, free: 5.91 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002162/0.4935, allocations: 97.58 kB / 446.8 MB, free: 5.809 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.521e-05/0.4935, allocations: 15.77 kB / 446.8 MB, free: 5.793 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003381/0.4939, allocations: 119.6 kB / 446.9 MB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.4939, allocations: 0 / 446.9 MB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.4939, allocations: 0 / 446.9 MB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.4939, allocations: 0 / 446.9 MB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005687/0.4945, allocations: 379.8 kB / 447.3 MB, free: 5.246 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.4945, allocations: 0 / 447.3 MB, free: 5.246 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.565e-05/0.4946, allocations: 16.02 kB / 447.3 MB, free: 5.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.091e-05/0.4946, allocations: 4 kB / 447.3 MB, free: 5.227 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.4946, allocations: 0 / 447.3 MB, free: 5.227 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.4946, allocations: 3.938 kB / 447.3 MB, free: 5.223 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.4947, allocations: 4 kB / 447.3 MB, free: 5.219 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002973/0.495, allocations: 213.9 kB / 447.6 MB, free: 4.984 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.4951, allocations: 101 kB / 447.7 MB, free: 4.867 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.559e-05/0.4951, allocations: 0 / 447.7 MB, free: 4.867 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.4952, allocations: 7.938 kB / 447.7 MB, free: 4.859 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.471e-05/0.4953, allocations: 7.984 kB / 447.7 MB, free: 4.852 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.4953, allocations: 4.188 kB / 447.7 MB, free: 4.848 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001654/0.4955, allocations: 139.9 kB / 447.8 MB, free: 4.711 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.4955, allocations: 0 / 447.8 MB, free: 4.711 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003923/0.4959, allocations: 39.92 kB / 447.8 MB, free: 4.672 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001578/0.4975, allocations: 1.108 MB / 449 MB, free: 3.59 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003469/0.4979, allocations: 159.3 kB / 449.1 MB, free: 3.422 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4979, allocations: 0 / 449.1 MB, free: 3.422 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.515e-05/0.498, allocations: 31.94 kB / 449.1 MB, free: 3.391 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003377/0.4983, allocations: 20.92 kB / 449.2 MB, free: 3.371 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000729/0.4991, allocations: 250 kB / 449.4 MB, free: 3.086 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/0.4994, allocations: 0.7198 MB / 450.1 MB, free: 2.34 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.66e-05/0.4995, allocations: 35.42 kB / 450.2 MB, free: 2.305 MB / 378.7 MB Notification: Performance of SimCode: time 8.82e-07/0.4996, allocations: 0 / 450.2 MB, free: 2.305 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.605/3.105, allocations: 2.487 MB / 452.6 MB, free: 15.81 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat does not exist to compare? outputFormat=mat