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.Test36.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.Test36,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.384/2.384, allocations: 235.1 MB / 243 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.887e-05/3.902e-05, allocations: 8 kB / 303.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.337, allocations: 54.84 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1468/0.4839, allocations: 81.39 MB / 439.5 MB, free: 13.36 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002912/0.4842, allocations: 71.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.02049/0.5047, allocations: 4.729 MB / 444.3 MB, free: 8.551 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.5048, allocations: 0 / 444.3 MB, free: 8.551 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.687e-05/0.5048, allocations: 0 / 444.3 MB, free: 8.551 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.000612/0.5054, allocations: 477.4 kB / 444.8 MB, free: 8.027 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.5055, allocations: 12.03 kB / 444.8 MB, free: 8.016 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.317e-05/0.5056, allocations: 11.91 kB / 444.8 MB, free: 8.004 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003784/0.506, allocations: 218.8 kB / 445 MB, free: 7.75 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.506, allocations: 3.984 kB / 445 MB, free: 7.746 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.172e-05/0.506, allocations: 4 kB / 445 MB, free: 7.742 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.393e-05/0.5061, allocations: 16 kB / 445 MB, free: 7.727 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/0.5063, allocations: 57.61 kB / 445.1 MB, free: 7.664 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.5063, allocations: 3.953 kB / 445.1 MB, free: 7.66 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.5063, allocations: 4 kB / 445.1 MB, free: 7.656 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.738e-06/0.5063, allocations: 0 / 445.1 MB, free: 7.656 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004708/0.5068, allocations: 289.5 kB / 445.4 MB, free: 7.336 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/0.507, allocations: 46.7 kB / 445.4 MB, free: 7.281 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.79e-05/0.5071, allocations: 20.97 kB / 445.5 MB, free: 7.258 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.5071, allocations: 8 kB / 445.5 MB, free: 7.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001698/0.5073, allocations: 67.3 kB / 445.5 MB, free: 7.172 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.044e-06/0.5073, allocations: 0 / 445.5 MB, free: 7.172 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005938/0.5079, allocations: 157.1 kB / 445.7 MB, free: 7.012 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.791e-05/0.5079, allocations: 55.41 kB / 445.7 MB, free: 6.945 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003057/0.5083, allocations: 194.6 kB / 445.9 MB, free: 6.746 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.5083, allocations: 29.64 kB / 446 MB, free: 6.711 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.537e-05/0.5084, allocations: 170.5 kB / 446.1 MB, free: 6.543 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.85e-05/0.5084, allocations: 27.64 kB / 446.2 MB, free: 6.516 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.287e-06/0.5085, allocations: 0 / 446.2 MB, free: 6.516 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.5086, allocations: 323.5 kB / 446.5 MB, free: 6.191 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.367e-05/0.5087, allocations: 28 kB / 446.5 MB, free: 6.164 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.5088, allocations: 46.98 kB / 446.5 MB, free: 6.113 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/0.509, allocations: 43.98 kB / 446.6 MB, free: 6.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.509, allocations: 0 / 446.6 MB, free: 6.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000339/0.5093, allocations: 141.4 kB / 446.7 MB, free: 5.926 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.78e-05/0.5094, allocations: 29.7 kB / 446.7 MB, free: 5.891 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.5094, allocations: 7.953 kB / 446.8 MB, free: 5.883 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.5094, allocations: 0 / 446.8 MB, free: 5.883 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.5096, allocations: 19.98 kB / 446.8 MB, free: 5.863 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.5096, allocations: 0 / 446.8 MB, free: 5.863 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.467e-05/0.5097, allocations: 4 kB / 446.8 MB, free: 5.859 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.941e-05/0.5098, allocations: 8 kB / 446.8 MB, free: 5.852 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.867e-05/0.5099, allocations: 109 kB / 446.9 MB, free: 5.738 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002292/0.5101, allocations: 101.5 kB / 447 MB, free: 5.633 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.679e-05/0.5102, allocations: 19.77 kB / 447 MB, free: 5.613 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003048/0.5105, allocations: 115.4 kB / 447.1 MB, free: 5.492 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.5105, allocations: 0 / 447.1 MB, free: 5.492 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.5105, allocations: 0 / 447.1 MB, free: 5.492 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.5105, allocations: 0 / 447.1 MB, free: 5.492 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005914/0.5111, allocations: 396.1 kB / 447.5 MB, free: 5.059 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.5112, allocations: 8.031 kB / 447.5 MB, free: 5.051 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.565e-05/0.5112, allocations: 12 kB / 447.5 MB, free: 5.039 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.5113, allocations: 0 / 447.5 MB, free: 5.039 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.5113, allocations: 7.984 kB / 447.5 MB, free: 5.031 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.5113, allocations: 0 / 447.5 MB, free: 5.031 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.5113, allocations: 0 / 447.5 MB, free: 5.031 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002974/0.5116, allocations: 221.9 kB / 447.8 MB, free: 4.789 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.5117, allocations: 100.9 kB / 447.9 MB, free: 4.672 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.115e-05/0.5118, allocations: 4 kB / 447.9 MB, free: 4.668 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.5119, allocations: 3.938 kB / 447.9 MB, free: 4.664 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.694e-05/0.512, allocations: 11.98 kB / 447.9 MB, free: 4.652 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.512, allocations: 4 kB / 447.9 MB, free: 4.648 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001966/0.5122, allocations: 156.3 kB / 448 MB, free: 4.496 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5122, allocations: 0 / 448 MB, free: 4.496 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004079/0.5126, allocations: 44.2 kB / 448.1 MB, free: 4.453 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.001602/0.5143, allocations: 1.091 MB / 449.2 MB, free: 3.391 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003562/0.5146, allocations: 159.3 kB / 449.3 MB, free: 3.223 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.5147, allocations: 0 / 449.3 MB, free: 3.223 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.619e-05/0.5148, allocations: 31.94 kB / 449.4 MB, free: 3.191 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003672/0.5151, allocations: 16.8 kB / 449.4 MB, free: 3.176 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008227/0.516, allocations: 284.9 kB / 449.6 MB, free: 2.852 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003787/0.5164, allocations: 0.7158 MB / 450.4 MB, free: 2.109 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.5165, allocations: 39.42 kB / 450.4 MB, free: 2.07 MB / 378.7 MB Notification: Performance of SimCode: time 7.81e-07/0.5165, allocations: 3.938 kB / 450.4 MB, free: 2.066 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.484/3, allocations: 2.616 MB / 453 MB, free: 15.44 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat does not exist to compare? outputFormat=mat