Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test27",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.01269/0.01269, allocations: 103.7 kB / 15.05 MB, free: 5.949 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.001225/0.001224, allocations: 172 kB / 15.93 MB, free: 5.91 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.685/1.685, allocations: 170.9 MB / 187.6 MB, free: 0.8398 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.2554/0.2554, allocations: 38.09 MB / 265.1 MB, free: 3.941 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006375/0.0006377, allocations: 12 kB / 323.6 MB, free: 29.63 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09085/0.09151, allocations: 48.71 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.002312/0.09388, allocations: 1.29 MB / 373.6 MB, free: 11.54 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001045/0.09497, allocations: 419.5 kB / 374 MB, free: 11.12 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.63e-05/0.09504, allocations: 0 / 374 MB, free: 11.12 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002566/0.09531, allocations: 31.83 kB / 374 MB, free: 11.09 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001819/0.09551, allocations: 23.91 kB / 374 MB, free: 11.07 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002592/0.09579, allocations: 59.81 kB / 374.1 MB, free: 11.01 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001541/0.09596, allocations: 51.88 kB / 374.2 MB, free: 10.96 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.09607, allocations: 11.97 kB / 374.2 MB, free: 10.95 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.949e-05/0.09616, allocations: 27.91 kB / 374.2 MB, free: 10.92 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.953e-05/0.09628, allocations: 15.94 kB / 374.2 MB, free: 10.91 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.09631, allocations: 0 / 374.2 MB, free: 10.91 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001381/0.09646, allocations: 39.86 kB / 374.3 MB, free: 10.87 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.917e-05/0.09652, allocations: 15.97 kB / 374.3 MB, free: 10.85 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.051e-05/0.09658, allocations: 37.64 kB / 374.3 MB, free: 10.81 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000205/0.09679, allocations: 72.12 kB / 374.4 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.09681, allocations: 4 kB / 374.4 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.09682, allocations: 0 / 374.4 MB, free: 10.73 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.598e-06/0.09684, allocations: 4 kB / 374.4 MB, free: 10.73 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.0005673/0.09742, allocations: 408.7 kB / 374.8 MB, free: 10.28 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.09747, allocations: 11.97 kB / 374.8 MB, free: 10.27 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.93e-05/0.09752, allocations: 30.56 kB / 374.8 MB, free: 10.23 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.586e-05/0.09757, allocations: 7.906 kB / 374.8 MB, free: 10.22 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002553/0.09784, allocations: 199.7 kB / 375 MB, free: 9.984 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.09787, allocations: 12 kB / 375 MB, free: 9.973 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.999e-05/0.09791, allocations: 11.92 kB / 375 MB, free: 9.961 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.09806, allocations: 41.69 kB / 375.1 MB, free: 9.914 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.09808, allocations: 0 / 375.1 MB, free: 9.914 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.0981, allocations: 0 / 375.1 MB, free: 9.914 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.09812, allocations: 4 kB / 375.1 MB, free: 9.91 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.281e-05/0.09819, allocations: 11.98 kB / 375.1 MB, free: 9.898 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003967/0.0986, allocations: 276.9 kB / 375.4 MB, free: 9.578 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002207/0.09884, allocations: 46.5 kB / 375.4 MB, free: 9.523 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.09887, allocations: 4 kB / 375.4 MB, free: 9.52 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001635/0.09904, allocations: 59.48 kB / 375.5 MB, free: 9.449 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.783e-06/0.09906, allocations: 0 / 375.5 MB, free: 9.449 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004539/0.09952, allocations: 109.3 kB / 375.6 MB, free: 9.336 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.09958, allocations: 55.41 kB / 375.6 MB, free: 9.27 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002172/0.09981, allocations: 180.7 kB / 375.8 MB, free: 9.086 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.09984, allocations: 25.7 kB / 375.8 MB, free: 9.055 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.577e-05/0.09992, allocations: 96.12 kB / 375.9 MB, free: 8.957 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.197e-05/0.09996, allocations: 19.75 kB / 376 MB, free: 8.938 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.672e-06/0.09998, allocations: 0 / 376 MB, free: 8.938 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.1001, allocations: 322.8 kB / 376.3 MB, free: 8.613 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.276e-05/0.1002, allocations: 19.98 kB / 376.3 MB, free: 8.594 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.555e-05/0.1003, allocations: 16 kB / 376.3 MB, free: 8.578 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.595e-05/0.1004, allocations: 49.64 kB / 376.4 MB, free: 8.523 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.1004, allocations: 4 kB / 376.4 MB, free: 8.52 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002423/0.1007, allocations: 119.4 kB / 376.5 MB, free: 8.391 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.31e-05/0.1007, allocations: 37.64 kB / 376.5 MB, free: 8.348 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.1008, allocations: 0 / 376.5 MB, free: 8.348 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.1008, allocations: 0 / 376.5 MB, free: 8.348 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.027e-05/0.1009, allocations: 19.86 kB / 376.5 MB, free: 8.328 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.1009, allocations: 0 / 376.5 MB, free: 8.328 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.491e-05/0.101, allocations: 7.953 kB / 376.5 MB, free: 8.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/0.101, allocations: 4 kB / 376.5 MB, free: 8.316 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.0001227/0.1011, allocations: 126.9 kB / 376.7 MB, free: 8.184 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.482e-05/0.1012, allocations: 11.89 kB / 376.7 MB, free: 8.172 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.488e-05/0.1012, allocations: 8.312 kB / 376.7 MB, free: 8.16 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.1012, allocations: 0 / 376.7 MB, free: 8.16 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.1013, allocations: 0 / 376.7 MB, free: 8.16 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.1013, allocations: 0 / 376.7 MB, free: 8.16 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004604/0.1017, allocations: 342.5 kB / 377 MB, free: 7.77 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.1018, allocations: 0 / 377 MB, free: 7.77 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.902e-05/0.1018, allocations: 11.98 kB / 377 MB, free: 7.758 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.1018, allocations: 4 kB / 377 MB, free: 7.754 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.1018, allocations: 0 / 377 MB, free: 7.754 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.1019, allocations: 0 / 377 MB, free: 7.754 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.1019, allocations: 3.953 kB / 377 MB, free: 7.75 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002161/0.1021, allocations: 167.6 kB / 377.2 MB, free: 7.57 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.633e-05/0.1022, allocations: 89 kB / 377.3 MB, free: 7.465 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.79e-05/0.1022, allocations: 4 kB / 377.3 MB, free: 7.461 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.045e-05/0.1023, allocations: 4 kB / 377.3 MB, free: 7.457 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.994e-05/0.1024, allocations: 4 kB / 377.3 MB, free: 7.453 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.289e-05/0.1024, allocations: 7.953 kB / 377.3 MB, free: 7.445 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001439/0.1025, allocations: 134.5 kB / 377.4 MB, free: 7.316 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.1026, allocations: 0 / 377.4 MB, free: 7.316 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000353/0.1029, allocations: 28 kB / 377.5 MB, free: 7.289 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.001441/0.1044, allocations: 0.9643 MB / 378.4 MB, free: 6.406 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002442/0.1046, allocations: 103.3 kB / 378.5 MB, free: 6.293 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.1047, allocations: 0 / 378.5 MB, free: 6.293 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.918e-05/0.1047, allocations: 19.92 kB / 378.6 MB, free: 6.273 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003226/0.1051, allocations: 19.92 kB / 378.6 MB, free: 6.254 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008176/0.1059, allocations: 423.3 kB / 379 MB, free: 5.793 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002885/0.1062, allocations: 0.7004 MB / 379.7 MB, free: 5.066 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.994e-05/0.1063, allocations: 19.98 kB / 379.7 MB, free: 5.047 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.953e-05/0.1064, allocations: 31.42 kB / 379.7 MB, free: 5.016 MB / 282.7 MB Notification: Performance of SimCode: time 8.12e-07/0.1064, allocations: 0 / 379.7 MB, free: 5.016 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02227/0.1287, allocations: 2.511 MB / 382.3 MB, free: 2.535 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003834/0.1291, allocations: 254.2 kB / 382.5 MB, free: 2.191 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.312/2.441, allocations: 0 / 382.5 MB, free: 2.191 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat does not exist to compare? outputFormat=mat