Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test57,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test57",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.001383/0.001383, allocations: 110 kB / 16.41 MB, free: 6.488 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.001235/0.001235, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.5/1.5, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2221/0.2221, allocations: 43.53 MB / 314.1 MB, free: 464 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.001971/0.001971, allocations: 64.47 kB / 441.4 MB, free: 6.109 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1229, allocations: 57.8 MB / 499.2 MB, free: 12.24 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.003004/0.126, allocations: 1.689 MB / 0.4891 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002046/0.128, allocations: 1.406 MB / 0.4905 GB, free: 9.117 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.386e-05/0.1281, allocations: 4 kB / 0.4905 GB, free: 9.113 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000312/0.1284, allocations: 51.64 kB / 0.4906 GB, free: 9.062 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002249/0.1287, allocations: 63.75 kB / 0.4906 GB, free: 9 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002599/0.129, allocations: 87.7 kB / 0.4907 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001737/0.1291, allocations: 95.73 kB / 0.4908 GB, free: 8.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.564e-05/0.1292, allocations: 16.2 kB / 0.4908 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.263e-05/0.1293, allocations: 39.8 kB / 0.4908 GB, free: 8.766 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000151/0.1295, allocations: 39.83 kB / 0.4909 GB, free: 8.727 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.242e-05/0.1295, allocations: 7.938 kB / 0.4909 GB, free: 8.719 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001305/0.1297, allocations: 63.97 kB / 0.4909 GB, free: 8.656 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.184e-05/0.1297, allocations: 11.98 kB / 0.491 GB, free: 8.645 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.239e-05/0.1298, allocations: 39.73 kB / 0.491 GB, free: 8.605 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000238/0.13, allocations: 119.5 kB / 0.4911 GB, free: 8.488 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.13, allocations: 0 / 0.4911 GB, free: 8.488 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.13, allocations: 0 / 0.4911 GB, free: 8.488 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1301, allocations: 0 / 0.4911 GB, free: 8.488 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.0006338/0.1307, allocations: 410.3 kB / 0.4915 GB, free: 8.043 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.1307, allocations: 15.89 kB / 0.4915 GB, free: 8.027 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.51e-05/0.1308, allocations: 34.75 kB / 0.4915 GB, free: 7.984 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.946e-05/0.1308, allocations: 12.83 kB / 0.4916 GB, free: 7.973 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003116/0.1312, allocations: 208.2 kB / 0.4918 GB, free: 7.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.1312, allocations: 4.375 kB / 0.4918 GB, free: 7.727 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.608e-05/0.1312, allocations: 7.922 kB / 0.4918 GB, free: 7.719 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001824/0.1314, allocations: 67.39 kB / 0.4918 GB, free: 7.641 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.1314, allocations: 0 / 0.4918 GB, free: 7.641 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.1314, allocations: 4 kB / 0.4918 GB, free: 7.637 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.1315, allocations: 4 kB / 0.4918 GB, free: 7.633 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.672e-05/0.1315, allocations: 19.98 kB / 0.4919 GB, free: 7.613 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004124/0.132, allocations: 288.7 kB / 0.4921 GB, free: 7.281 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000177/0.1321, allocations: 54.69 kB / 0.4922 GB, free: 7.219 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.699e-05/0.1322, allocations: 20.84 kB / 0.4922 GB, free: 7.195 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.1322, allocations: 4 kB / 0.4922 GB, free: 7.191 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001691/0.1324, allocations: 67.39 kB / 0.4923 GB, free: 7.113 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.1324, allocations: 0 / 0.4923 GB, free: 7.113 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005666/0.133, allocations: 165.4 kB / 0.4924 GB, free: 6.945 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.525e-05/0.1331, allocations: 81.11 kB / 0.4925 GB, free: 6.848 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.1333, allocations: 157.7 kB / 0.4927 GB, free: 6.684 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.1333, allocations: 33.64 kB / 0.4927 GB, free: 6.645 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.634e-05/0.1334, allocations: 96.14 kB / 0.4928 GB, free: 6.547 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.373e-05/0.1334, allocations: 31.77 kB / 0.4928 GB, free: 6.516 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.267e-05/0.1334, allocations: 21.72 kB / 0.4928 GB, free: 6.488 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.1336, allocations: 318.8 kB / 0.4931 GB, free: 6.168 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.113e-05/0.1337, allocations: 23.98 kB / 0.4932 GB, free: 6.145 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.195e-05/0.1338, allocations: 46.5 kB / 0.4932 GB, free: 6.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.1339, allocations: 57.73 kB / 0.4933 GB, free: 6.027 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.1339, allocations: 384 / 0.4933 GB, free: 6.027 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001891/0.1341, allocations: 97.58 kB / 0.4934 GB, free: 5.926 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.1341, allocations: 8 kB / 0.4934 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.1341, allocations: 0 / 0.4934 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.1341, allocations: 4 kB / 0.4934 GB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.009e-05/0.1342, allocations: 19.92 kB / 0.4934 GB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.1343, allocations: 4.031 kB / 0.4934 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.499e-05/0.1343, allocations: 7.938 kB / 0.4934 GB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.1343, allocations: 7.938 kB / 0.4934 GB, free: 5.875 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.0001171/0.1345, allocations: 133.4 kB / 0.4935 GB, free: 5.738 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.26e-05/0.1345, allocations: 7.953 kB / 0.4935 GB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.068e-05/0.1345, allocations: 12.72 kB / 0.4936 GB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1345, allocations: 0 / 0.4936 GB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1345, allocations: 0 / 0.4936 GB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.206e-06/0.1346, allocations: 7.922 kB / 0.4936 GB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004671/0.135, allocations: 399.3 kB / 0.4939 GB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.135, allocations: 0 / 0.4939 GB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.114e-05/0.1351, allocations: 8 kB / 0.494 GB, free: 5.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.676e-06/0.1351, allocations: 3.938 kB / 0.494 GB, free: 5.246 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.1351, allocations: 4 kB / 0.494 GB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1351, allocations: 0 / 0.494 GB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1351, allocations: 0 / 0.494 GB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002457/0.1354, allocations: 204.3 kB / 0.4942 GB, free: 5.023 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.766e-05/0.1354, allocations: 89.05 kB / 0.4942 GB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.419e-05/0.1355, allocations: 3.938 kB / 0.4942 GB, free: 4.914 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.05e-05/0.1355, allocations: 4 kB / 0.4942 GB, free: 4.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.114e-05/0.1356, allocations: 11.98 kB / 0.4943 GB, free: 4.898 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.1356, allocations: 0 / 0.4943 GB, free: 4.898 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001008/0.1357, allocations: 122.7 kB / 0.4944 GB, free: 4.781 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1357, allocations: 4 kB / 0.4944 GB, free: 4.777 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002845/0.136, allocations: 27.94 kB / 0.4944 GB, free: 4.75 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.002184/0.1382, allocations: 1.131 MB / 0.4955 GB, free: 3.637 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001966/0.1384, allocations: 63.91 kB / 0.4956 GB, free: 3.574 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.1384, allocations: 4.062 kB / 0.4956 GB, free: 3.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.711e-05/0.1385, allocations: 27.98 kB / 0.4956 GB, free: 3.543 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003782/0.1389, allocations: 35.19 kB / 0.4956 GB, free: 3.512 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001797/0.1407, allocations: 1.558 MB / 0.4972 GB, free: 1.859 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003387/0.141, allocations: 0.6963 MB / 0.4978 GB, free: 1.137 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.955e-05/0.1411, allocations: 21.33 kB / 0.4979 GB, free: 1.117 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.757e-05/0.1412, allocations: 35.36 kB / 0.4979 GB, free: 1.082 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1412, allocations: 0 / 0.4979 GB, free: 1.082 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02582/0.167, allocations: 3.535 MB / 0.5013 GB, free: 13.47 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.92/8.087, allocations: 15.95 kB / 0.5014 GB, free: 13.45 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test57_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test57.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches