Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test47",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.001243/0.001243, allocations: 113.4 kB / 16.41 MB, free: 6.496 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.00124/0.00124, allocations: 185.5 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.465/1.465, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.2263/0.2263, allocations: 43.52 MB / 314.1 MB, free: 480 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.002246/0.002246, allocations: 75.89 kB / 441.4 MB, free: 6.105 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1193, allocations: 57.79 MB / 499.2 MB, free: 12.22 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.004217/0.1236, allocations: 1.689 MB / 0.4891 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001555/0.1251, allocations: 0.8038 MB / 0.4899 GB, free: 9.707 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001213/0.1253, allocations: 0 / 0.4899 GB, free: 9.707 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004113/0.1257, allocations: 51.75 kB / 0.49 GB, free: 9.656 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003137/0.1261, allocations: 63.75 kB / 0.49 GB, free: 9.594 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003671/0.1265, allocations: 83.77 kB / 0.4901 GB, free: 9.512 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002589/0.1267, allocations: 95.69 kB / 0.4902 GB, free: 9.418 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.1269, allocations: 24.19 kB / 0.4902 GB, free: 9.395 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00012/0.127, allocations: 39.8 kB / 0.4903 GB, free: 9.355 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.1271, allocations: 31.78 kB / 0.4903 GB, free: 9.324 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.25e-05/0.1271, allocations: 4 kB / 0.4903 GB, free: 9.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001467/0.1273, allocations: 39.98 kB / 0.4903 GB, free: 9.281 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.078e-05/0.1274, allocations: 35.86 kB / 0.4904 GB, free: 9.246 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.806e-05/0.1274, allocations: 43.66 kB / 0.4904 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003007/0.1278, allocations: 131.4 kB / 0.4905 GB, free: 9.074 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1278, allocations: 0 / 0.4905 GB, free: 9.074 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.1278, allocations: 0 / 0.4905 GB, free: 9.074 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.712e-06/0.1278, allocations: 4 kB / 0.4905 GB, free: 9.07 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.0006957/0.1285, allocations: 442.5 kB / 0.491 GB, free: 8.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.1285, allocations: 11.89 kB / 0.491 GB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.881e-05/0.1286, allocations: 34.75 kB / 0.491 GB, free: 8.535 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.051e-05/0.1287, allocations: 16.84 kB / 0.491 GB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003529/0.129, allocations: 223.8 kB / 0.4912 GB, free: 8.262 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.129, allocations: 384 / 0.4912 GB, free: 8.262 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.62e-05/0.1291, allocations: 7.938 kB / 0.4912 GB, free: 8.254 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.1292, allocations: 57.67 kB / 0.4913 GB, free: 8.191 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.1293, allocations: 0 / 0.4913 GB, free: 8.191 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.1293, allocations: 3.938 kB / 0.4913 GB, free: 8.188 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1293, allocations: 0 / 0.4913 GB, free: 8.188 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.608e-05/0.1294, allocations: 23.98 kB / 0.4913 GB, free: 8.164 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004203/0.1298, allocations: 292.9 kB / 0.4916 GB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002026/0.13, allocations: 62.67 kB / 0.4917 GB, free: 7.758 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.973e-05/0.1301, allocations: 24.73 kB / 0.4917 GB, free: 7.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.88e-05/0.1301, allocations: 4 kB / 0.4917 GB, free: 7.727 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001689/0.1303, allocations: 63.39 kB / 0.4917 GB, free: 7.652 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.542e-06/0.1303, allocations: 0 / 0.4917 GB, free: 7.652 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006019/0.1309, allocations: 181.3 kB / 0.4919 GB, free: 7.469 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/0.131, allocations: 59.41 kB / 0.492 GB, free: 7.398 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003179/0.1313, allocations: 262.5 kB / 0.4922 GB, free: 7.125 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.1313, allocations: 29.64 kB / 0.4923 GB, free: 7.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.082e-05/0.1314, allocations: 112.1 kB / 0.4924 GB, free: 6.977 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.63e-05/0.1315, allocations: 27.78 kB / 0.4924 GB, free: 6.949 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.21e-05/0.1315, allocations: 21.72 kB / 0.4924 GB, free: 6.922 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.1317, allocations: 326.8 kB / 0.4927 GB, free: 6.594 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.595e-05/0.1318, allocations: 27.98 kB / 0.4927 GB, free: 6.566 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.728e-05/0.1318, allocations: 34.08 kB / 0.4928 GB, free: 6.527 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/0.132, allocations: 65.62 kB / 0.4928 GB, free: 6.457 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.132, allocations: 0 / 0.4928 GB, free: 6.457 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002133/0.1322, allocations: 117.5 kB / 0.493 GB, free: 6.336 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.1322, allocations: 4 kB / 0.493 GB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1322, allocations: 0 / 0.493 GB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.1323, allocations: 4.031 kB / 0.493 GB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.453e-05/0.1324, allocations: 19.98 kB / 0.493 GB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.1324, allocations: 0 / 0.493 GB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.728e-05/0.1324, allocations: 3.938 kB / 0.493 GB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.1324, allocations: 4 kB / 0.493 GB, free: 6.301 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.000135/0.1326, allocations: 141.4 kB / 0.4931 GB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.718e-05/0.1326, allocations: 15.91 kB / 0.4931 GB, free: 6.141 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.171e-05/0.1327, allocations: 21.39 kB / 0.4932 GB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.1327, allocations: 7.938 kB / 0.4932 GB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.1327, allocations: 4 kB / 0.4932 GB, free: 6.105 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.1327, allocations: 7.922 kB / 0.4932 GB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005049/0.1332, allocations: 395.4 kB / 0.4936 GB, free: 5.652 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1332, allocations: 3.938 kB / 0.4936 GB, free: 5.648 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.29e-05/0.1333, allocations: 8 kB / 0.4936 GB, free: 5.641 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.1333, allocations: 3.938 kB / 0.4936 GB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.009e-05/0.1333, allocations: 11.98 kB / 0.4936 GB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.1333, allocations: 3.938 kB / 0.4936 GB, free: 5.621 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1333, allocations: 4.031 kB / 0.4936 GB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002519/0.1336, allocations: 200.3 kB / 0.4938 GB, free: 5.402 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.481e-05/0.1336, allocations: 85.02 kB / 0.4939 GB, free: 5.301 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.985e-05/0.1337, allocations: 11.94 kB / 0.4939 GB, free: 5.289 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.71e-05/0.1337, allocations: 0 / 0.4939 GB, free: 5.289 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.985e-05/0.1338, allocations: 11.92 kB / 0.4939 GB, free: 5.277 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.1338, allocations: 8 kB / 0.4939 GB, free: 5.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001871/0.134, allocations: 196.7 kB / 0.4941 GB, free: 5.078 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.134, allocations: 0 / 0.4941 GB, free: 5.078 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002598/0.1343, allocations: 31.86 kB / 0.4941 GB, free: 5.047 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.00217/0.1364, allocations: 1.092 MB / 0.4952 GB, free: 3.977 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002016/0.1367, allocations: 63.89 kB / 0.4952 GB, free: 3.914 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1367, allocations: 3.938 kB / 0.4952 GB, free: 3.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.91e-05/0.1368, allocations: 39.98 kB / 0.4953 GB, free: 3.871 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/0.1371, allocations: 27.42 kB / 0.4953 GB, free: 3.848 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002062/0.1392, allocations: 1.804 MB / 0.4971 GB, free: 1.945 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004163/0.1396, allocations: 0.7236 MB / 0.4978 GB, free: 1.195 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5e-05/0.1397, allocations: 12.89 kB / 0.4978 GB, free: 1.184 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.144e-05/0.1398, allocations: 43.41 kB / 0.4978 GB, free: 1.145 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1398, allocations: 0 / 0.4978 GB, free: 1.145 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02652/0.1663, allocations: 3.691 MB / 0.5014 GB, free: 13.43 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.01/8.176, allocations: 19.91 kB / 0.5015 GB, free: 13.41 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test47_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test47.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches