Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test56,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test56",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.001376/0.001376, allocations: 103.9 kB / 15.98 MB, free: 5.898 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.001226/0.001226, allocations: 191.2 kB / 16.91 MB, free: 5.746 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.675/1.675, allocations: 205.1 MB / 222.8 MB, free: 12.44 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2266/0.2266, allocations: 43.51 MB / 313.6 MB, free: 0.7031 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.001413/0.001413, allocations: 66.58 kB / 382.3 MB, free: 56.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1208, allocations: 57.79 MB / 440.1 MB, free: 7.234 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.003179/0.124, allocations: 1.746 MB / 441.9 MB, free: 5.469 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001692/0.1258, allocations: 1.372 MB / 443.2 MB, free: 4.086 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.429e-05/0.1259, allocations: 0 / 443.2 MB, free: 4.086 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003101/0.1262, allocations: 39.84 kB / 443.3 MB, free: 4.047 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002059/0.1264, allocations: 55.81 kB / 443.3 MB, free: 3.992 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002096/0.1266, allocations: 71.86 kB / 443.4 MB, free: 3.922 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.1268, allocations: 95.69 kB / 443.5 MB, free: 3.828 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.604e-05/0.1269, allocations: 20.16 kB / 443.5 MB, free: 3.809 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.021e-05/0.127, allocations: 39.8 kB / 443.6 MB, free: 3.77 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000146/0.1271, allocations: 39.77 kB / 443.6 MB, free: 3.73 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.1271, allocations: 12 kB / 443.6 MB, free: 3.719 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.1272, allocations: 59.97 kB / 443.7 MB, free: 3.66 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.476e-05/0.1273, allocations: 15.92 kB / 443.7 MB, free: 3.645 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.547e-05/0.1273, allocations: 35.8 kB / 443.7 MB, free: 3.609 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001773/0.1275, allocations: 111.8 kB / 443.8 MB, free: 3.5 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1275, allocations: 3.938 kB / 443.8 MB, free: 3.496 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1275, allocations: 0 / 443.8 MB, free: 3.496 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.1276, allocations: 0 / 443.8 MB, free: 3.496 MB / 318.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.0005174/0.1281, allocations: 415 kB / 444.2 MB, free: 3.043 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.1281, allocations: 15.89 kB / 444.2 MB, free: 3.027 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.277e-05/0.1282, allocations: 34.75 kB / 444.3 MB, free: 2.984 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.107e-05/0.1282, allocations: 12.84 kB / 444.3 MB, free: 2.973 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002023/0.1284, allocations: 201.2 kB / 444.5 MB, free: 2.738 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.1284, allocations: 384 / 444.5 MB, free: 2.738 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.303e-05/0.1285, allocations: 11.94 kB / 444.5 MB, free: 2.727 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.1286, allocations: 63.39 kB / 444.6 MB, free: 2.652 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.1287, allocations: 7.938 kB / 444.6 MB, free: 2.645 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.1287, allocations: 7.984 kB / 444.6 MB, free: 2.637 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.1287, allocations: 0 / 444.6 MB, free: 2.637 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.013e-05/0.1288, allocations: 19.98 kB / 444.6 MB, free: 2.617 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003296/0.1291, allocations: 280.8 kB / 444.9 MB, free: 2.293 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001551/0.1293, allocations: 58.62 kB / 444.9 MB, free: 2.227 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.734e-05/0.1293, allocations: 28.78 kB / 445 MB, free: 2.195 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.1294, allocations: 4 kB / 445 MB, free: 2.191 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002044/0.1296, allocations: 63.39 kB / 445 MB, free: 2.117 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.1296, allocations: 0 / 445 MB, free: 2.117 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004866/0.1301, allocations: 173.6 kB / 445.2 MB, free: 1.941 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.1301, allocations: 77.11 kB / 445.3 MB, free: 1.848 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.1302, allocations: 164.8 kB / 445.4 MB, free: 1.68 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.1302, allocations: 25.7 kB / 445.5 MB, free: 1.648 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.203e-05/0.1303, allocations: 96.12 kB / 445.5 MB, free: 1.551 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.353e-05/0.1303, allocations: 31.58 kB / 445.6 MB, free: 1.52 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.287e-05/0.1304, allocations: 21.72 kB / 445.6 MB, free: 1.492 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.834e-05/0.1304, allocations: 326.8 kB / 445.9 MB, free: 1.164 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.947e-05/0.1305, allocations: 20.05 kB / 445.9 MB, free: 1.145 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.284e-05/0.1305, allocations: 50.5 kB / 446 MB, free: 1.086 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.037e-05/0.1306, allocations: 53.72 kB / 446 MB, free: 1.027 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1306, allocations: 4 kB / 446 MB, free: 1.023 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001467/0.1308, allocations: 101.4 kB / 446.1 MB, free: 0.918 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.1308, allocations: 4 kB / 446.1 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.1308, allocations: 0 / 446.1 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.1308, allocations: 4 kB / 446.2 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.91e-05/0.1309, allocations: 12 kB / 446.2 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.1309, allocations: 8.047 kB / 446.2 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.763e-05/0.131, allocations: 11.94 kB / 446.2 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.131, allocations: 0 / 446.2 MB, free: 0.8789 MB / 318.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 6.377e-05/0.1311, allocations: 125.7 kB / 446.3 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.977e-05/0.1311, allocations: 7.906 kB / 446.3 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.231e-05/0.1311, allocations: 16.7 kB / 446.3 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.1311, allocations: 0 / 446.3 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1312, allocations: 0 / 446.3 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.1312, allocations: 7.938 kB / 446.3 MB, free: 0.707 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003742/0.1315, allocations: 391.3 kB / 446.7 MB, free: 272 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1316, allocations: 0 / 446.7 MB, free: 272 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.987e-05/0.1316, allocations: 11.98 kB / 446.7 MB, free: 260 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.1316, allocations: 3.938 kB / 446.7 MB, free: 256 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.1316, allocations: 0 / 446.7 MB, free: 256 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.1316, allocations: 4 kB / 446.7 MB, free: 252 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.1316, allocations: 3.938 kB / 446.7 MB, free: 248 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001872/0.1318, allocations: 204.3 kB / 446.9 MB, free: 24 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.617e-05/0.1319, allocations: 81.02 kB / 447 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.447e-05/0.132, allocations: 19.86 kB / 447 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.058e-05/0.132, allocations: 0 / 447 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.02e-05/0.1321, allocations: 7.984 kB / 447.1 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.06e-05/0.1321, allocations: 7.984 kB / 447.1 MB, free: 15.89 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001045/0.1322, allocations: 115.3 kB / 447.2 MB, free: 15.78 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1322, allocations: 0 / 447.2 MB, free: 15.78 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000285/0.1325, allocations: 36.17 kB / 447.2 MB, free: 15.74 MB / 334.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.001653/0.1342, allocations: 1.146 MB / 448.4 MB, free: 14.66 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001908/0.1344, allocations: 55.98 kB / 448.4 MB, free: 14.6 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1344, allocations: 4 kB / 448.4 MB, free: 14.6 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.797e-05/0.1345, allocations: 27.92 kB / 448.4 MB, free: 14.57 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/0.1348, allocations: 33.94 kB / 448.5 MB, free: 14.54 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001852/0.1367, allocations: 1.567 MB / 450 MB, free: 12.88 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005387/0.1373, allocations: 0.7002 MB / 450.7 MB, free: 12.16 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.585e-05/0.1373, allocations: 21.33 kB / 450.8 MB, free: 12.14 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.829e-05/0.1374, allocations: 27.42 kB / 450.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1374, allocations: 0 / 450.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02328/0.1607, allocations: 3.373 MB / 454.2 MB, free: 8.73 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003189/0.1611, allocations: 247.2 kB / 454.4 MB, free: 8.465 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.798/1.959, allocations: 4 kB / 454.4 MB, free: 8.461 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test56_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test56.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches