Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11",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.001828/0.001827, allocations: 103.9 kB / 16.4 MB, free: 6.504 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.001866/0.001866, allocations: 192.2 kB / 17.34 MB, free: 5.742 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.415/1.415, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2189/0.2189, allocations: 43.52 MB / 314.1 MB, free: 456 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.001582/0.001582, allocations: 77.47 kB / 441.4 MB, free: 6.09 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1318, allocations: 57.79 MB / 499.2 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.004115/0.136, allocations: 1.916 MB / 0.4893 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0016/0.1376, allocations: 0.8351 MB / 0.4901 GB, free: 9.453 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001528/0.1378, allocations: 3.938 kB / 0.4901 GB, free: 9.449 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003854/0.1382, allocations: 47.7 kB / 0.4902 GB, free: 9.402 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002637/0.1385, allocations: 59.7 kB / 0.4902 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003648/0.1389, allocations: 119.6 kB / 0.4904 GB, free: 9.227 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002634/0.1391, allocations: 131.6 kB / 0.4905 GB, free: 9.098 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.1393, allocations: 25.48 kB / 0.4905 GB, free: 9.066 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001197/0.1394, allocations: 59.7 kB / 0.4906 GB, free: 9.008 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.1395, allocations: 51.72 kB / 0.4906 GB, free: 8.957 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.701e-05/0.1396, allocations: 8 kB / 0.4906 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001433/0.1397, allocations: 47.98 kB / 0.4907 GB, free: 8.902 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.82e-05/0.1398, allocations: 27.84 kB / 0.4907 GB, free: 8.875 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.396e-05/0.1399, allocations: 55.55 kB / 0.4908 GB, free: 8.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003/0.1402, allocations: 139.6 kB / 0.4909 GB, free: 8.684 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1402, allocations: 0 / 0.4909 GB, free: 8.684 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1402, allocations: 0 / 0.4909 GB, free: 8.684 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.7e-06/0.1402, allocations: 0 / 0.4909 GB, free: 8.684 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008079/0.141, allocations: 492.4 kB / 0.4914 GB, free: 8.148 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/0.1411, allocations: 15.89 kB / 0.4914 GB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.784e-05/0.1411, allocations: 42.67 kB / 0.4914 GB, free: 8.082 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.254e-05/0.1412, allocations: 16.75 kB / 0.4914 GB, free: 8.066 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000368/0.1416, allocations: 220.1 kB / 0.4916 GB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.1416, allocations: 4.375 kB / 0.4916 GB, free: 7.809 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.788e-05/0.1416, allocations: 11.94 kB / 0.4917 GB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002673/0.1419, allocations: 119.9 kB / 0.4918 GB, free: 7.668 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.1419, allocations: 0 / 0.4918 GB, free: 7.668 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.142, allocations: 4 kB / 0.4918 GB, free: 7.664 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.142, allocations: 4 kB / 0.4918 GB, free: 7.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001592/0.1421, allocations: 39.97 kB / 0.4918 GB, free: 7.621 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006294/0.1428, allocations: 0.5125 MB / 0.4923 GB, free: 7.051 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003309/0.1431, allocations: 86.59 kB / 0.4924 GB, free: 6.957 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.662e-05/0.1432, allocations: 36.84 kB / 0.4924 GB, free: 6.918 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.766e-05/0.1433, allocations: 4 kB / 0.4924 GB, free: 6.914 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002128/0.1435, allocations: 83.38 kB / 0.4925 GB, free: 6.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.903e-06/0.1435, allocations: 0 / 0.4925 GB, free: 6.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004418/0.1439, allocations: 145.4 kB / 0.4927 GB, free: 6.672 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.001e-05/0.144, allocations: 55.41 kB / 0.4927 GB, free: 6.605 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000217/0.1442, allocations: 191.4 kB / 0.4929 GB, free: 6.406 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.1443, allocations: 29.7 kB / 0.4929 GB, free: 6.371 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.1444, allocations: 112.3 kB / 0.493 GB, free: 6.258 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.471e-05/0.1444, allocations: 35.64 kB / 0.4931 GB, free: 6.223 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.828e-05/0.1445, allocations: 29.66 kB / 0.4931 GB, free: 6.188 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.1447, allocations: 322.8 kB / 0.4934 GB, free: 5.863 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.833e-05/0.1448, allocations: 35.91 kB / 0.4934 GB, free: 5.828 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000122/0.1449, allocations: 60.28 kB / 0.4935 GB, free: 5.754 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002088/0.1451, allocations: 96.2 kB / 0.4936 GB, free: 5.645 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.1451, allocations: 0 / 0.4936 GB, free: 5.645 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003292/0.1455, allocations: 137.3 kB / 0.4937 GB, free: 5.504 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.923e-05/0.1455, allocations: 8 kB / 0.4937 GB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.1455, allocations: 3.938 kB / 0.4937 GB, free: 5.492 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.1456, allocations: 7.938 kB / 0.4937 GB, free: 5.484 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.1457, allocations: 31.92 kB / 0.4938 GB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.1457, allocations: 4 kB / 0.4938 GB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.98e-05/0.1458, allocations: 8.031 kB / 0.4938 GB, free: 5.441 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.1458, allocations: 8 kB / 0.4938 GB, free: 5.434 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.000167/0.146, allocations: 137.7 kB / 0.4939 GB, free: 5.289 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.403e-05/0.146, allocations: 15.81 kB / 0.4939 GB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.244e-05/0.1461, allocations: 17.41 kB / 0.4939 GB, free: 5.25 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.1461, allocations: 11.86 kB / 0.494 GB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.1461, allocations: 0 / 0.494 GB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.1461, allocations: 0 / 0.494 GB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002195/0.1463, allocations: 205.6 kB / 0.4941 GB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.1464, allocations: 0 / 0.4941 GB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.796e-05/0.1464, allocations: 20 kB / 0.4942 GB, free: 4.969 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.1465, allocations: 0 / 0.4942 GB, free: 4.969 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.1465, allocations: 3.984 kB / 0.4942 GB, free: 4.965 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/0.1465, allocations: 7.938 kB / 0.4942 GB, free: 4.957 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1465, allocations: 0 / 0.4942 GB, free: 4.957 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004098/0.1469, allocations: 180.9 kB / 0.4943 GB, free: 4.762 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.441e-05/0.147, allocations: 89.11 kB / 0.4944 GB, free: 4.656 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.607e-05/0.147, allocations: 0 / 0.4944 GB, free: 4.656 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.823e-05/0.1471, allocations: 15.92 kB / 0.4944 GB, free: 4.641 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.035e-05/0.1472, allocations: 7.984 kB / 0.4945 GB, free: 4.633 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/0.1472, allocations: 4 kB / 0.4945 GB, free: 4.629 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001343/0.1473, allocations: 137.2 kB / 0.4946 GB, free: 4.496 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1473, allocations: 0 / 0.4946 GB, free: 4.496 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002634/0.1476, allocations: 32.03 kB / 0.4946 GB, free: 4.465 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (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.001773/0.1494, allocations: 1.016 MB / 0.4956 GB, free: 3.465 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003032/0.1497, allocations: 83.89 kB / 0.4957 GB, free: 3.383 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.1497, allocations: 256 / 0.4957 GB, free: 3.383 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001033/0.1498, allocations: 39.92 kB / 0.4957 GB, free: 3.344 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/0.1502, allocations: 46.38 kB / 0.4958 GB, free: 3.305 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002126/0.1523, allocations: 1.733 MB / 0.4975 GB, free: 1.461 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/0.1526, allocations: 0.7084 MB / 0.4982 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.962e-05/0.1527, allocations: 21.42 kB / 0.4982 GB, free: 0.707 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.489e-05/0.1528, allocations: 43.42 kB / 0.4982 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1528, allocations: 0 / 0.4982 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02534/0.1782, allocations: 3.809 MB / 0.5019 GB, free: 12.84 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.351/7.529, allocations: 12.05 kB / 0.502 GB, free: 12.82 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches