Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test52.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test52,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01076/0.01077, allocations: 111.9 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.2.mo): time 0.001235/0.001235, allocations: 179.4 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.064/2.064, allocations: 194.5 MB / 211.3 MB, free: 11.05 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.2676/0.2676, allocations: 40.04 MB / 296.5 MB, free: 6.301 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004915/0.0004918, allocations: 16 kB / 361.2 MB, free: 9.543 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1158, allocations: 54.88 MB / 416 MB, free: 2.562 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.002414/0.1183, allocations: 1.341 MB / 417.4 MB, free: 1.199 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001569/0.1199, allocations: 0.7229 MB / 418.1 MB, free: 480 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.506e-05/0.12, allocations: 0 / 418.1 MB, free: 480 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002546/0.1203, allocations: 23.91 kB / 418.1 MB, free: 456 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002001/0.1205, allocations: 51.73 kB / 418.2 MB, free: 404 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002079/0.1207, allocations: 51.83 kB / 418.2 MB, free: 352 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001627/0.1209, allocations: 63.86 kB / 418.3 MB, free: 288 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.121, allocations: 11.98 kB / 418.3 MB, free: 276 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.1211, allocations: 35.86 kB / 418.3 MB, free: 240 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.039e-05/0.1212, allocations: 31.84 kB / 418.4 MB, free: 208 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.1213, allocations: 0 / 418.4 MB, free: 208 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.1214, allocations: 27.98 kB / 418.4 MB, free: 180 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.963e-05/0.1214, allocations: 15.92 kB / 418.4 MB, free: 164 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.669e-05/0.1215, allocations: 45.64 kB / 418.5 MB, free: 112 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002056/0.1217, allocations: 96.02 kB / 418.5 MB, free: 16 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.1217, allocations: 0 / 418.5 MB, free: 16 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1218, allocations: 0 / 418.5 MB, free: 16 kB / 346.7 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.1218, allocations: 0 / 418.5 MB, free: 16 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006297/0.1224, allocations: 458.3 kB / 419 MB, free: 15.51 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.1225, allocations: 12.03 kB / 419 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.652e-05/0.1225, allocations: 34.55 kB / 419 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.91e-05/0.1226, allocations: 7.906 kB / 419 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002638/0.1228, allocations: 203.6 kB / 419.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.564e-05/0.1229, allocations: 19.92 kB / 419.3 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.475e-05/0.1229, allocations: 3.953 kB / 419.3 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001827/0.1231, allocations: 57.67 kB / 419.3 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.1231, allocations: 0 / 419.3 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.1232, allocations: 0 / 419.3 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1232, allocations: 0 / 419.3 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001185/0.1233, allocations: 23.97 kB / 419.3 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004291/0.1237, allocations: 304.7 kB / 419.6 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002384/0.124, allocations: 62.61 kB / 419.7 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.564e-05/0.124, allocations: 7.938 kB / 419.7 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002184/0.1243, allocations: 63.52 kB / 419.8 MB, free: 14.6 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.954e-06/0.1243, allocations: 0 / 419.8 MB, free: 14.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007732/0.1251, allocations: 181.2 kB / 420 MB, free: 14.41 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/0.1251, allocations: 55.41 kB / 420 MB, free: 14.35 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002793/0.1254, allocations: 226.2 kB / 420.2 MB, free: 14.12 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.743e-05/0.1255, allocations: 29.7 kB / 420.3 MB, free: 14.08 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.713e-05/0.1255, allocations: 104.1 kB / 420.4 MB, free: 13.98 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.734e-05/0.1256, allocations: 23.7 kB / 420.4 MB, free: 13.95 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.115e-05/0.1256, allocations: 4 kB / 420.4 MB, free: 13.95 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.1257, allocations: 326.8 kB / 420.7 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.1259, allocations: 35.98 kB / 420.7 MB, free: 13.59 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.126, allocations: 45.64 kB / 420.8 MB, free: 13.54 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.1262, allocations: 69.69 kB / 420.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1262, allocations: 3.938 kB / 420.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003751/0.1266, allocations: 163.1 kB / 421 MB, free: 13.29 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.561e-05/0.1267, allocations: 36.5 kB / 421.1 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.1267, allocations: 4 kB / 421.1 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.1267, allocations: 4.031 kB / 421.1 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.1268, allocations: 12 kB / 421.1 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.1269, allocations: 0 / 421.1 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.706e-05/0.127, allocations: 8.375 kB / 421.1 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.001e-05/0.127, allocations: 7.984 kB / 421.1 MB, free: 13.21 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.0001355/0.1271, allocations: 137.7 kB / 421.2 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.872e-05/0.1272, allocations: 7.906 kB / 421.2 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.849e-05/0.1272, allocations: 29.33 kB / 421.3 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.1273, allocations: 0 / 421.3 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.1273, allocations: 4 kB / 421.3 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.1273, allocations: 0 / 421.3 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006029/0.1279, allocations: 399.3 kB / 421.7 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1279, allocations: 0 / 421.7 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.916e-05/0.128, allocations: 11.98 kB / 421.7 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.128, allocations: 0 / 421.7 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.128, allocations: 3.938 kB / 421.7 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.128, allocations: 4 kB / 421.7 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.128, allocations: 4.031 kB / 421.7 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003325/0.1284, allocations: 217.9 kB / 421.9 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.241e-05/0.1285, allocations: 96.91 kB / 422 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.293e-05/0.1285, allocations: 4 kB / 422 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.1287, allocations: 7.984 kB / 422 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.927e-05/0.1287, allocations: 11.94 kB / 422 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.89e-05/0.1287, allocations: 0 / 422 MB, free: 12.18 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001925/0.1289, allocations: 171.2 kB / 422.2 MB, free: 12.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-07/0.129, allocations: 0 / 422.2 MB, free: 12.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003733/0.1293, allocations: 28 kB / 422.2 MB, free: 11.99 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001773/0.1311, allocations: 1.158 MB / 423.4 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003813/0.1315, allocations: 155.3 kB / 423.5 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.1316, allocations: 0 / 423.5 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001133/0.1317, allocations: 31.86 kB / 423.5 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003307/0.132, allocations: 32.06 kB / 423.6 MB, free: 10.65 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.1331, allocations: 0.6423 MB / 424.2 MB, free: 9.949 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.1334, allocations: 0.7082 MB / 424.9 MB, free: 9.215 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.596e-05/0.1335, allocations: 16.42 kB / 424.9 MB, free: 9.199 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.317e-05/0.1336, allocations: 39.42 kB / 425 MB, free: 9.16 MB / 362.7 MB Notification: Performance of SimCode: time 8.01e-07/0.1336, allocations: 0 / 425 MB, free: 9.16 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02963/0.1633, allocations: 2.998 MB / 428 MB, free: 6.176 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003395/0.1637, allocations: 254.2 kB / 428.2 MB, free: 5.836 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.34/2.504, allocations: 0 / 428.2 MB, free: 5.836 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat does not exist to compare? outputFormat=mat