Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test38,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test38",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.001112/0.001112, allocations: 104.5 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 192 kB / 18.56 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 222.9 MB / 242.3 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2199/0.2199, allocations: 44.18 MB / 336.6 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 69.17 kB / 408.5 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1182, allocations: 60.83 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.00317/0.1214, allocations: 1.657 MB / 471 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001405/0.1229, allocations: 0.8458 MB / 471.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.006e-05/0.123, allocations: 0 / 471.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002977/0.1233, allocations: 67.72 kB / 471.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000239/0.1235, allocations: 63.75 kB / 472 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002937/0.1238, allocations: 115.5 kB / 472.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001687/0.124, allocations: 91.7 kB / 472.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.89e-05/0.1241, allocations: 11.98 kB / 472.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.911e-05/0.1242, allocations: 47.83 kB / 472.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.634e-05/0.1243, allocations: 43.78 kB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.857e-05/0.1243, allocations: 4 kB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.304e-05/0.1244, allocations: 35.97 kB / 472.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.03e-05/0.1245, allocations: 15.98 kB / 472.4 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.224e-05/0.1245, allocations: 31.75 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001755/0.1247, allocations: 107.9 kB / 472.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.1247, allocations: 0 / 472.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1247, allocations: 0 / 472.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.1247, allocations: 4 kB / 472.5 MB, free: 11.1 MB / 350.1 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.000532/0.1253, allocations: 399 kB / 472.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.1253, allocations: 8.031 kB / 472.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.988e-05/0.1254, allocations: 34.75 kB / 472.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.896e-05/0.1254, allocations: 8.844 kB / 472.9 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001968/0.1256, allocations: 204.1 kB / 473.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.1256, allocations: 384 / 473.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.478e-05/0.1257, allocations: 7.938 kB / 473.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.1258, allocations: 57.61 kB / 473.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.1258, allocations: 0 / 473.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.1258, allocations: 0 / 473.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.1258, allocations: 4 kB / 473.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.581e-05/0.1259, allocations: 15.98 kB / 473.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001759/0.1261, allocations: 177.6 kB / 473.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001538/0.1263, allocations: 54.56 kB / 473.5 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.323e-05/0.1263, allocations: 24.84 kB / 473.5 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/0.1264, allocations: 11.86 kB / 473.5 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001808/0.1265, allocations: 63.39 kB / 473.6 MB, free: 9.875 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.292e-06/0.1265, allocations: 0 / 473.6 MB, free: 9.875 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002568/0.1268, allocations: 93.58 kB / 473.6 MB, free: 9.777 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.1269, allocations: 51.41 kB / 473.7 MB, free: 9.715 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.127, allocations: 190.1 kB / 473.9 MB, free: 9.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.1271, allocations: 29.7 kB / 473.9 MB, free: 9.484 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.547e-05/0.1271, allocations: 104.1 kB / 474 MB, free: 9.379 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.997e-05/0.1271, allocations: 11.8 kB / 474 MB, free: 9.367 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.602e-05/0.1272, allocations: 21.72 kB / 474 MB, free: 9.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.1273, allocations: 318.8 kB / 474.4 MB, free: 9.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.195e-05/0.1274, allocations: 15.98 kB / 474.4 MB, free: 9.004 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.497e-05/0.1274, allocations: 33.72 kB / 474.4 MB, free: 8.965 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001052/0.1275, allocations: 41.7 kB / 474.4 MB, free: 8.918 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.1275, allocations: 7.875 kB / 474.5 MB, free: 8.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001492/0.1277, allocations: 81.78 kB / 474.5 MB, free: 8.824 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.1277, allocations: 4 kB / 474.5 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.1277, allocations: 64 / 474.5 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.1277, allocations: 4 kB / 474.5 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.557e-05/0.1278, allocations: 20.02 kB / 474.6 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.1278, allocations: 0 / 474.6 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.662e-05/0.1279, allocations: 4 kB / 474.6 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/0.1279, allocations: 0 / 474.6 MB, free: 8.793 MB / 350.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 (7): * Single equations (assignments): 7 * 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 8.964e-05/0.128, allocations: 136.5 kB / 474.7 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.17e-05/0.128, allocations: 11.81 kB / 474.7 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.579e-05/0.1281, allocations: 12.3 kB / 474.7 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.1281, allocations: 4 kB / 474.7 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.1281, allocations: 3.984 kB / 474.7 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.1281, allocations: 4 kB / 474.7 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001295/0.1282, allocations: 189.5 kB / 474.9 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1282, allocations: 0 / 474.9 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.046e-05/0.1283, allocations: 4 kB / 474.9 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1283, allocations: 0 / 474.9 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.1283, allocations: 0 / 474.9 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1283, allocations: 0 / 474.9 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.1283, allocations: 0 / 474.9 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001762/0.1285, allocations: 120.8 kB / 475 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.256e-05/0.1285, allocations: 85.02 kB / 475.1 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.229e-05/0.1286, allocations: 3.984 kB / 475.1 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.533e-05/0.1286, allocations: 4 kB / 475.1 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.336e-05/0.1286, allocations: 4 kB / 475.1 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.325e-05/0.1287, allocations: 4 kB / 475.1 MB, free: 8.121 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001011/0.1288, allocations: 139.2 kB / 475.3 MB, free: 7.984 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1288, allocations: 0 / 475.3 MB, free: 7.984 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002086/0.129, allocations: 16 kB / 475.3 MB, free: 7.969 MB / 350.1 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 (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.001212/0.1302, allocations: 0.9494 MB / 476.2 MB, free: 7.148 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001616/0.1304, allocations: 43.91 kB / 476.3 MB, free: 7.105 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1304, allocations: 0 / 476.3 MB, free: 7.105 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.786e-05/0.1304, allocations: 20 kB / 476.3 MB, free: 7.086 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00027/0.1307, allocations: 35.72 kB / 476.3 MB, free: 7.055 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001572/0.1323, allocations: 1.481 MB / 477.8 MB, free: 5.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002529/0.1326, allocations: 0.7041 MB / 478.5 MB, free: 4.75 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.433e-05/0.1326, allocations: 8.547 kB / 478.5 MB, free: 4.742 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.647e-05/0.1327, allocations: 31.42 kB / 478.6 MB, free: 4.711 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1327, allocations: 0 / 478.6 MB, free: 4.711 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01973/0.1524, allocations: 2.979 MB / 481.5 MB, free: 1.816 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.458/7.611, allocations: 9.516 kB / 481.5 MB, free: 1.809 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test38_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test38.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches