Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test38",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.011/0.011, allocations: 110.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.2.mo): time 0.001218/0.001218, allocations: 180.1 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.065/2.065, allocations: 194.6 MB / 211.3 MB, free: 10.89 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.2683/0.2683, allocations: 40.04 MB / 296.5 MB, free: 6.125 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006433/0.0006435, allocations: 15.98 kB / 361.1 MB, free: 9.516 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1153, allocations: 54.88 MB / 416 MB, free: 2.535 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.002306/0.1177, allocations: 1.321 MB / 417.3 MB, free: 1.191 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001581/0.1193, allocations: 0.7072 MB / 418.1 MB, free: 488 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.11e-05/0.1194, allocations: 0 / 418.1 MB, free: 488 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003063/0.1197, allocations: 51.86 kB / 418.1 MB, free: 436 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000215/0.12, allocations: 51.8 kB / 418.2 MB, free: 384 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001957/0.1202, allocations: 43.89 kB / 418.2 MB, free: 340 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001679/0.1204, allocations: 63.84 kB / 418.3 MB, free: 276 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.685e-05/0.1204, allocations: 11.98 kB / 418.3 MB, free: 264 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.1205, allocations: 43.83 kB / 418.3 MB, free: 220 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.1207, allocations: 27.92 kB / 418.3 MB, free: 192 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.1207, allocations: 4 kB / 418.3 MB, free: 188 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.588e-05/0.1208, allocations: 27.86 kB / 418.4 MB, free: 160 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.638e-05/0.1209, allocations: 15.97 kB / 418.4 MB, free: 144 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.24e-05/0.1209, allocations: 37.64 kB / 418.4 MB, free: 100 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001786/0.1211, allocations: 72.11 kB / 418.5 MB, free: 28 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.1212, allocations: 0 / 418.5 MB, free: 28 kB / 346.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1212, allocations: 4 kB / 418.5 MB, free: 24 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.1212, allocations: 0 / 418.5 MB, free: 24 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006129/0.1218, allocations: 442.3 kB / 418.9 MB, free: 15.53 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.1219, allocations: 12.02 kB / 418.9 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.294e-05/0.1219, allocations: 30.56 kB / 419 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.677e-05/0.122, allocations: 15.91 kB / 419 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000259/0.1222, allocations: 194.9 kB / 419.2 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.1223, allocations: 0 / 419.2 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.1223, allocations: 7.953 kB / 419.2 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.1225, allocations: 53.67 kB / 419.2 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.1225, allocations: 0 / 419.2 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.1225, allocations: 4 kB / 419.2 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.1225, allocations: 0 / 419.2 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.899e-05/0.1227, allocations: 15.98 kB / 419.3 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002333/0.1229, allocations: 189.6 kB / 419.4 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002354/0.1232, allocations: 54.56 kB / 419.5 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.1232, allocations: 0 / 419.5 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002281/0.1234, allocations: 71.42 kB / 419.6 MB, free: 14.77 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.713e-06/0.1234, allocations: 4 kB / 419.6 MB, free: 14.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003919/0.1239, allocations: 97.42 kB / 419.7 MB, free: 14.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.1239, allocations: 51.41 kB / 419.7 MB, free: 14.6 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002293/0.1241, allocations: 186.2 kB / 419.9 MB, free: 14.41 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/0.1242, allocations: 25.7 kB / 419.9 MB, free: 14.38 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.985e-05/0.1243, allocations: 96.14 kB / 420 MB, free: 14.28 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.486e-05/0.1243, allocations: 15.8 kB / 420 MB, free: 14.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.594e-06/0.1243, allocations: 3.938 kB / 420 MB, free: 14.26 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.1245, allocations: 322.8 kB / 420.4 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.965e-05/0.1246, allocations: 19.98 kB / 420.4 MB, free: 13.92 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.1247, allocations: 41.7 kB / 420.4 MB, free: 13.87 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.1249, allocations: 61.69 kB / 420.5 MB, free: 13.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.1249, allocations: 3.938 kB / 420.5 MB, free: 13.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003335/0.1252, allocations: 131.2 kB / 420.6 MB, free: 13.66 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.319e-05/0.1253, allocations: 41.66 kB / 420.6 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.1253, allocations: 0 / 420.6 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.1254, allocations: 0 / 420.6 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.1255, allocations: 19.92 kB / 420.7 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.1255, allocations: 0 / 420.7 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.376e-05/0.1256, allocations: 15.88 kB / 420.7 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.723e-05/0.1256, allocations: 4 kB / 420.7 MB, free: 13.57 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 (8): * Single equations (assignments): 7 * 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.0001283/0.1258, allocations: 121.8 kB / 420.8 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.577e-05/0.1258, allocations: 7.906 kB / 420.8 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.583e-05/0.1259, allocations: 16.27 kB / 420.8 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.1259, allocations: 4 kB / 420.8 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1259, allocations: 0 / 420.8 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.1259, allocations: 3.984 kB / 420.8 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001836/0.1261, allocations: 177.6 kB / 421 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.1261, allocations: 4.312 kB / 421 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.164e-05/0.1262, allocations: 7.984 kB / 421 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.1262, allocations: 4 kB / 421 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.1262, allocations: 4 kB / 421 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.1262, allocations: 3.953 kB / 421 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1262, allocations: 0 / 421 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000277/0.1265, allocations: 109 kB / 421.1 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.059e-05/0.1266, allocations: 89 kB / 421.2 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.236e-05/0.1267, allocations: 8 kB / 421.2 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.893e-05/0.1267, allocations: 7.938 kB / 421.2 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.342e-05/0.1268, allocations: 11.94 kB / 421.3 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/0.1268, allocations: 0 / 421.3 MB, free: 12.91 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001545/0.127, allocations: 136.1 kB / 421.4 MB, free: 12.78 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.127, allocations: 0 / 421.4 MB, free: 12.78 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003077/0.1273, allocations: 23.89 kB / 421.4 MB, free: 12.76 MB / 362.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001568/0.1289, allocations: 0.9313 MB / 422.3 MB, free: 11.88 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003541/0.1293, allocations: 139.4 kB / 422.5 MB, free: 11.73 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.1293, allocations: 0 / 422.5 MB, free: 11.73 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.494e-05/0.1294, allocations: 19.94 kB / 422.5 MB, free: 11.71 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002803/0.1297, allocations: 19.94 kB / 422.5 MB, free: 11.69 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008685/0.1306, allocations: 0.5733 MB / 423.1 MB, free: 11.06 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/0.1309, allocations: 0.7089 MB / 423.8 MB, free: 10.33 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.388e-05/0.131, allocations: 8.672 kB / 423.8 MB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.763e-05/0.1311, allocations: 27.42 kB / 423.8 MB, free: 10.29 MB / 362.7 MB Notification: Performance of SimCode: time 1.293e-06/0.1311, allocations: 3.938 kB / 423.8 MB, free: 10.29 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02811/0.1592, allocations: 2.556 MB / 426.4 MB, free: 7.746 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003918/0.1597, allocations: 246.2 kB / 426.6 MB, free: 7.414 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.272/2.432, allocations: 0 / 426.6 MB, free: 7.414 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat does not exist to compare? outputFormat=mat