Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test74",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.001198/0.001198, allocations: 106.6 kB / 16.41 MB, free: 6.516 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.001306/0.001306, allocations: 189.5 kB / 17.34 MB, free: 5.738 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.413/1.413, 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.22/0.22, 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.002059/0.002059, allocations: 73.44 kB / 441.4 MB, free: 6.086 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1226, allocations: 57.79 MB / 499.2 MB, free: 12.22 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003382/0.1261, allocations: 1.848 MB / 0.4893 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001569/0.1276, allocations: 0.9013 MB / 0.4902 GB, free: 9.453 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.756e-05/0.1277, allocations: 3.938 kB / 0.4902 GB, free: 9.449 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005377/0.1283, allocations: 255.4 kB / 0.4904 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003731/0.1287, allocations: 183.4 kB / 0.4906 GB, free: 9.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003839/0.1291, allocations: 147.7 kB / 0.4907 GB, free: 8.875 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003058/0.1294, allocations: 243.3 kB / 0.491 GB, free: 8.637 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.1295, allocations: 25.53 kB / 0.491 GB, free: 8.613 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001758/0.1297, allocations: 127.5 kB / 0.4911 GB, free: 8.488 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002329/0.1299, allocations: 175.5 kB / 0.4913 GB, free: 8.316 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.936e-05/0.13, allocations: 8 kB / 0.4913 GB, free: 8.309 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001139/0.1301, allocations: 47.97 kB / 0.4913 GB, free: 8.262 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.119e-05/0.1302, allocations: 63.77 kB / 0.4914 GB, free: 8.199 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.809e-05/0.1303, allocations: 91.23 kB / 0.4915 GB, free: 8.109 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003165/0.1306, allocations: 223 kB / 0.4917 GB, free: 7.891 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1306, allocations: 0 / 0.4917 GB, free: 7.891 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1306, allocations: 0 / 0.4917 GB, free: 7.891 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.1306, allocations: 0 / 0.4917 GB, free: 7.891 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009029/0.1316, allocations: 0.5677 MB / 0.4922 GB, free: 7.273 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.398e-05/0.1316, allocations: 11.89 kB / 0.4922 GB, free: 7.262 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.174e-05/0.1317, allocations: 46.73 kB / 0.4923 GB, free: 7.207 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.967e-05/0.1318, allocations: 28.75 kB / 0.4923 GB, free: 7.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004584/0.1322, allocations: 288.3 kB / 0.4926 GB, free: 6.859 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.1322, allocations: 384 / 0.4926 GB, free: 6.859 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.813e-05/0.1323, allocations: 11.94 kB / 0.4926 GB, free: 6.848 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002497/0.1325, allocations: 95.3 kB / 0.4927 GB, free: 6.742 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.1326, allocations: 0 / 0.4927 GB, free: 6.742 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.1326, allocations: 4 kB / 0.4927 GB, free: 6.738 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.1326, allocations: 8 kB / 0.4927 GB, free: 6.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001636/0.1328, allocations: 35.97 kB / 0.4927 GB, free: 6.695 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006921/0.1335, allocations: 456.9 kB / 0.4932 GB, free: 6.195 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000298/0.1338, allocations: 113.3 kB / 0.4933 GB, free: 6.066 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.473e-05/0.1339, allocations: 41.64 kB / 0.4933 GB, free: 6.02 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.215e-05/0.1339, allocations: 8 kB / 0.4933 GB, free: 6.012 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002379/0.1342, allocations: 116.9 kB / 0.4934 GB, free: 5.879 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.272e-06/0.1342, allocations: 0 / 0.4934 GB, free: 5.879 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001028/0.1352, allocations: 392.8 kB / 0.4938 GB, free: 5.488 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.388e-05/0.1353, allocations: 88.98 kB / 0.4939 GB, free: 5.383 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005109/0.1358, allocations: 477.7 kB / 0.4944 GB, free: 4.906 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.1358, allocations: 33.7 kB / 0.4944 GB, free: 4.867 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.136, allocations: 164.3 kB / 0.4946 GB, free: 4.703 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.659e-05/0.136, allocations: 55.55 kB / 0.4946 GB, free: 4.648 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.679e-05/0.1361, allocations: 37.72 kB / 0.4946 GB, free: 4.605 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.1363, allocations: 342.8 kB / 0.495 GB, free: 4.262 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/0.1364, allocations: 39.98 kB / 0.495 GB, free: 4.223 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.1365, allocations: 75.34 kB / 0.4951 GB, free: 4.137 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002395/0.1368, allocations: 115.4 kB / 0.4952 GB, free: 4.012 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.1368, allocations: 0 / 0.4952 GB, free: 4.012 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003399/0.1372, allocations: 193.4 kB / 0.4954 GB, free: 3.816 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.1372, allocations: 8 kB / 0.4954 GB, free: 3.809 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.1372, allocations: 0 / 0.4954 GB, free: 3.809 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.1372, allocations: 0 / 0.4954 GB, free: 3.809 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001393/0.1374, allocations: 43.92 kB / 0.4954 GB, free: 3.766 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.1374, allocations: 3.984 kB / 0.4954 GB, free: 3.762 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.471e-05/0.1375, allocations: 8 kB / 0.4954 GB, free: 3.754 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.1375, allocations: 8 kB / 0.4954 GB, free: 3.746 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001709/0.1377, allocations: 169.7 kB / 0.4956 GB, free: 3.57 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.97e-05/0.1377, allocations: 31.81 kB / 0.4956 GB, free: 3.539 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.083e-05/0.1378, allocations: 42.8 kB / 0.4957 GB, free: 3.496 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.1378, allocations: 7.938 kB / 0.4957 GB, free: 3.488 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/0.1378, allocations: 4 kB / 0.4957 GB, free: 3.484 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.1378, allocations: 0 / 0.4957 GB, free: 3.484 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008163/0.1387, allocations: 0.6319 MB / 0.4963 GB, free: 2.789 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.1387, allocations: 0 / 0.4963 GB, free: 2.789 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.934e-05/0.1387, allocations: 23.92 kB / 0.4963 GB, free: 2.766 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.81e-06/0.1387, allocations: 4 kB / 0.4963 GB, free: 2.762 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.961e-05/0.1388, allocations: 4 kB / 0.4963 GB, free: 2.758 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.1388, allocations: 8.062 kB / 0.4963 GB, free: 2.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1388, allocations: 0 / 0.4963 GB, free: 2.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004256/0.1392, allocations: 368.1 kB / 0.4967 GB, free: 2.367 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.557e-05/0.1393, allocations: 104.9 kB / 0.4968 GB, free: 2.246 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.59e-05/0.1394, allocations: 11.98 kB / 0.4968 GB, free: 2.234 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/0.1395, allocations: 8.375 kB / 0.4968 GB, free: 2.227 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.425e-05/0.1395, allocations: 11.98 kB / 0.4968 GB, free: 2.215 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.266e-05/0.1396, allocations: 12 kB / 0.4968 GB, free: 2.203 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003576/0.1399, allocations: 359.1 kB / 0.4972 GB, free: 1.855 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1399, allocations: 0 / 0.4972 GB, free: 1.855 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003344/0.1403, allocations: 43.98 kB / 0.4972 GB, free: 1.812 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002362/0.1426, allocations: 1.264 MB / 0.4985 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002992/0.143, allocations: 112 kB / 0.4986 GB, free: 468 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.143, allocations: 0 / 0.4986 GB, free: 468 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001381/0.1431, allocations: 64 kB / 0.4986 GB, free: 404 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005335/0.1437, allocations: 61.58 kB / 0.4987 GB, free: 344 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003422/0.1471, allocations: 2.745 MB / 0.5014 GB, free: 13.47 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004485/0.1475, allocations: 0.771 MB / 0.5021 GB, free: 12.67 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001071/0.1477, allocations: 34.23 kB / 0.5021 GB, free: 12.64 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001327/0.1478, allocations: 91.41 kB / 0.5022 GB, free: 12.55 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1478, allocations: 4 kB / 0.5022 GB, free: 12.55 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02902/0.1768, allocations: 5.969 MB / 0.5081 GB, free: 6.551 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.962/8.139, allocations: 0 / 0.5081 GB, free: 6.551 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test74_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test74.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches