Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test18",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.01629/0.01629, allocations: 104.2 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.001903/0.001903, allocations: 170 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.645/1.645, allocations: 170.9 MB / 187.6 MB, free: 0.9727 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.2504/0.2503, allocations: 38.08 MB / 265.1 MB, free: 3.965 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006308/0.000631, allocations: 16 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08982/0.0905, allocations: 48.71 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.002261/0.09281, allocations: 1.294 MB / 373.6 MB, free: 11.54 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001001/0.09384, allocations: 419.4 kB / 374 MB, free: 11.12 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.117e-05/0.09391, allocations: 0 / 374 MB, free: 11.12 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002365/0.09417, allocations: 27.84 kB / 374 MB, free: 11.1 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001617/0.09435, allocations: 31.89 kB / 374.1 MB, free: 11.07 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002324/0.0946, allocations: 63.8 kB / 374.1 MB, free: 11 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000136/0.09475, allocations: 47.88 kB / 374.2 MB, free: 10.96 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.691e-05/0.09485, allocations: 7.984 kB / 374.2 MB, free: 10.95 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.265e-05/0.09494, allocations: 27.92 kB / 374.2 MB, free: 10.92 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.475e-05/0.09501, allocations: 19.91 kB / 374.2 MB, free: 10.9 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.394e-05/0.09504, allocations: 0 / 374.2 MB, free: 10.9 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001188/0.09517, allocations: 35.88 kB / 374.3 MB, free: 10.87 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.747e-05/0.09522, allocations: 11.98 kB / 374.3 MB, free: 10.86 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.443e-05/0.09527, allocations: 33.64 kB / 374.3 MB, free: 10.82 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000196/0.09548, allocations: 88.09 kB / 374.4 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.0955, allocations: 0 / 374.4 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.09551, allocations: 0 / 374.4 MB, free: 10.73 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.349e-06/0.09552, allocations: 0 / 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.0005143/0.09604, allocations: 404.7 kB / 374.8 MB, free: 10.28 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.09609, allocations: 8.031 kB / 374.8 MB, free: 10.27 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.837e-05/0.09614, allocations: 34.56 kB / 374.8 MB, free: 10.23 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.99e-05/0.09619, allocations: 11.91 kB / 374.8 MB, free: 10.22 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002264/0.09643, allocations: 192.5 kB / 375 MB, free: 9.992 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.09646, allocations: 4 kB / 375 MB, free: 9.988 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.09649, allocations: 0 / 375 MB, free: 9.988 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001246/0.09662, allocations: 45.62 kB / 375.1 MB, free: 9.938 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.09665, allocations: 0 / 375.1 MB, free: 9.938 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.09667, allocations: 4 kB / 375.1 MB, free: 9.934 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.09668, allocations: 4 kB / 375.1 MB, free: 9.93 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.2e-05/0.09675, allocations: 11.98 kB / 375.1 MB, free: 9.918 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003766/0.09714, allocations: 280.8 kB / 375.4 MB, free: 9.594 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002111/0.09737, allocations: 46.5 kB / 375.4 MB, free: 9.539 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.0974, allocations: 0 / 375.4 MB, free: 9.539 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001514/0.09757, allocations: 63.48 kB / 375.5 MB, free: 9.465 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.643e-06/0.09758, allocations: 3.938 kB / 375.5 MB, free: 9.461 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004341/0.09803, allocations: 113.6 kB / 375.6 MB, free: 9.344 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.494e-05/0.09809, allocations: 51.41 kB / 375.6 MB, free: 9.281 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001855/0.09828, allocations: 164.7 kB / 375.8 MB, free: 9.109 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.09832, allocations: 25.7 kB / 375.8 MB, free: 9.078 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.397e-05/0.09839, allocations: 96.12 kB / 375.9 MB, free: 8.98 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.736e-05/0.09843, allocations: 19.75 kB / 375.9 MB, free: 8.961 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.013e-06/0.09845, allocations: 4 kB / 375.9 MB, free: 8.957 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.09861, allocations: 318.8 kB / 376.2 MB, free: 8.637 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.245e-05/0.09869, allocations: 16 kB / 376.3 MB, free: 8.621 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.873e-05/0.09876, allocations: 19.98 kB / 376.3 MB, free: 8.602 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.857e-05/0.09886, allocations: 49.64 kB / 376.3 MB, free: 8.547 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.09887, allocations: 0 / 376.3 MB, free: 8.547 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002362/0.09911, allocations: 123.3 kB / 376.5 MB, free: 8.414 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.821e-05/0.09917, allocations: 33.69 kB / 376.5 MB, free: 8.375 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.09918, allocations: 4 kB / 376.5 MB, free: 8.371 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.09921, allocations: 4 kB / 376.5 MB, free: 8.367 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.66e-05/0.09929, allocations: 8 kB / 376.5 MB, free: 8.359 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.09931, allocations: 7.875 kB / 376.5 MB, free: 8.352 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.96e-05/0.09938, allocations: 3.953 kB / 376.5 MB, free: 8.348 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.0994, allocations: 4 kB / 376.5 MB, free: 8.344 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.0001097/0.09952, allocations: 122.9 kB / 376.6 MB, free: 8.215 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.228e-05/0.09955, allocations: 7.906 kB / 376.6 MB, free: 8.207 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.007e-05/0.09961, allocations: 12.31 kB / 376.7 MB, free: 8.191 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.09963, allocations: 4 kB / 376.7 MB, free: 8.188 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.09964, allocations: 0 / 376.7 MB, free: 8.188 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.09965, allocations: 4.078 kB / 376.7 MB, free: 8.184 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003904/0.1001, allocations: 334.5 kB / 377 MB, free: 7.801 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1001, allocations: 3.938 kB / 377 MB, free: 7.797 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.355e-05/0.1001, allocations: 8 kB / 377 MB, free: 7.789 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.1001, allocations: 4 kB / 377 MB, free: 7.785 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.1002, allocations: 0 / 377 MB, free: 7.785 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.1002, allocations: 0 / 377 MB, free: 7.785 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.1002, allocations: 7.953 kB / 377 MB, free: 7.777 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002012/0.1004, allocations: 167.4 kB / 377.2 MB, free: 7.598 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.237e-05/0.1005, allocations: 85.02 kB / 377.3 MB, free: 7.496 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.515e-05/0.1005, allocations: 192 / 377.3 MB, free: 7.496 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.286e-05/0.1006, allocations: 4 kB / 377.3 MB, free: 7.492 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.931e-05/0.1006, allocations: 7.984 kB / 377.3 MB, free: 7.484 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.806e-05/0.1007, allocations: 7.953 kB / 377.3 MB, free: 7.477 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001221/0.1008, allocations: 123.2 kB / 377.4 MB, free: 7.355 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.1008, allocations: 0 / 377.4 MB, free: 7.355 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003475/0.1012, allocations: 24 kB / 377.4 MB, free: 7.332 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.001344/0.1025, allocations: 0.9727 MB / 378.4 MB, free: 6.445 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002296/0.1028, allocations: 103.3 kB / 378.5 MB, free: 6.332 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1028, allocations: 0 / 378.5 MB, free: 6.332 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.82e-05/0.1029, allocations: 15.98 kB / 378.5 MB, free: 6.316 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002809/0.1031, allocations: 23.88 kB / 378.5 MB, free: 6.293 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007327/0.1039, allocations: 403 kB / 378.9 MB, free: 5.852 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002813/0.1042, allocations: 0.6965 MB / 379.6 MB, free: 5.129 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.541e-05/0.1043, allocations: 12 kB / 379.6 MB, free: 5.117 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.829e-05/0.1043, allocations: 39.3 kB / 379.7 MB, free: 5.078 MB / 282.7 MB Notification: Performance of SimCode: time 6.61e-07/0.1044, allocations: 0 / 379.7 MB, free: 5.078 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02846/0.1328, allocations: 2.454 MB / 382.1 MB, free: 2.652 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003597/0.1333, allocations: 250.2 kB / 382.4 MB, free: 2.312 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.499/2.632, allocations: 4.062 kB / 382.4 MB, free: 2.309 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat does not exist to compare? outputFormat=mat