Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test12",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.01555/0.01555, allocations: 107.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.001877/0.001876, allocations: 181.3 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.016/2.016, allocations: 194.6 MB / 211.3 MB, free: 11.03 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.2736/0.2736, allocations: 40.03 MB / 296.5 MB, free: 6.242 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004765/0.0004766, allocations: 16 kB / 361.1 MB, free: 9.527 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1165, allocations: 54.89 MB / 416 MB, free: 2.539 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.002871/0.1194, allocations: 1.51 MB / 417.5 MB, free: 1.008 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001769/0.1212, allocations: 0.7501 MB / 418.3 MB, free: 256 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000121/0.1214, allocations: 3.938 kB / 418.3 MB, free: 252 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002769/0.1217, allocations: 19.91 kB / 418.3 MB, free: 232 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002075/0.1219, allocations: 35.89 kB / 418.4 MB, free: 196 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002569/0.1222, allocations: 63.81 kB / 418.4 MB, free: 132 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002104/0.1224, allocations: 79.83 kB / 418.5 MB, free: 52 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.1226, allocations: 29.42 kB / 418.5 MB, free: 20 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001753/0.1227, allocations: 51.83 kB / 418.6 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000101/0.1229, allocations: 35.78 kB / 418.6 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.422e-05/0.1229, allocations: 7.984 kB / 418.6 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001161/0.123, allocations: 27.83 kB / 418.6 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.188e-05/0.1231, allocations: 23.91 kB / 418.7 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.694e-05/0.1232, allocations: 41.64 kB / 418.7 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002238/0.1234, allocations: 100.1 kB / 418.8 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.1234, allocations: 0 / 418.8 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1234, allocations: 0 / 418.8 MB, free: 15.73 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.1234, allocations: 0 / 418.8 MB, free: 15.73 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007651/0.1242, allocations: 0.496 MB / 419.3 MB, free: 15.17 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.1243, allocations: 8.031 kB / 419.3 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.721e-05/0.1243, allocations: 34.56 kB / 419.3 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.051e-05/0.1244, allocations: 15.91 kB / 419.4 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003276/0.1247, allocations: 207.5 kB / 419.6 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.579e-05/0.1248, allocations: 8 kB / 419.6 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.025e-05/0.1248, allocations: 15.94 kB / 419.6 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003082/0.1252, allocations: 77.66 kB / 419.7 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.1252, allocations: 0 / 419.7 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.1252, allocations: 0 / 419.7 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.1252, allocations: 4 kB / 419.7 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000241/0.1255, allocations: 55.97 kB / 419.7 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006687/0.1262, allocations: 356.6 kB / 420.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004925/0.1267, allocations: 86.67 kB / 420.2 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.716e-05/0.1267, allocations: 3.938 kB / 420.2 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003137/0.127, allocations: 87.28 kB / 420.2 MB, free: 14.1 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 2.715e-06/0.1271, allocations: 0 / 420.2 MB, free: 14.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006247/0.1277, allocations: 149.5 kB / 420.4 MB, free: 13.95 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/0.1278, allocations: 55.77 kB / 420.4 MB, free: 13.88 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002292/0.128, allocations: 171.3 kB / 420.6 MB, free: 13.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.72e-05/0.128, allocations: 29.7 kB / 420.6 MB, free: 13.67 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.865e-05/0.1281, allocations: 108 kB / 420.7 MB, free: 13.56 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.302e-05/0.1282, allocations: 35.48 kB / 420.8 MB, free: 13.53 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.036e-05/0.1282, allocations: 4 kB / 420.8 MB, free: 13.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.1284, allocations: 326.8 kB / 421.1 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001755/0.1286, allocations: 39.92 kB / 421.1 MB, free: 13.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001961/0.1288, allocations: 62.48 kB / 421.2 MB, free: 13.09 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002181/0.129, allocations: 77.69 kB / 421.3 MB, free: 13 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.129, allocations: 0 / 421.3 MB, free: 13 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005244/0.1296, allocations: 175.2 kB / 421.4 MB, free: 12.82 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.87e-05/0.1296, allocations: 37.69 kB / 421.5 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.1296, allocations: 0 / 421.5 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.1297, allocations: 4 kB / 421.5 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/0.1299, allocations: 24.05 kB / 421.5 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.928e-06/0.1299, allocations: 0 / 421.5 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000127/0.13, allocations: 27.78 kB / 421.5 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.199e-05/0.1301, allocations: 8 kB / 421.5 MB, free: 12.71 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 12 * 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.0001497/0.1302, allocations: 129.8 kB / 421.7 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.341e-05/0.1303, allocations: 11.81 kB / 421.7 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.128e-05/0.1303, allocations: 13.41 kB / 421.7 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.1303, allocations: 4 kB / 421.7 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.1304, allocations: 0 / 421.7 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.1304, allocations: 7.984 kB / 421.7 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002612/0.1306, allocations: 205.7 kB / 421.9 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1307, allocations: 0 / 421.9 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001365/0.1308, allocations: 15.98 kB / 421.9 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.1308, allocations: 3.984 kB / 421.9 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.1308, allocations: 0 / 421.9 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.1309, allocations: 4 kB / 421.9 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.1309, allocations: 0 / 421.9 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006322/0.1315, allocations: 192.7 kB / 422.1 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001104/0.1316, allocations: 93.03 kB / 422.2 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.105e-05/0.1317, allocations: 11.98 kB / 422.2 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.1318, allocations: 4.188 kB / 422.2 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.164e-05/0.1319, allocations: 12.05 kB / 422.2 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.396e-05/0.1319, allocations: 7.938 kB / 422.2 MB, free: 11.92 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001698/0.1321, allocations: 128.9 kB / 422.4 MB, free: 11.8 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1321, allocations: 0 / 422.4 MB, free: 11.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003278/0.1325, allocations: 36.11 kB / 422.4 MB, free: 11.76 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.001986/0.1344, allocations: 1.021 MB / 423.4 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005342/0.135, allocations: 167.3 kB / 423.6 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.135, allocations: 0 / 423.6 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001734/0.1352, allocations: 39.92 kB / 423.6 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004799/0.1357, allocations: 24.48 kB / 423.7 MB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.137, allocations: 0.8121 MB / 424.5 MB, free: 9.684 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003394/0.1373, allocations: 0.7199 MB / 425.2 MB, free: 8.938 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001136/0.1375, allocations: 16.53 kB / 425.2 MB, free: 8.918 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.994e-05/0.1376, allocations: 35.42 kB / 425.2 MB, free: 8.883 MB / 362.7 MB Notification: Performance of SimCode: time 1.072e-06/0.1376, allocations: 0 / 425.2 MB, free: 8.883 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02782/0.1654, allocations: 3.047 MB / 428.3 MB, free: 5.848 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00035/0.1658, allocations: 243 kB / 428.5 MB, free: 5.52 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.471/2.637, allocations: 0 / 428.5 MB, free: 5.52 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat does not exist to compare? outputFormat=mat