Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77",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.001148/0.001148, allocations: 103.6 kB / 16.4 MB, free: 6.031 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.00136/0.00136, allocations: 189.9 kB / 17.34 MB, free: 5.633 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.381/1.381, 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.2191/0.2191, allocations: 43.51 MB / 314.1 MB, free: 472 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.001539/0.001539, allocations: 71.89 kB / 441.4 MB, free: 6.109 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.124, allocations: 57.79 MB / 499.2 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003628/0.1277, allocations: 1.849 MB / 0.4893 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001676/0.1294, allocations: 0.8936 MB / 0.4901 GB, free: 9.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00016/0.1296, allocations: 4 kB / 0.4901 GB, free: 9.477 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005042/0.1301, allocations: 155.5 kB / 0.4903 GB, free: 9.324 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004142/0.1306, allocations: 147.4 kB / 0.4904 GB, free: 9.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004673/0.1311, allocations: 139.7 kB / 0.4906 GB, free: 9.043 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003276/0.1314, allocations: 227.3 kB / 0.4908 GB, free: 8.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.1315, allocations: 21.53 kB / 0.4908 GB, free: 8.801 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002429/0.1318, allocations: 103.6 kB / 0.4909 GB, free: 8.699 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001808/0.132, allocations: 127.6 kB / 0.491 GB, free: 8.574 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.474e-05/0.132, allocations: 4 kB / 0.491 GB, free: 8.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001223/0.1321, allocations: 43.98 kB / 0.4911 GB, free: 8.527 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.868e-05/0.1322, allocations: 47.78 kB / 0.4911 GB, free: 8.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.655e-05/0.1323, allocations: 71.42 kB / 0.4912 GB, free: 8.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003509/0.1327, allocations: 195.3 kB / 0.4914 GB, free: 8.219 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.1327, allocations: 0 / 0.4914 GB, free: 8.219 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1327, allocations: 0 / 0.4914 GB, free: 8.219 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.283e-05/0.1327, allocations: 0 / 0.4914 GB, free: 8.219 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.0007883/0.1335, allocations: 0.5177 MB / 0.4919 GB, free: 7.652 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.1336, allocations: 11.89 kB / 0.4919 GB, free: 7.641 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.758e-05/0.1336, allocations: 38.73 kB / 0.4919 GB, free: 7.594 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.255e-05/0.1337, allocations: 24.66 kB / 0.492 GB, free: 7.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004008/0.1341, allocations: 263.6 kB / 0.4922 GB, free: 7.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.1341, allocations: 12.31 kB / 0.4922 GB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.962e-05/0.1342, allocations: 11.92 kB / 0.4922 GB, free: 7.246 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002223/0.1344, allocations: 103.3 kB / 0.4923 GB, free: 7.133 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.1344, allocations: 0 / 0.4923 GB, free: 7.133 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.1344, allocations: 0 / 0.4923 GB, free: 7.133 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.1345, allocations: 0 / 0.4923 GB, free: 7.133 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001339/0.1346, allocations: 47.91 kB / 0.4924 GB, free: 7.086 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005462/0.1351, allocations: 436.9 kB / 0.4928 GB, free: 6.605 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002763/0.1354, allocations: 117.3 kB / 0.4929 GB, free: 6.473 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.752e-05/0.1355, allocations: 41.69 kB / 0.4929 GB, free: 6.426 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.987e-05/0.1356, allocations: 8 kB / 0.4929 GB, free: 6.418 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002292/0.1358, allocations: 109 kB / 0.493 GB, free: 6.293 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.292e-06/0.1358, allocations: 0 / 0.493 GB, free: 6.293 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008757/0.1367, allocations: 360.7 kB / 0.4934 GB, free: 5.934 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.638e-05/0.1368, allocations: 92.98 kB / 0.4935 GB, free: 5.824 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003445/0.1371, allocations: 347 kB / 0.4938 GB, free: 5.473 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.1371, allocations: 29.7 kB / 0.4938 GB, free: 5.438 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.042e-05/0.1372, allocations: 140.4 kB / 0.494 GB, free: 5.297 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.405e-05/0.1373, allocations: 51.3 kB / 0.494 GB, free: 5.246 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.307e-05/0.1374, allocations: 37.7 kB / 0.4941 GB, free: 5.203 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.1375, allocations: 334.8 kB / 0.4944 GB, free: 4.867 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/0.1377, allocations: 43.98 kB / 0.4944 GB, free: 4.824 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001626/0.1378, allocations: 78.97 kB / 0.4945 GB, free: 4.738 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002099/0.1381, allocations: 123.3 kB / 0.4946 GB, free: 4.605 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1381, allocations: 0 / 0.4946 GB, free: 4.605 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003055/0.1384, allocations: 177.3 kB / 0.4948 GB, free: 4.426 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.1384, allocations: 4 kB / 0.4948 GB, free: 4.422 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.1384, allocations: 0 / 0.4948 GB, free: 4.422 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.1384, allocations: 7.938 kB / 0.4948 GB, free: 4.414 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001393/0.1386, allocations: 39.84 kB / 0.4948 GB, free: 4.375 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.1386, allocations: 4 kB / 0.4948 GB, free: 4.371 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.726e-05/0.1387, allocations: 8 kB / 0.4948 GB, free: 4.363 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.1387, allocations: 4 kB / 0.4948 GB, free: 4.359 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.0001389/0.1388, allocations: 161.8 kB / 0.495 GB, free: 4.191 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.128e-05/0.1389, allocations: 27.62 kB / 0.495 GB, free: 4.164 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.694e-05/0.1389, allocations: 33.73 kB / 0.4951 GB, free: 4.133 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.139, allocations: 7.938 kB / 0.4951 GB, free: 4.125 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.139, allocations: 0 / 0.4951 GB, free: 4.125 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.139, allocations: 0 / 0.4951 GB, free: 4.125 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006859/0.1397, allocations: 0.6128 MB / 0.4957 GB, free: 3.449 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.1397, allocations: 0 / 0.4957 GB, free: 3.449 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.638e-05/0.1397, allocations: 19.98 kB / 0.4957 GB, free: 3.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.1398, allocations: 0 / 0.4957 GB, free: 3.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.1398, allocations: 4 kB / 0.4957 GB, free: 3.426 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.1398, allocations: 0 / 0.4957 GB, free: 3.426 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.1398, allocations: 4.078 kB / 0.4957 GB, free: 3.422 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004047/0.1402, allocations: 379.9 kB / 0.4961 GB, free: 3.031 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.272e-05/0.1403, allocations: 100.8 kB / 0.4962 GB, free: 2.914 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.543e-05/0.1403, allocations: 4 kB / 0.4962 GB, free: 2.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.1404, allocations: 8 kB / 0.4962 GB, free: 2.902 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.621e-05/0.1405, allocations: 7.984 kB / 0.4962 GB, free: 2.895 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.343e-05/0.1405, allocations: 15.98 kB / 0.4962 GB, free: 2.879 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002394/0.1408, allocations: 261.9 kB / 0.4964 GB, free: 2.625 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1408, allocations: 0 / 0.4964 GB, free: 2.625 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003336/0.1411, allocations: 43.98 kB / 0.4965 GB, free: 2.582 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.001666/0.1428, allocations: 1.264 MB / 0.4977 GB, free: 1.328 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002973/0.1431, allocations: 119.9 kB / 0.4978 GB, free: 1.211 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.1431, allocations: 0 / 0.4978 GB, free: 1.211 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001227/0.1432, allocations: 59.89 kB / 0.4979 GB, free: 1.152 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005205/0.1438, allocations: 60.78 kB / 0.4979 GB, free: 1.086 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003207/0.147, allocations: 2.439 MB / 0.5003 GB, free: 14.54 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004119/0.1474, allocations: 0.7554 MB / 0.5011 GB, free: 13.76 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001289/0.1475, allocations: 33.91 kB / 0.5011 GB, free: 13.73 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/0.1477, allocations: 83.34 kB / 0.5012 GB, free: 13.65 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1477, allocations: 0 / 0.5012 GB, free: 13.65 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02834/0.176, allocations: 5.478 MB / 0.5065 GB, free: 8.141 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.687/7.863, allocations: 4 kB / 0.5065 GB, free: 8.137 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches