Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50",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.001614/0.001614, allocations: 103 kB / 16.4 MB, free: 6.449 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.00185/0.00185, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.386/1.386, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.25/0.25, allocations: 43.52 MB / 314.1 MB, free: 448 kB / 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.001516/0.001516, allocations: 77.45 kB / 441.4 MB, free: 6.078 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1253, allocations: 57.79 MB / 499.2 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003479/0.1288, allocations: 1.708 MB / 0.4891 GB, free: 10.49 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002524/0.1313, allocations: 1.399 MB / 0.4905 GB, free: 9.078 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001241/0.1315, allocations: 7.938 kB / 0.4905 GB, free: 9.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000354/0.1319, allocations: 39.83 kB / 0.4905 GB, free: 9.031 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002844/0.1322, allocations: 75.55 kB / 0.4906 GB, free: 8.957 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003094/0.1325, allocations: 83.78 kB / 0.4907 GB, free: 8.875 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002083/0.1327, allocations: 107.7 kB / 0.4908 GB, free: 8.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.19e-05/0.1328, allocations: 12.22 kB / 0.4908 GB, free: 8.758 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.507e-05/0.1329, allocations: 43.78 kB / 0.4909 GB, free: 8.715 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001519/0.1331, allocations: 43.77 kB / 0.4909 GB, free: 8.672 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.32e-05/0.1331, allocations: 8 kB / 0.4909 GB, free: 8.664 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001474/0.1333, allocations: 63.91 kB / 0.491 GB, free: 8.602 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.126e-05/0.1333, allocations: 19.98 kB / 0.491 GB, free: 8.582 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.429e-05/0.1334, allocations: 39.73 kB / 0.491 GB, free: 8.543 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002882/0.1337, allocations: 123.7 kB / 0.4911 GB, free: 8.422 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1337, allocations: 0 / 0.4911 GB, free: 8.422 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1337, allocations: 0 / 0.4911 GB, free: 8.422 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.043e-05/0.1337, allocations: 4 kB / 0.4911 GB, free: 8.418 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005774/0.1343, allocations: 415 kB / 0.4915 GB, free: 7.965 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.6e-05/0.1344, allocations: 11.89 kB / 0.4915 GB, free: 7.953 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.359e-05/0.1344, allocations: 38.75 kB / 0.4916 GB, free: 7.906 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.911e-05/0.1345, allocations: 16.83 kB / 0.4916 GB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003661/0.1349, allocations: 212.4 kB / 0.4918 GB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.1349, allocations: 0 / 0.4918 GB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.815e-05/0.1349, allocations: 4 kB / 0.4918 GB, free: 7.641 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002001/0.1351, allocations: 79.31 kB / 0.4919 GB, free: 7.551 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.1352, allocations: 3.938 kB / 0.4919 GB, free: 7.547 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.1352, allocations: 4 kB / 0.4919 GB, free: 7.543 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/0.1352, allocations: 0 / 0.4919 GB, free: 7.543 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001004/0.1353, allocations: 27.98 kB / 0.4919 GB, free: 7.516 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004782/0.1358, allocations: 300.7 kB / 0.4922 GB, free: 7.172 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000216/0.136, allocations: 70.61 kB / 0.4923 GB, free: 7.094 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.685e-05/0.1361, allocations: 24.84 kB / 0.4923 GB, free: 7.066 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.021e-05/0.1361, allocations: 0 / 0.4923 GB, free: 7.066 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001847/0.1363, allocations: 75.39 kB / 0.4924 GB, free: 6.98 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.1363, allocations: 0 / 0.4924 GB, free: 6.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.000618/0.137, allocations: 193.4 kB / 0.4926 GB, free: 6.785 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.799e-05/0.137, allocations: 85.03 kB / 0.4926 GB, free: 6.684 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/0.1372, allocations: 154.4 kB / 0.4928 GB, free: 6.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.1372, allocations: 29.7 kB / 0.4928 GB, free: 6.484 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.893e-05/0.1373, allocations: 100.1 kB / 0.4929 GB, free: 6.383 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.075e-05/0.1374, allocations: 27.61 kB / 0.4929 GB, free: 6.355 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.962e-05/0.1374, allocations: 25.81 kB / 0.493 GB, free: 6.324 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.1376, allocations: 330.7 kB / 0.4933 GB, free: 5.992 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.426e-05/0.1377, allocations: 23.98 kB / 0.4933 GB, free: 5.969 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.212e-05/0.1378, allocations: 46.56 kB / 0.4933 GB, free: 5.914 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.1379, allocations: 69.73 kB / 0.4934 GB, free: 5.84 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.138, allocations: 0 / 0.4934 GB, free: 5.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002333/0.1382, allocations: 121.5 kB / 0.4935 GB, free: 5.715 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.1382, allocations: 4 kB / 0.4935 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.1382, allocations: 3.938 kB / 0.4935 GB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.1383, allocations: 0 / 0.4935 GB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.1384, allocations: 16 kB / 0.4935 GB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.1384, allocations: 0 / 0.4935 GB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.521e-05/0.1384, allocations: 7.984 kB / 0.4935 GB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.1385, allocations: 11.97 kB / 0.4936 GB, free: 5.672 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 (11): * Single equations (assignments): 11 * 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.0001363/0.1386, allocations: 125.7 kB / 0.4937 GB, free: 5.539 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.027e-05/0.1386, allocations: 15.89 kB / 0.4937 GB, free: 5.523 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.218e-05/0.1387, allocations: 20.64 kB / 0.4937 GB, free: 5.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.1387, allocations: 0 / 0.4937 GB, free: 5.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.1387, allocations: 0 / 0.4937 GB, free: 5.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.1387, allocations: 0 / 0.4937 GB, free: 5.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005353/0.1393, allocations: 423.2 kB / 0.4941 GB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1393, allocations: 0 / 0.4941 GB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.467e-05/0.1393, allocations: 15.92 kB / 0.4941 GB, free: 5.012 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.1393, allocations: 4 kB / 0.4941 GB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.1394, allocations: 4 kB / 0.4941 GB, free: 5.004 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.1394, allocations: 0 / 0.4941 GB, free: 5.004 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1394, allocations: 0 / 0.4941 GB, free: 5.004 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002997/0.1397, allocations: 224.2 kB / 0.4944 GB, free: 4.766 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.409e-05/0.1398, allocations: 85.02 kB / 0.4944 GB, free: 4.664 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.011e-05/0.1398, allocations: 4 kB / 0.4944 GB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.669e-05/0.1399, allocations: 4 kB / 0.4944 GB, free: 4.656 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.782e-05/0.1399, allocations: 7.984 kB / 0.4945 GB, free: 4.648 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.14, allocations: 4 kB / 0.4945 GB, free: 4.645 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001103/0.1401, allocations: 127.9 kB / 0.4946 GB, free: 4.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1401, allocations: 0 / 0.4946 GB, free: 4.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002952/0.1404, allocations: 31.98 kB / 0.4946 GB, free: 4.488 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 (9): * Single equations (assignments): 7 * 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.001723/0.1421, allocations: 1.135 MB / 0.4957 GB, free: 3.375 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002029/0.1423, allocations: 63.92 kB / 0.4958 GB, free: 3.312 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.1423, allocations: 4 kB / 0.4958 GB, free: 3.309 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9e-05/0.1424, allocations: 36.05 kB / 0.4958 GB, free: 3.273 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.1428, allocations: 35.72 kB / 0.4959 GB, free: 3.242 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001936/0.1447, allocations: 1.613 MB / 0.4974 GB, free: 1.535 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003698/0.1451, allocations: 0.7041 MB / 0.4981 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.16e-05/0.1452, allocations: 28.92 kB / 0.4981 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.884e-05/0.1453, allocations: 31.42 kB / 0.4982 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of SimCode: time 2.034e-06/0.1453, allocations: 4 kB / 0.4982 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02396/0.1693, allocations: 3.761 MB / 0.5018 GB, free: 12.91 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.901/8.07, allocations: 7.984 kB / 0.5019 GB, free: 12.9 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches