Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test41",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.01099/0.01099, allocations: 104.7 kB / 15.06 MB, free: 6.027 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.001146/0.001146, allocations: 173.7 kB / 15.93 MB, free: 5.961 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.578/1.578, 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.2977/0.2977, allocations: 38.09 MB / 265.1 MB, free: 3.98 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004548/0.000455, allocations: 12 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08878/0.08927, allocations: 48.71 MB / 372.3 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.002467/0.0918, allocations: 1.29 MB / 373.6 MB, free: 11.55 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001118/0.09297, allocations: 415.4 kB / 374 MB, free: 11.14 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.484e-05/0.09309, allocations: 3.938 kB / 374 MB, free: 11.14 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003474/0.09346, allocations: 71.83 kB / 374.1 MB, free: 11.07 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002256/0.0937, allocations: 55.86 kB / 374.1 MB, free: 11.02 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002973/0.09401, allocations: 63.8 kB / 374.2 MB, free: 10.95 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001763/0.0942, allocations: 51.88 kB / 374.2 MB, free: 10.9 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.09433, allocations: 15.95 kB / 374.2 MB, free: 10.89 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.587e-05/0.09444, allocations: 27.92 kB / 374.3 MB, free: 10.86 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001191/0.09457, allocations: 39.88 kB / 374.3 MB, free: 10.82 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.09461, allocations: 0 / 374.3 MB, free: 10.82 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001658/0.09478, allocations: 35.88 kB / 374.3 MB, free: 10.79 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.062e-05/0.09485, allocations: 15.98 kB / 374.4 MB, free: 10.77 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.156e-05/0.09492, allocations: 41.64 kB / 374.4 MB, free: 10.72 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002307/0.09516, allocations: 84.09 kB / 374.5 MB, free: 10.64 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.09518, allocations: 0 / 374.5 MB, free: 10.64 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.09519, allocations: 0 / 374.5 MB, free: 10.64 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.09521, allocations: 0 / 374.5 MB, free: 10.64 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.0006173/0.09583, allocations: 420.6 kB / 374.9 MB, free: 10.18 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.531e-05/0.0959, allocations: 12.03 kB / 374.9 MB, free: 10.16 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.347e-05/0.09595, allocations: 30.56 kB / 374.9 MB, free: 10.12 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.144e-05/0.09601, allocations: 7.906 kB / 374.9 MB, free: 10.12 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002646/0.09629, allocations: 207.5 kB / 375.2 MB, free: 9.875 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.09632, allocations: 0 / 375.2 MB, free: 9.875 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.647e-05/0.09635, allocations: 8 kB / 375.2 MB, free: 9.867 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.09651, allocations: 45.67 kB / 375.2 MB, free: 9.816 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.09654, allocations: 3.938 kB / 375.2 MB, free: 9.812 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.09656, allocations: 0 / 375.2 MB, free: 9.812 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2e-05/0.09659, allocations: 0 / 375.2 MB, free: 9.812 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.624e-05/0.09667, allocations: 15.98 kB / 375.2 MB, free: 9.797 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004905/0.09717, allocations: 284.8 kB / 375.5 MB, free: 9.469 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002555/0.09745, allocations: 42.56 kB / 375.5 MB, free: 9.418 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.783e-05/0.09749, allocations: 4 kB / 375.5 MB, free: 9.414 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001945/0.0977, allocations: 59.48 kB / 375.6 MB, free: 9.344 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 3.066e-06/0.09771, allocations: 0 / 375.6 MB, free: 9.344 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005328/0.09826, allocations: 121.2 kB / 375.7 MB, free: 9.219 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/0.09832, allocations: 55.41 kB / 375.8 MB, free: 9.152 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002854/0.09862, allocations: 190.2 kB / 376 MB, free: 8.957 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.588e-05/0.09866, allocations: 29.7 kB / 376 MB, free: 8.922 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.08e-05/0.09875, allocations: 100.1 kB / 376.1 MB, free: 8.82 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.921e-05/0.09879, allocations: 11.81 kB / 376.1 MB, free: 8.809 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.662e-06/0.09881, allocations: 0 / 376.1 MB, free: 8.809 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.09897, allocations: 326.8 kB / 376.4 MB, free: 8.48 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.775e-05/0.09905, allocations: 27.92 kB / 376.4 MB, free: 8.453 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.343e-05/0.09912, allocations: 20 kB / 376.5 MB, free: 8.434 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.626e-05/0.09923, allocations: 49.69 kB / 376.5 MB, free: 8.379 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.09925, allocations: 0 / 376.5 MB, free: 8.379 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002747/0.09953, allocations: 119.2 kB / 376.6 MB, free: 8.25 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.644e-05/0.09959, allocations: 33.7 kB / 376.7 MB, free: 8.211 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.09961, allocations: 0 / 376.7 MB, free: 8.211 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.09963, allocations: 0 / 376.7 MB, free: 8.211 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.564e-05/0.09974, allocations: 11.98 kB / 376.7 MB, free: 8.199 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.09976, allocations: 3.938 kB / 376.7 MB, free: 8.195 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.82e-05/0.09984, allocations: 8 kB / 376.7 MB, free: 8.188 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.09987, allocations: 4.094 kB / 376.7 MB, free: 8.184 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.0001424/0.1, allocations: 135.2 kB / 376.8 MB, free: 8.043 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.531e-05/0.1001, allocations: 7.906 kB / 376.8 MB, free: 8.035 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.723e-05/0.1001, allocations: 20.28 kB / 376.9 MB, free: 8.012 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.1002, allocations: 0 / 376.9 MB, free: 8.012 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.1002, allocations: 4 kB / 376.9 MB, free: 8.008 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.1002, allocations: 0 / 376.9 MB, free: 8.008 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005053/0.1007, allocations: 346.4 kB / 377.2 MB, free: 7.613 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.1007, allocations: 4 kB / 377.2 MB, free: 7.609 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.628e-05/0.1008, allocations: 8 kB / 377.2 MB, free: 7.602 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.1008, allocations: 0 / 377.2 MB, free: 7.602 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.1008, allocations: 0 / 377.2 MB, free: 7.602 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.145e-06/0.1008, allocations: 0 / 377.2 MB, free: 7.602 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.1008, allocations: 0 / 377.2 MB, free: 7.602 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002278/0.1011, allocations: 175.3 kB / 377.4 MB, free: 7.414 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.453e-05/0.1012, allocations: 85.02 kB / 377.5 MB, free: 7.312 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.665e-05/0.1012, allocations: 4.188 kB / 377.5 MB, free: 7.309 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.1013, allocations: 8 kB / 377.5 MB, free: 7.301 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.489e-05/0.1014, allocations: 7.984 kB / 377.5 MB, free: 7.293 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.181e-05/0.1014, allocations: 4 kB / 377.5 MB, free: 7.289 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001835/0.1016, allocations: 148 kB / 377.6 MB, free: 7.145 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1016, allocations: 0 / 377.6 MB, free: 7.145 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003608/0.102, allocations: 31.94 kB / 377.7 MB, free: 7.113 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.001503/0.1035, allocations: 0.9555 MB / 378.6 MB, free: 6.242 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002829/0.1038, allocations: 103.3 kB / 378.7 MB, free: 6.129 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.1038, allocations: 0 / 378.7 MB, free: 6.129 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.364e-05/0.1039, allocations: 19.98 kB / 378.7 MB, free: 6.109 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003358/0.1043, allocations: 27.91 kB / 378.8 MB, free: 6.082 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009662/0.1052, allocations: 452.2 kB / 379.2 MB, free: 5.594 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003639/0.1057, allocations: 0.7082 MB / 379.9 MB, free: 4.859 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.846e-05/0.1057, allocations: 7.938 kB / 379.9 MB, free: 4.852 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.429e-05/0.1058, allocations: 31.42 kB / 379.9 MB, free: 4.82 MB / 282.7 MB Notification: Performance of SimCode: time 1.022e-06/0.1058, allocations: 0 / 379.9 MB, free: 4.82 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02252/0.1284, allocations: 2.629 MB / 382.6 MB, free: 2.219 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003958/0.1288, allocations: 246.2 kB / 382.8 MB, free: 1.883 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.342/2.47, allocations: 3.938 kB / 382.8 MB, free: 1.879 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat does not exist to compare? outputFormat=mat