Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test48",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.01103/0.01103, allocations: 105 kB / 15.06 MB, free: 5.555 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.001114/0.001113, allocations: 164.8 kB / 15.93 MB, free: 5.527 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.589/1.589, allocations: 170.9 MB / 187.5 MB, free: 0.8125 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.2468/0.2468, allocations: 38.09 MB / 265.1 MB, free: 3.918 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004384/0.0004386, allocations: 12 kB / 323.6 MB, free: 29.62 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08793/0.0884, allocations: 48.71 MB / 372.3 MB, free: 12.82 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.002314/0.09076, allocations: 1.29 MB / 373.6 MB, free: 11.52 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001034/0.09183, allocations: 419.4 kB / 374 MB, free: 11.11 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.143e-05/0.0919, allocations: 0 / 374 MB, free: 11.11 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002513/0.09217, allocations: 31.84 kB / 374 MB, free: 11.07 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000188/0.09238, allocations: 35.88 kB / 374.1 MB, free: 11.04 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002736/0.09267, allocations: 59.8 kB / 374.1 MB, free: 10.98 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001558/0.09284, allocations: 51.88 kB / 374.2 MB, free: 10.93 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.99e-05/0.09295, allocations: 11.98 kB / 374.2 MB, free: 10.92 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.999e-05/0.09305, allocations: 27.91 kB / 374.2 MB, free: 10.89 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.079e-05/0.09314, allocations: 27.91 kB / 374.2 MB, free: 10.86 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.09317, allocations: 0 / 374.2 MB, free: 10.86 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001328/0.09332, allocations: 35.88 kB / 374.3 MB, free: 10.83 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.279e-05/0.09339, allocations: 23.97 kB / 374.3 MB, free: 10.8 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.091e-05/0.09345, allocations: 37.64 kB / 374.3 MB, free: 10.76 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002162/0.09367, allocations: 88.09 kB / 374.4 MB, free: 10.68 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.09369, allocations: 0 / 374.4 MB, free: 10.68 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.0937, allocations: 0 / 374.4 MB, free: 10.68 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.09372, allocations: 4 kB / 374.4 MB, free: 10.67 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.0006126/0.09434, allocations: 444.4 kB / 374.9 MB, free: 10.18 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.0944, allocations: 8.031 kB / 374.9 MB, free: 10.18 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.175e-05/0.09445, allocations: 30.56 kB / 374.9 MB, free: 10.14 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.016e-05/0.0945, allocations: 7.906 kB / 374.9 MB, free: 10.13 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002667/0.09478, allocations: 210.8 kB / 375.1 MB, free: 9.883 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.0948, allocations: 0 / 375.1 MB, free: 9.883 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.402e-05/0.09484, allocations: 4 kB / 375.1 MB, free: 9.879 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.09498, allocations: 45.69 kB / 375.2 MB, free: 9.828 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.09501, allocations: 0 / 375.2 MB, free: 9.828 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.09502, allocations: 0 / 375.2 MB, free: 9.828 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.09504, allocations: 0 / 375.2 MB, free: 9.828 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.731e-05/0.09513, allocations: 23.86 kB / 375.2 MB, free: 9.805 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000437/0.09558, allocations: 288.8 kB / 375.5 MB, free: 9.473 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00023/0.09582, allocations: 38.56 kB / 375.5 MB, free: 9.426 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.09586, allocations: 4 kB / 375.5 MB, free: 9.422 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001745/0.09605, allocations: 67.42 kB / 375.6 MB, free: 9.344 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.823e-06/0.09606, allocations: 0 / 375.6 MB, free: 9.344 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005206/0.09659, allocations: 113.5 kB / 375.7 MB, free: 9.227 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.09665, allocations: 55.34 kB / 375.7 MB, free: 9.16 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003703/0.09703, allocations: 247.4 kB / 376 MB, free: 8.902 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.09707, allocations: 25.7 kB / 376 MB, free: 8.871 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.697e-05/0.09718, allocations: 116 kB / 376.1 MB, free: 8.754 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.484e-05/0.09721, allocations: 7.891 kB / 376.1 MB, free: 8.746 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.217e-06/0.09724, allocations: 8 kB / 376.1 MB, free: 8.738 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.09739, allocations: 326.8 kB / 376.4 MB, free: 8.41 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.166e-05/0.09747, allocations: 16 kB / 376.5 MB, free: 8.395 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.954e-05/0.09754, allocations: 19.98 kB / 376.5 MB, free: 8.375 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.117e-05/0.09764, allocations: 45.7 kB / 376.5 MB, free: 8.324 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.09765, allocations: 0 / 376.5 MB, free: 8.324 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002721/0.09793, allocations: 127.2 kB / 376.7 MB, free: 8.188 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.439e-05/0.09799, allocations: 37.69 kB / 376.7 MB, free: 8.145 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.09801, allocations: 0 / 376.7 MB, free: 8.145 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.09804, allocations: 7.984 kB / 376.7 MB, free: 8.137 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.562e-05/0.09813, allocations: 11.94 kB / 376.7 MB, free: 8.125 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.09815, allocations: 0 / 376.7 MB, free: 8.125 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.283e-05/0.09823, allocations: 0 / 376.7 MB, free: 8.125 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.986e-05/0.09826, allocations: 7.984 kB / 376.7 MB, free: 8.117 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.0001541/0.09843, allocations: 138.8 kB / 376.9 MB, free: 7.973 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.244e-05/0.09847, allocations: 11.91 kB / 376.9 MB, free: 7.961 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.268e-05/0.09855, allocations: 24.94 kB / 376.9 MB, free: 7.938 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.09856, allocations: 0 / 376.9 MB, free: 7.938 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.09858, allocations: 8 kB / 376.9 MB, free: 7.93 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.09859, allocations: 0 / 376.9 MB, free: 7.93 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004836/0.09908, allocations: 350.5 kB / 377.2 MB, free: 7.531 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.0991, allocations: 0 / 377.2 MB, free: 7.531 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.798e-05/0.09916, allocations: 7.984 kB / 377.2 MB, free: 7.523 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.09917, allocations: 0 / 377.2 MB, free: 7.523 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.09919, allocations: 4 kB / 377.2 MB, free: 7.52 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.0992, allocations: 0 / 377.2 MB, free: 7.52 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.09922, allocations: 4.156 kB / 377.3 MB, free: 7.516 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002203/0.09945, allocations: 171.3 kB / 377.4 MB, free: 7.332 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.603e-05/0.09953, allocations: 92.92 kB / 377.5 MB, free: 7.223 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.04e-05/0.09957, allocations: 3.984 kB / 377.5 MB, free: 7.219 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.717e-05/0.09967, allocations: 4 kB / 377.5 MB, free: 7.215 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.824e-05/0.09972, allocations: 0 / 377.5 MB, free: 7.215 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.99e-05/0.09975, allocations: 4 kB / 377.5 MB, free: 7.211 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002396/0.1, allocations: 193.1 kB / 377.7 MB, free: 7.023 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.1, allocations: 0 / 377.7 MB, free: 7.023 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003581/0.1004, allocations: 35.92 kB / 377.7 MB, free: 6.988 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.00153/0.1019, allocations: 0.9677 MB / 378.7 MB, free: 6.105 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002652/0.1022, allocations: 99.39 kB / 378.8 MB, free: 5.996 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.074e-05/0.1023, allocations: 0 / 378.8 MB, free: 5.996 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.803e-05/0.1023, allocations: 27.88 kB / 378.8 MB, free: 5.969 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003411/0.1027, allocations: 16.17 kB / 378.9 MB, free: 5.953 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.1037, allocations: 0.5011 MB / 379.4 MB, free: 5.406 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003611/0.1041, allocations: 0.716 MB / 380.1 MB, free: 4.664 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.972e-05/0.1042, allocations: 7.938 kB / 380.1 MB, free: 4.656 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.791e-05/0.1043, allocations: 35.42 kB / 380.1 MB, free: 4.621 MB / 282.7 MB Notification: Performance of SimCode: time 3.366e-06/0.1043, allocations: 0 / 380.1 MB, free: 4.621 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02843/0.1327, allocations: 2.841 MB / 383 MB, free: 1.812 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002471/0.133, allocations: 246.2 kB / 383.2 MB, free: 1.477 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.464/2.597, allocations: 0 / 383.2 MB, free: 1.477 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat does not exist to compare? outputFormat=mat