Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test35",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.01108/0.01109, allocations: 105.8 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.00118/0.00118, allocations: 169.5 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.65/1.65, allocations: 170.9 MB / 187.6 MB, free: 1 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.2488/0.2488, allocations: 38.09 MB / 265.1 MB, free: 3.973 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004617/0.0004618, allocations: 12 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08858/0.08908, allocations: 48.71 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.002265/0.0914, allocations: 1.287 MB / 373.6 MB, free: 11.55 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00101/0.09244, allocations: 423.4 kB / 374 MB, free: 11.14 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.045e-05/0.0925, allocations: 3.938 kB / 374 MB, free: 11.13 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003196/0.09284, allocations: 79.81 kB / 374.1 MB, free: 11.05 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001947/0.09305, allocations: 47.88 kB / 374.1 MB, free: 11.01 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002338/0.0933, allocations: 63.78 kB / 374.2 MB, free: 10.95 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000151/0.09346, allocations: 55.88 kB / 374.2 MB, free: 10.89 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.635e-05/0.09356, allocations: 11.97 kB / 374.3 MB, free: 10.88 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.218e-05/0.09367, allocations: 35.89 kB / 374.3 MB, free: 10.84 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.09378, allocations: 39.91 kB / 374.3 MB, free: 10.8 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.09381, allocations: 0 / 374.3 MB, free: 10.8 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001216/0.09395, allocations: 39.86 kB / 374.4 MB, free: 10.77 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5e-05/0.09401, allocations: 19.97 kB / 374.4 MB, free: 10.75 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.728e-05/0.09407, allocations: 37.64 kB / 374.4 MB, free: 10.7 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002242/0.0943, allocations: 84.11 kB / 374.5 MB, free: 10.62 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.09432, allocations: 0 / 374.5 MB, free: 10.62 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.09433, allocations: 0 / 374.5 MB, free: 10.62 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.09434, allocations: 0 / 374.5 MB, free: 10.62 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.0005632/0.09491, allocations: 420.6 kB / 374.9 MB, free: 10.16 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.09497, allocations: 12.03 kB / 374.9 MB, free: 10.14 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.276e-05/0.09502, allocations: 38.48 kB / 375 MB, free: 10.1 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.737e-05/0.09507, allocations: 7.906 kB / 375 MB, free: 10.09 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000238/0.09532, allocations: 198.8 kB / 375.2 MB, free: 9.855 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.09535, allocations: 4 kB / 375.2 MB, free: 9.852 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.272e-05/0.09538, allocations: 4 kB / 375.2 MB, free: 9.848 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.09552, allocations: 41.69 kB / 375.2 MB, free: 9.801 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.09554, allocations: 0 / 375.2 MB, free: 9.801 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.09557, allocations: 3.984 kB / 375.2 MB, free: 9.797 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.09558, allocations: 4 kB / 375.2 MB, free: 9.793 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.527e-05/0.09566, allocations: 12 kB / 375.2 MB, free: 9.781 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004171/0.09608, allocations: 292.7 kB / 375.5 MB, free: 9.445 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002252/0.09633, allocations: 42.56 kB / 375.6 MB, free: 9.395 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.09636, allocations: 3.938 kB / 375.6 MB, free: 9.391 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001715/0.09655, allocations: 59.48 kB / 375.6 MB, free: 9.32 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 3.887e-06/0.09656, allocations: 0 / 375.6 MB, free: 9.32 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004625/0.09703, allocations: 117.5 kB / 375.7 MB, free: 9.199 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.09709, allocations: 51.41 kB / 375.8 MB, free: 9.137 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002821/0.09738, allocations: 211.9 kB / 376 MB, free: 8.918 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.294e-05/0.09742, allocations: 33.7 kB / 376 MB, free: 8.879 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.582e-05/0.09752, allocations: 100.1 kB / 376.1 MB, free: 8.777 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.732e-05/0.09756, allocations: 19.73 kB / 376.1 MB, free: 8.758 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.027e-06/0.09758, allocations: 8 kB / 376.2 MB, free: 8.75 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.09772, allocations: 322.8 kB / 376.5 MB, free: 8.426 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.339e-05/0.0978, allocations: 15.98 kB / 376.5 MB, free: 8.41 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.213e-05/0.09787, allocations: 27.97 kB / 376.5 MB, free: 8.383 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.589e-05/0.09797, allocations: 45.7 kB / 376.6 MB, free: 8.332 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.09798, allocations: 0 / 376.6 MB, free: 8.332 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002539/0.09824, allocations: 119.3 kB / 376.7 MB, free: 8.203 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.369e-05/0.09831, allocations: 33.7 kB / 376.7 MB, free: 8.164 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.09833, allocations: 3.984 kB / 376.7 MB, free: 8.16 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.09835, allocations: 3.984 kB / 376.7 MB, free: 8.156 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.566e-05/0.09844, allocations: 12 kB / 376.7 MB, free: 8.145 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.09846, allocations: 3.938 kB / 376.7 MB, free: 8.141 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.962e-05/0.09853, allocations: 4 kB / 376.7 MB, free: 8.137 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.532e-05/0.09855, allocations: 4 kB / 376.7 MB, free: 8.133 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.0001512/0.09871, allocations: 134.8 kB / 376.9 MB, free: 7.992 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.386e-05/0.09875, allocations: 7.906 kB / 376.9 MB, free: 7.984 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.634e-05/0.09881, allocations: 12.98 kB / 376.9 MB, free: 7.973 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.09883, allocations: 96 / 376.9 MB, free: 7.973 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.09885, allocations: 11.94 kB / 376.9 MB, free: 7.961 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.09886, allocations: 0 / 376.9 MB, free: 7.961 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004443/0.09932, allocations: 342.4 kB / 377.2 MB, free: 7.57 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.09934, allocations: 4 kB / 377.2 MB, free: 7.566 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.447e-05/0.09939, allocations: 7.984 kB / 377.2 MB, free: 7.559 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.0994, allocations: 0 / 377.2 MB, free: 7.559 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.09942, allocations: 0 / 377.2 MB, free: 7.559 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.09943, allocations: 0 / 377.2 MB, free: 7.559 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.09944, allocations: 4 kB / 377.3 MB, free: 7.555 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002303/0.09968, allocations: 183.2 kB / 377.4 MB, free: 7.359 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.248e-05/0.09976, allocations: 81.02 kB / 377.5 MB, free: 7.262 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.03e-05/0.0998, allocations: 8.172 kB / 377.5 MB, free: 7.254 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.637e-05/0.09989, allocations: 4 kB / 377.5 MB, free: 7.25 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.893e-05/0.09994, allocations: 4 kB / 377.5 MB, free: 7.246 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.09997, allocations: 0 / 377.5 MB, free: 7.246 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001949/0.1002, allocations: 155.9 kB / 377.7 MB, free: 7.094 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.1002, allocations: 0 / 377.7 MB, free: 7.094 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000345/0.1005, allocations: 35.98 kB / 377.7 MB, free: 7.059 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.001459/0.102, allocations: 0.9787 MB / 378.7 MB, free: 6.16 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002464/0.1023, allocations: 99.39 kB / 378.8 MB, free: 6.051 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.1023, allocations: 0 / 378.8 MB, free: 6.051 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.414e-05/0.1024, allocations: 16 kB / 378.8 MB, free: 6.035 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002925/0.1027, allocations: 19.92 kB / 378.8 MB, free: 6.016 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008458/0.1035, allocations: 456.2 kB / 379.3 MB, free: 5.523 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003003/0.1038, allocations: 0.7043 MB / 380 MB, free: 4.793 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.612e-05/0.1039, allocations: 15.92 kB / 380 MB, free: 4.777 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.497e-05/0.104, allocations: 31.44 kB / 380 MB, free: 4.746 MB / 282.7 MB Notification: Performance of SimCode: time 6.62e-07/0.104, allocations: 0 / 380 MB, free: 4.746 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02094/0.125, allocations: 2.672 MB / 382.7 MB, free: 2.105 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002906/0.1253, allocations: 250.2 kB / 382.9 MB, free: 1.766 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.286/2.411, allocations: 7.938 kB / 382.9 MB, free: 1.758 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat does not exist to compare? outputFormat=mat