Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test39",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.01056/0.01057, allocations: 104.4 kB / 15.05 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.001085/0.001086, allocations: 168 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.57/1.57, allocations: 170.9 MB / 187.5 MB, free: 1.004 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.2532/0.2532, allocations: 38.09 MB / 265.1 MB, free: 3.965 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004551/0.0004553, allocations: 12 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0895/0.08999, allocations: 48.72 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.002177/0.09223, allocations: 1.251 MB / 373.6 MB, free: 11.57 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009724/0.09324, allocations: 395.5 kB / 373.9 MB, free: 11.18 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.329e-05/0.09331, allocations: 3.938 kB / 373.9 MB, free: 11.18 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003099/0.09363, allocations: 51.86 kB / 374 MB, free: 11.13 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001831/0.09383, allocations: 43.88 kB / 374 MB, free: 11.09 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002142/0.09406, allocations: 59.8 kB / 374.1 MB, free: 11.03 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001426/0.09422, allocations: 47.88 kB / 374.1 MB, free: 10.98 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.307e-05/0.09429, allocations: 3.984 kB / 374.1 MB, free: 10.98 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.598e-05/0.09438, allocations: 31.91 kB / 374.2 MB, free: 10.95 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.783e-05/0.09449, allocations: 27.91 kB / 374.2 MB, free: 10.92 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.09451, allocations: 4 kB / 374.2 MB, free: 10.91 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.266e-05/0.09462, allocations: 23.98 kB / 374.2 MB, free: 10.89 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.226e-05/0.09467, allocations: 15.92 kB / 374.2 MB, free: 10.88 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.66e-05/0.09473, allocations: 33.7 kB / 374.3 MB, free: 10.84 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001736/0.09492, allocations: 68.06 kB / 374.3 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.09493, allocations: 3.938 kB / 374.4 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.09494, allocations: 0 / 374.4 MB, free: 10.77 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.09497, allocations: 3.938 kB / 374.4 MB, free: 10.76 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000513/0.09549, allocations: 396.8 kB / 374.7 MB, free: 10.32 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.09555, allocations: 12.03 kB / 374.8 MB, free: 10.31 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.95e-05/0.0956, allocations: 34.56 kB / 374.8 MB, free: 10.27 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.845e-05/0.09565, allocations: 7.906 kB / 374.8 MB, free: 10.26 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002161/0.09587, allocations: 193.6 kB / 375 MB, free: 10.03 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.0959, allocations: 4 kB / 375 MB, free: 10.03 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/0.09593, allocations: 4 kB / 375 MB, free: 10.02 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.09605, allocations: 37.69 kB / 375 MB, free: 9.98 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.09607, allocations: 0 / 375 MB, free: 9.98 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.09609, allocations: 0 / 375 MB, free: 9.98 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.0961, allocations: 0 / 375 MB, free: 9.98 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.969e-05/0.09617, allocations: 19.92 kB / 375 MB, free: 9.961 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001989/0.09638, allocations: 173.6 kB / 375.2 MB, free: 9.742 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.376e-05/0.09648, allocations: 30.56 kB / 375.2 MB, free: 9.703 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.525e-05/0.09652, allocations: 7.922 kB / 375.3 MB, free: 9.695 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001591/0.09668, allocations: 51.47 kB / 375.3 MB, free: 9.633 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 4.018e-06/0.0967, allocations: 0 / 375.3 MB, free: 9.633 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002363/0.09695, allocations: 77.52 kB / 375.4 MB, free: 9.551 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.097, allocations: 51.41 kB / 375.4 MB, free: 9.488 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002085/0.09722, allocations: 168.8 kB / 375.6 MB, free: 9.316 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.09725, allocations: 25.7 kB / 375.6 MB, free: 9.285 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.038e-05/0.09732, allocations: 92.14 kB / 375.7 MB, free: 9.191 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.005e-05/0.09736, allocations: 15.83 kB / 375.7 MB, free: 9.176 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.626e-06/0.09738, allocations: 4 kB / 375.7 MB, free: 9.172 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.0975, allocations: 318.8 kB / 376 MB, free: 8.852 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.063e-05/0.09757, allocations: 15.98 kB / 376.1 MB, free: 8.836 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.346e-05/0.09763, allocations: 12 kB / 376.1 MB, free: 8.824 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.132e-05/0.09772, allocations: 53.64 kB / 376.1 MB, free: 8.766 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.09774, allocations: 0 / 376.1 MB, free: 8.766 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002093/0.09796, allocations: 107.2 kB / 376.2 MB, free: 8.648 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.287e-05/0.09801, allocations: 31.27 kB / 376.3 MB, free: 8.613 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.09803, allocations: 0 / 376.3 MB, free: 8.613 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.09805, allocations: 4 kB / 376.3 MB, free: 8.609 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.721e-05/0.09814, allocations: 4 kB / 376.3 MB, free: 8.605 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.09815, allocations: 0 / 376.3 MB, free: 8.605 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.077e-05/0.09823, allocations: 15.89 kB / 376.3 MB, free: 8.59 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.09826, allocations: 0 / 376.3 MB, free: 8.59 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 (5): * Single equations (assignments): 4 * 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.0001141/0.09838, allocations: 122.8 kB / 376.4 MB, free: 8.461 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.048e-05/0.09841, allocations: 7.906 kB / 376.4 MB, free: 8.453 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.361e-05/0.09847, allocations: 20.17 kB / 376.4 MB, free: 8.426 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.09849, allocations: 128 / 376.4 MB, free: 8.426 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.0985, allocations: 4 kB / 376.4 MB, free: 8.422 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.09851, allocations: 0 / 376.4 MB, free: 8.422 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001522/0.09867, allocations: 169.7 kB / 376.6 MB, free: 8.207 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.09869, allocations: 3.953 kB / 376.6 MB, free: 8.203 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.555e-05/0.09873, allocations: 11.94 kB / 376.6 MB, free: 8.191 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.09874, allocations: 3.984 kB / 376.6 MB, free: 8.188 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.09876, allocations: 0 / 376.6 MB, free: 8.188 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.09877, allocations: 0 / 376.6 MB, free: 8.188 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.09879, allocations: 4 kB / 376.6 MB, free: 8.184 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001498/0.09894, allocations: 80.97 kB / 376.7 MB, free: 8.086 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.532e-05/0.09901, allocations: 88.97 kB / 376.8 MB, free: 7.98 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.791e-05/0.09905, allocations: 7.984 kB / 376.8 MB, free: 7.973 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.531e-05/0.09911, allocations: 8 kB / 376.8 MB, free: 7.965 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.014e-05/0.09915, allocations: 0 / 376.8 MB, free: 7.965 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.09917, allocations: 0 / 376.8 MB, free: 7.965 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001368/0.09932, allocations: 130.8 kB / 376.9 MB, free: 7.84 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.09933, allocations: 0 / 376.9 MB, free: 7.84 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002928/0.09963, allocations: 27.98 kB / 377 MB, free: 7.812 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 (3): * Single equations (assignments): 2 * 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.001254/0.1009, allocations: 0.8524 MB / 377.8 MB, free: 7.027 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002227/0.1011, allocations: 91.38 kB / 377.9 MB, free: 6.926 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.1012, allocations: 0 / 377.9 MB, free: 6.926 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.001e-05/0.1012, allocations: 11.94 kB / 377.9 MB, free: 6.914 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002754/0.1015, allocations: 15.98 kB / 377.9 MB, free: 6.898 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007384/0.1023, allocations: 399.6 kB / 378.3 MB, free: 6.461 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002719/0.1026, allocations: 0.7004 MB / 379 MB, free: 5.734 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.606e-05/0.1026, allocations: 8.172 kB / 379 MB, free: 5.727 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.777e-05/0.1027, allocations: 27.44 kB / 379.1 MB, free: 5.699 MB / 282.7 MB Notification: Performance of SimCode: time 8.41e-07/0.1027, allocations: 0 / 379.1 MB, free: 5.699 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02683/0.1296, allocations: 2.263 MB / 381.3 MB, free: 3.477 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003595/0.13, allocations: 250.3 kB / 381.6 MB, free: 3.137 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.272/2.402, allocations: 3.938 kB / 381.6 MB, free: 3.133 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat does not exist to compare? outputFormat=mat