Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test70",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.01554/0.01555, allocations: 108 kB / 15.06 MB, free: 5.953 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.002036/0.002036, allocations: 188.2 kB / 15.95 MB, free: 5.902 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 1.982/1.982, allocations: 194.5 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.2602/0.2602, allocations: 40.04 MB / 296.5 MB, free: 6.301 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004519/0.0004519, allocations: 12 kB / 361.1 MB, free: 9.547 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1157, allocations: 54.88 MB / 416 MB, free: 2.57 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.002481/0.1182, allocations: 1.427 MB / 417.5 MB, free: 1.121 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002102/0.1203, allocations: 0.937 MB / 418.4 MB, free: 180 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.38e-05/0.1205, allocations: 8 kB / 418.4 MB, free: 172 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006702/0.1211, allocations: 283.4 kB / 418.7 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004267/0.1216, allocations: 175.7 kB / 418.8 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000395/0.122, allocations: 103.6 kB / 418.9 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003169/0.1223, allocations: 159.7 kB / 419.1 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.733e-05/0.1224, allocations: 13.55 kB / 419.1 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002064/0.1226, allocations: 115.6 kB / 419.2 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002989/0.1229, allocations: 143.7 kB / 419.4 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.315e-05/0.123, allocations: 4 kB / 419.4 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001763/0.1232, allocations: 51.91 kB / 419.4 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001913/0.1234, allocations: 135.6 kB / 419.6 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001043/0.1235, allocations: 77.45 kB / 419.6 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005002/0.124, allocations: 303.8 kB / 419.9 MB, free: 14.63 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.748e-06/0.124, allocations: 4 kB / 419.9 MB, free: 14.62 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.124, allocations: 0 / 419.9 MB, free: 14.62 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.1241, allocations: 0 / 419.9 MB, free: 14.62 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001265/0.1253, allocations: 0.7692 MB / 420.7 MB, free: 13.78 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.1254, allocations: 8.031 kB / 420.7 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.358e-05/0.1255, allocations: 42.55 kB / 420.8 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.984e-05/0.1256, allocations: 47.34 kB / 420.8 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008/0.1264, allocations: 419.1 kB / 421.2 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.756e-05/0.1264, allocations: 8 kB / 421.2 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.802e-05/0.1265, allocations: 7.953 kB / 421.2 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002758/0.1267, allocations: 83.36 kB / 421.3 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.1268, allocations: 7.938 kB / 421.3 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.1268, allocations: 0 / 421.3 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.1268, allocations: 4 kB / 421.3 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000173/0.127, allocations: 35.91 kB / 421.4 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005681/0.1276, allocations: 394.3 kB / 421.7 MB, free: 12.63 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004176/0.128, allocations: 109.3 kB / 421.8 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.1281, allocations: 4 kB / 421.8 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003351/0.1284, allocations: 113 kB / 422 MB, free: 12.37 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.984e-06/0.1284, allocations: 0 / 422 MB, free: 12.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007847/0.1292, allocations: 197.1 kB / 422.1 MB, free: 12.17 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.57e-05/0.1293, allocations: 88.98 kB / 422.2 MB, free: 12.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001885/0.1312, allocations: 1.03 MB / 423.3 MB, free: 11.03 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.882e-05/0.1313, allocations: 33.7 kB / 423.3 MB, free: 10.99 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002614/0.1315, allocations: 236.4 kB / 423.5 MB, free: 10.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.425e-05/0.1316, allocations: 27.64 kB / 423.6 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.45e-05/0.1316, allocations: 4 kB / 423.6 MB, free: 10.72 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.1318, allocations: 366.8 kB / 423.9 MB, free: 10.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002041/0.132, allocations: 47.97 kB / 424 MB, free: 10.31 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002123/0.1323, allocations: 75.41 kB / 424 MB, free: 10.22 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002544/0.1325, allocations: 111.4 kB / 424.1 MB, free: 10.1 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.1325, allocations: 0 / 424.1 MB, free: 10.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007076/0.1333, allocations: 284.3 kB / 424.4 MB, free: 9.805 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.755e-05/0.1334, allocations: 82.16 kB / 424.5 MB, free: 9.715 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.1334, allocations: 0 / 424.5 MB, free: 9.715 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.1334, allocations: 4 kB / 424.5 MB, free: 9.711 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001959/0.1336, allocations: 23.92 kB / 424.5 MB, free: 9.688 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.1336, allocations: 0 / 424.5 MB, free: 9.688 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001931/0.1338, allocations: 23.84 kB / 424.6 MB, free: 9.664 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.792e-05/0.1339, allocations: 8 kB / 424.6 MB, free: 9.656 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 2 * 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.0003413/0.1342, allocations: 225.7 kB / 424.8 MB, free: 9.426 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.218e-05/0.1343, allocations: 51.34 kB / 424.8 MB, free: 9.375 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001186/0.1345, allocations: 68.58 kB / 424.9 MB, free: 9.309 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.1345, allocations: 0 / 424.9 MB, free: 9.309 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.1345, allocations: 0 / 424.9 MB, free: 9.309 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.1345, allocations: 0 / 424.9 MB, free: 9.309 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004227/0.1349, allocations: 333.5 kB / 425.2 MB, free: 8.934 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.135, allocations: 4 kB / 425.2 MB, free: 8.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.555e-05/0.135, allocations: 11.98 kB / 425.2 MB, free: 8.918 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.135, allocations: 0 / 425.2 MB, free: 8.918 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.1351, allocations: 8 kB / 425.3 MB, free: 8.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.1351, allocations: 7.953 kB / 425.3 MB, free: 8.902 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.1351, allocations: 0 / 425.3 MB, free: 8.902 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005243/0.1356, allocations: 214.9 kB / 425.5 MB, free: 8.664 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002364/0.1359, allocations: 152.4 kB / 425.6 MB, free: 8.496 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.658e-05/0.136, allocations: 7.953 kB / 425.6 MB, free: 8.488 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.1361, allocations: 8 kB / 425.6 MB, free: 8.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.919e-05/0.1362, allocations: 15.92 kB / 425.6 MB, free: 8.465 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.831e-05/0.1362, allocations: 7.984 kB / 425.7 MB, free: 8.457 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001278/0.1375, allocations: 0.7565 MB / 426.4 MB, free: 7.703 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.1376, allocations: 0 / 426.4 MB, free: 7.703 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004621/0.138, allocations: 60.08 kB / 426.5 MB, free: 7.645 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002508/0.1406, allocations: 1.315 MB / 427.8 MB, free: 6.371 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006702/0.1413, allocations: 266.6 kB / 428 MB, free: 6.086 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.1413, allocations: 0 / 428 MB, free: 6.086 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000178/0.1415, allocations: 39.92 kB / 428.1 MB, free: 6.047 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005013/0.142, allocations: 46.28 kB / 428.1 MB, free: 6.004 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002697/0.1447, allocations: 1.837 MB / 430 MB, free: 4.09 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005824/0.1453, allocations: 0.8507 MB / 430.8 MB, free: 3.211 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002404/0.1456, allocations: 62.7 kB / 430.9 MB, free: 3.148 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002773/0.1459, allocations: 135.4 kB / 431 MB, free: 3.016 MB / 362.7 MB Notification: Performance of SimCode: time 7.91e-07/0.1459, allocations: 0 / 431 MB, free: 3.016 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04015/0.186, allocations: 8.016 MB / 439 MB, free: 11 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003837/0.1865, allocations: 250.3 kB / 439.3 MB, free: 10.67 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.608/2.795, allocations: 3.938 kB / 439.3 MB, free: 10.66 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat does not exist to compare? outputFormat=mat