Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test47.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.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 Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo): time 0.01038/0.01038, allocations: 104.3 kB / 15.06 MB, free: 6.031 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo): time 0.001128/0.001128, allocations: 173.8 kB / 15.93 MB, free: 5.965 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.61/1.61, allocations: 170.9 MB / 187.5 MB, free: 1.012 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.2484/0.2484, allocations: 38.1 MB / 265.1 MB, free: 3.98 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006363/0.0006367, allocations: 12 kB / 323.6 MB, free: 29.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09294/0.09363, allocations: 48.71 MB / 372.3 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.002498/0.09619, allocations: 1.29 MB / 373.6 MB, free: 11.56 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001055/0.0973, allocations: 415.5 kB / 374 MB, free: 11.15 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.075e-05/0.09739, allocations: 3.938 kB / 374 MB, free: 11.14 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002759/0.09768, allocations: 27.91 kB / 374 MB, free: 11.12 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001958/0.09789, allocations: 43.88 kB / 374.1 MB, free: 11.07 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002436/0.09815, allocations: 55.81 kB / 374.1 MB, free: 11.02 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001522/0.09832, allocations: 51.88 kB / 374.2 MB, free: 10.97 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.46e-05/0.09843, allocations: 11.97 kB / 374.2 MB, free: 10.96 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.051e-05/0.09852, allocations: 27.91 kB / 374.2 MB, free: 10.93 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.268e-05/0.09862, allocations: 23.86 kB / 374.2 MB, free: 10.91 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.09865, allocations: 0 / 374.2 MB, free: 10.91 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001289/0.09879, allocations: 39.92 kB / 374.3 MB, free: 10.87 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.739e-05/0.09886, allocations: 27.91 kB / 374.3 MB, free: 10.84 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.791e-05/0.09892, allocations: 33.7 kB / 374.3 MB, free: 10.8 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002187/0.09915, allocations: 92.05 kB / 374.4 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.225e-06/0.09917, allocations: 0 / 374.4 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.255e-06/0.09918, allocations: 0 / 374.4 MB, free: 10.71 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.09919, allocations: 0 / 374.4 MB, free: 10.71 MB / 282.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.0005945/0.0998, allocations: 436.5 kB / 374.8 MB, free: 10.23 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.09985, allocations: 12.03 kB / 374.9 MB, free: 10.22 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.461e-05/0.09991, allocations: 38.55 kB / 374.9 MB, free: 10.17 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.344e-05/0.09997, allocations: 7.906 kB / 374.9 MB, free: 10.16 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002482/0.1002, allocations: 202.8 kB / 375.1 MB, free: 9.926 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.1003, allocations: 0 / 375.1 MB, free: 9.926 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.469e-05/0.1003, allocations: 4 kB / 375.1 MB, free: 9.922 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001324/0.1004, allocations: 45.69 kB / 375.2 MB, free: 9.871 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.1005, allocations: 7.875 kB / 375.2 MB, free: 9.863 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.1005, allocations: 3.984 kB / 375.2 MB, free: 9.859 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.1005, allocations: 0 / 375.2 MB, free: 9.859 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.679e-05/0.1006, allocations: 11.98 kB / 375.2 MB, free: 9.848 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000418/0.101, allocations: 296.8 kB / 375.5 MB, free: 9.508 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002329/0.1012, allocations: 38.56 kB / 375.5 MB, free: 9.461 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.607e-05/0.1013, allocations: 0 / 375.5 MB, free: 9.461 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001688/0.1015, allocations: 67.42 kB / 375.6 MB, free: 9.383 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.944e-06/0.1015, allocations: 0 / 375.6 MB, free: 9.383 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004768/0.102, allocations: 121.2 kB / 375.7 MB, free: 9.258 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/0.102, allocations: 51.41 kB / 375.7 MB, free: 9.195 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003457/0.1024, allocations: 251.4 kB / 376 MB, free: 8.934 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.1024, allocations: 25.7 kB / 376 MB, free: 8.902 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.978e-05/0.1025, allocations: 112 kB / 376.1 MB, free: 8.789 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.66e-05/0.1026, allocations: 11.89 kB / 376.1 MB, free: 8.777 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.852e-06/0.1026, allocations: 4 kB / 376.1 MB, free: 8.773 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.1027, allocations: 330.8 kB / 376.5 MB, free: 8.441 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.341e-05/0.1028, allocations: 19.98 kB / 376.5 MB, free: 8.422 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.909e-05/0.1029, allocations: 20 kB / 376.5 MB, free: 8.402 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.06e-05/0.103, allocations: 49.69 kB / 376.5 MB, free: 8.348 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.103, allocations: 0 / 376.5 MB, free: 8.348 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002507/0.1032, allocations: 123.1 kB / 376.7 MB, free: 8.215 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.214e-05/0.1033, allocations: 29.7 kB / 376.7 MB, free: 8.18 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1033, allocations: 0 / 376.7 MB, free: 8.18 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.1033, allocations: 4 kB / 376.7 MB, free: 8.176 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.129e-05/0.1034, allocations: 11.98 kB / 376.7 MB, free: 8.164 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.1034, allocations: 3.938 kB / 376.7 MB, free: 8.16 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.112e-05/0.1035, allocations: 8 kB / 376.7 MB, free: 8.152 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.549e-05/0.1035, allocations: 4.094 kB / 376.7 MB, free: 8.148 MB / 282.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.0001387/0.1037, allocations: 142.8 kB / 376.9 MB, free: 8 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.816e-05/0.1037, allocations: 11.81 kB / 376.9 MB, free: 7.988 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.653e-05/0.1038, allocations: 24.97 kB / 376.9 MB, free: 7.965 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.1038, allocations: 0 / 376.9 MB, free: 7.965 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.1039, allocations: 0 / 376.9 MB, free: 7.965 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.1039, allocations: 0 / 376.9 MB, free: 7.965 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004539/0.1043, allocations: 354.5 kB / 377.2 MB, free: 7.562 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1043, allocations: 0 / 377.2 MB, free: 7.562 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.285e-05/0.1044, allocations: 4 kB / 377.3 MB, free: 7.559 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.1044, allocations: 0 / 377.3 MB, free: 7.559 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.1044, allocations: 4 kB / 377.3 MB, free: 7.555 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.1044, allocations: 3.938 kB / 377.3 MB, free: 7.551 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.1045, allocations: 0 / 377.3 MB, free: 7.551 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002187/0.1047, allocations: 171.4 kB / 377.4 MB, free: 7.367 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.153e-05/0.1048, allocations: 92.92 kB / 377.5 MB, free: 7.258 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.75e-05/0.1048, allocations: 192 / 377.5 MB, free: 7.258 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.549e-05/0.1049, allocations: 8 kB / 377.5 MB, free: 7.25 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.476e-05/0.105, allocations: 7.984 kB / 377.5 MB, free: 7.242 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.832e-05/0.105, allocations: 4 kB / 377.5 MB, free: 7.238 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002261/0.1052, allocations: 185.1 kB / 377.7 MB, free: 7.059 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1052, allocations: 0 / 377.7 MB, free: 7.059 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003738/0.1056, allocations: 31.94 kB / 377.7 MB, free: 7.027 MB / 282.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 (5): * Single equations (assignments): 4 * 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.001405/0.107, allocations: 0.9674 MB / 378.7 MB, free: 6.141 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002355/0.1073, allocations: 99.39 kB / 378.8 MB, free: 6.031 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.86e-06/0.1073, allocations: 4 kB / 378.8 MB, free: 6.027 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.677e-05/0.1074, allocations: 23.92 kB / 378.8 MB, free: 6.004 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003109/0.1077, allocations: 20.11 kB / 378.9 MB, free: 5.984 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000988/0.1087, allocations: 0.4971 MB / 379.4 MB, free: 5.441 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003245/0.1091, allocations: 0.716 MB / 380.1 MB, free: 4.699 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.869e-05/0.1091, allocations: 11.92 kB / 380.1 MB, free: 4.688 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.451e-05/0.1092, allocations: 35.42 kB / 380.1 MB, free: 4.652 MB / 282.7 MB Notification: Performance of SimCode: time 8.32e-07/0.1092, allocations: 0 / 380.1 MB, free: 4.652 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0221/0.1313, allocations: 2.832 MB / 383 MB, free: 1.852 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003836/0.1318, allocations: 254.2 kB / 383.2 MB, free: 1.508 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.363/2.495, allocations: 3.938 kB / 383.2 MB, free: 1.504 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat does not exist to compare? outputFormat=mat