Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000918/0.000918, allocations: 96.94 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 183.8 kB / 16.92 MB, free: 6.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.351/1.351, allocations: 205.4 MB / 223.1 MB, free: 5.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.315/0.315, allocations: 43.57 MB / 315 MB, free: 9.035 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00056/0.0005604, allocations: 20 kB / 384.7 MB, free: 7.773 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1255, allocations: 58.87 MB / 443.6 MB, free: 12.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.002313/0.1279, allocations: 1.418 MB / 445 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001477/0.1294, allocations: 0.7729 MB / 445.7 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.1295, allocations: 0 / 445.7 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003287/0.1299, allocations: 39.83 kB / 445.8 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002169/0.1301, allocations: 43.83 kB / 445.8 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002768/0.1304, allocations: 75.84 kB / 445.9 MB, free: 10.44 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001742/0.1306, allocations: 87.7 kB / 446 MB, free: 10.35 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.1307, allocations: 20.2 kB / 446 MB, free: 10.33 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001133/0.1308, allocations: 39.78 kB / 446 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.594e-05/0.1309, allocations: 23.86 kB / 446.1 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.1309, allocations: 4 kB / 446.1 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001155/0.1311, allocations: 39.98 kB / 446.1 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.479e-05/0.1311, allocations: 23.84 kB / 446.1 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.289e-05/0.1312, allocations: 53.45 kB / 446.2 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000205/0.1314, allocations: 108 kB / 446.3 MB, free: 10.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1314, allocations: 0 / 446.3 MB, free: 10.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1314, allocations: 0 / 446.3 MB, free: 10.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.1314, allocations: 0 / 446.3 MB, free: 10.04 MB / 382.1 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.0005506/0.132, allocations: 403 kB / 446.7 MB, free: 9.598 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.132, allocations: 8.031 kB / 446.7 MB, free: 9.59 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.177e-05/0.1321, allocations: 34.75 kB / 446.7 MB, free: 9.547 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.451e-05/0.1321, allocations: 8.844 kB / 446.7 MB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002336/0.1324, allocations: 208 kB / 446.9 MB, free: 9.297 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.1324, allocations: 384 / 446.9 MB, free: 9.297 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.391e-05/0.1324, allocations: 7.938 kB / 446.9 MB, free: 9.289 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.1326, allocations: 53.67 kB / 447 MB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.1326, allocations: 4 kB / 447 MB, free: 9.227 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.1326, allocations: 0 / 447 MB, free: 9.227 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1326, allocations: 0 / 447 MB, free: 9.227 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.449e-05/0.1327, allocations: 23.98 kB / 447 MB, free: 9.203 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003901/0.1331, allocations: 288.8 kB / 447.3 MB, free: 8.871 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001853/0.1333, allocations: 58.66 kB / 447.4 MB, free: 8.805 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.471e-05/0.1334, allocations: 20.86 kB / 447.4 MB, free: 8.781 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.85e-05/0.1334, allocations: 3.984 kB / 447.4 MB, free: 8.777 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001917/0.1336, allocations: 67.39 kB / 447.5 MB, free: 8.699 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.1336, allocations: 0 / 447.5 MB, free: 8.699 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005803/0.1342, allocations: 169.2 kB / 447.6 MB, free: 8.527 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.466e-05/0.1343, allocations: 59.39 kB / 447.7 MB, free: 8.457 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00018/0.1345, allocations: 174.2 kB / 447.8 MB, free: 8.273 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.1345, allocations: 29.64 kB / 447.9 MB, free: 8.238 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.42e-05/0.1346, allocations: 96.14 kB / 448 MB, free: 8.141 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.552e-05/0.1346, allocations: 31.58 kB / 448 MB, free: 8.109 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.164e-05/0.1346, allocations: 21.66 kB / 448 MB, free: 8.082 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.1348, allocations: 318.8 kB / 448.3 MB, free: 7.762 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.762e-05/0.1348, allocations: 19.98 kB / 448.4 MB, free: 7.742 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.556e-05/0.1349, allocations: 41.7 kB / 448.4 MB, free: 7.695 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001133/0.135, allocations: 61.69 kB / 448.5 MB, free: 7.629 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.1351, allocations: 0 / 448.5 MB, free: 7.629 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001843/0.1352, allocations: 93.53 kB / 448.5 MB, free: 7.531 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.1353, allocations: 8 kB / 448.6 MB, free: 7.523 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.1353, allocations: 0 / 448.6 MB, free: 7.523 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.1353, allocations: 0 / 448.6 MB, free: 7.523 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.88e-05/0.1354, allocations: 27.95 kB / 448.6 MB, free: 7.496 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.1354, allocations: 4.375 kB / 448.6 MB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.68e-05/0.1355, allocations: 3.938 kB / 448.6 MB, free: 7.488 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.1355, allocations: 4.156 kB / 448.6 MB, free: 7.484 MB / 382.1 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001133/0.1356, allocations: 125.8 kB / 448.7 MB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.108e-05/0.1356, allocations: 15.81 kB / 448.7 MB, free: 7.336 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.018e-05/0.1357, allocations: 16.7 kB / 448.7 MB, free: 7.324 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.1357, allocations: 4 kB / 448.7 MB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.1357, allocations: 0 / 448.7 MB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.1357, allocations: 7.938 kB / 448.8 MB, free: 7.312 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004366/0.1362, allocations: 383.3 kB / 449.1 MB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.1362, allocations: 3.984 kB / 449.1 MB, free: 6.875 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.175e-05/0.1362, allocations: 8 kB / 449.1 MB, free: 6.867 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.1362, allocations: 3.938 kB / 449.1 MB, free: 6.863 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.1362, allocations: 8 kB / 449.2 MB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.1362, allocations: 0 / 449.2 MB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1362, allocations: 0 / 449.2 MB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002256/0.1365, allocations: 200.3 kB / 449.4 MB, free: 6.641 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.191e-05/0.1366, allocations: 96.91 kB / 449.4 MB, free: 6.527 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.628e-05/0.1366, allocations: 7.938 kB / 449.5 MB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.002e-05/0.1367, allocations: 0 / 449.5 MB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.982e-05/0.1367, allocations: 11.98 kB / 449.5 MB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/0.1367, allocations: 4 kB / 449.5 MB, free: 6.504 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000109/0.1368, allocations: 135.9 kB / 449.6 MB, free: 6.371 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1368, allocations: 0 / 449.6 MB, free: 6.371 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002583/0.1371, allocations: 24.17 kB / 449.6 MB, free: 6.348 MB / 382.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001542/0.1387, allocations: 1.113 MB / 450.7 MB, free: 5.242 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001792/0.1389, allocations: 55.91 kB / 450.8 MB, free: 5.188 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1389, allocations: 0 / 450.8 MB, free: 5.188 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.734e-05/0.1389, allocations: 32.12 kB / 450.8 MB, free: 5.156 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003349/0.1393, allocations: 23.97 kB / 450.8 MB, free: 5.133 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001757/0.1411, allocations: 1.633 MB / 452.5 MB, free: 3.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.1414, allocations: 0.7041 MB / 453.2 MB, free: 2.68 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.475e-05/0.1414, allocations: 12.89 kB / 453.2 MB, free: 2.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.035e-05/0.1415, allocations: 31.42 kB / 453.2 MB, free: 2.629 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1415, allocations: 0 / 453.2 MB, free: 2.629 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2146/0.3561, allocations: 2.865 MB / 456.1 MB, free: 45.15 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002357/0.3564, allocations: 234.6 kB / 456.3 MB, free: 44.9 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.848/2.205, allocations: 2.344 kB / 456.3 MB, free: 44.9 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test16_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test16.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches