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.Test8.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.Test8,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.015/2.015, allocations: 209.2 MB / 224.8 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004576/0.0004575, allocations: 12 kB / 282.7 MB, free: 9.555 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3537/0.3542, allocations: 48.71 MB / 331.4 MB, free: 6.395 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1384/0.4927, allocations: 75.87 MB / 407.2 MB, free: 2.426 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002815/0.493, allocations: 71.97 kB / 407.3 MB, free: 2.355 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02006/0.5131, allocations: 4.543 MB / 411.9 MB, free: 13.82 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.5132, allocations: 0 / 411.9 MB, free: 13.82 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.816e-05/0.5132, allocations: 4 kB / 411.9 MB, free: 13.81 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006947/0.5139, allocations: 456.5 kB / 412.3 MB, free: 13.31 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.512e-05/0.514, allocations: 16.03 kB / 412.3 MB, free: 13.3 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.642e-05/0.514, allocations: 30.56 kB / 412.3 MB, free: 13.26 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.693e-05/0.5141, allocations: 11.81 kB / 412.4 MB, free: 13.25 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000356/0.5145, allocations: 222.7 kB / 412.6 MB, free: 12.99 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.5145, allocations: 4 kB / 412.6 MB, free: 12.98 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.176e-05/0.5145, allocations: 4 kB / 412.6 MB, free: 12.98 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.5147, allocations: 53.67 kB / 412.6 MB, free: 12.92 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.5147, allocations: 0 / 412.6 MB, free: 12.92 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.5147, allocations: 0 / 412.6 MB, free: 12.92 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.5148, allocations: 0 / 412.6 MB, free: 12.92 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.5149, allocations: 31.97 kB / 412.7 MB, free: 12.89 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000568/0.5155, allocations: 328.7 kB / 413 MB, free: 12.52 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001596/0.5156, allocations: 54.5 kB / 413 MB, free: 12.46 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.5157, allocations: 0 / 413 MB, free: 12.46 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001528/0.5158, allocations: 59.48 kB / 413.1 MB, free: 12.39 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.813e-06/0.5159, allocations: 4 kB / 413.1 MB, free: 12.38 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0006385/0.5165, allocations: 153.2 kB / 413.3 MB, free: 12.23 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.259e-05/0.5166, allocations: 59.34 kB / 413.3 MB, free: 12.16 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000364/0.517, allocations: 213.8 kB / 413.5 MB, free: 11.94 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.157e-05/0.517, allocations: 29.7 kB / 413.6 MB, free: 11.9 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.5171, allocations: 166.5 kB / 413.7 MB, free: 11.74 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.588e-05/0.5172, allocations: 19.75 kB / 413.7 MB, free: 11.72 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.977e-06/0.5172, allocations: 0 / 413.7 MB, free: 11.72 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.5173, allocations: 326.8 kB / 414.1 MB, free: 11.39 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.394e-05/0.5175, allocations: 23.98 kB / 414.1 MB, free: 11.37 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.992e-05/0.5176, allocations: 31.92 kB / 414.1 MB, free: 11.34 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.5177, allocations: 61.73 kB / 414.2 MB, free: 11.27 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.5177, allocations: 0 / 414.2 MB, free: 11.27 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003486/0.5181, allocations: 139.4 kB / 414.3 MB, free: 11.12 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.485e-05/0.5181, allocations: 33.69 kB / 414.3 MB, free: 11.08 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.5182, allocations: 3.938 kB / 414.3 MB, free: 11.08 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.5182, allocations: 0 / 414.3 MB, free: 11.08 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.5183, allocations: 12 kB / 414.4 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.5183, allocations: 0 / 414.4 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.5185, allocations: 15.95 kB / 414.4 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.106e-05/0.5185, allocations: 7.984 kB / 414.4 MB, free: 11.04 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 (8): * Single equations (assignments): 7 * 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.0001655/0.5187, allocations: 121.8 kB / 414.5 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.143e-05/0.5187, allocations: 23.73 kB / 414.5 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003574/0.5191, allocations: 119 kB / 414.6 MB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.5191, allocations: 4 kB / 414.6 MB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.5191, allocations: 0 / 414.6 MB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.5191, allocations: 4 kB / 414.6 MB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006381/0.5198, allocations: 402.7 kB / 415 MB, free: 10.31 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.5198, allocations: 0 / 415 MB, free: 10.31 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.252e-05/0.5199, allocations: 8 kB / 415 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.221e-06/0.5199, allocations: 3.938 kB / 415 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.42e-05/0.52, allocations: 7.984 kB / 415.1 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.52, allocations: 0 / 415.1 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.52, allocations: 4.391 kB / 415.1 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003004/0.5203, allocations: 199.3 kB / 415.3 MB, free: 10.08 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.83e-05/0.5204, allocations: 96.92 kB / 415.3 MB, free: 9.965 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.577e-05/0.5204, allocations: 0 / 415.3 MB, free: 9.965 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001534/0.5206, allocations: 8 kB / 415.4 MB, free: 9.957 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.624e-05/0.5207, allocations: 11.94 kB / 415.4 MB, free: 9.945 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.5207, allocations: 0 / 415.4 MB, free: 9.945 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002542/0.521, allocations: 179.2 kB / 415.5 MB, free: 9.77 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.521, allocations: 0 / 415.5 MB, free: 9.77 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003939/0.5214, allocations: 39.92 kB / 415.6 MB, free: 9.73 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 (8): * Single equations (assignments): 7 * 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.001561/0.523, allocations: 0.9838 MB / 416.6 MB, free: 8.797 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003196/0.5233, allocations: 131.3 kB / 416.7 MB, free: 8.656 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.5233, allocations: 0 / 416.7 MB, free: 8.656 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.09e-05/0.5234, allocations: 35.91 kB / 416.7 MB, free: 8.621 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/0.5238, allocations: 24.05 kB / 416.8 MB, free: 8.594 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/0.525, allocations: 0.5619 MB / 417.3 MB, free: 7.977 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003607/0.5254, allocations: 0.7121 MB / 418 MB, free: 7.238 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.5255, allocations: 43.41 kB / 418.1 MB, free: 7.195 MB / 346.7 MB Notification: Performance of SimCode: time 9.91e-07/0.5255, allocations: 0 / 418.1 MB, free: 7.195 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.66/3.186, allocations: 2.593 MB / 420.7 MB, free: 4.613 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat does not exist to compare? outputFormat=mat