Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test61,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test61",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.001701/0.001701, allocations: 101.1 kB / 16.26 MB, free: 5.93 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.002097/0.002097, allocations: 190.9 kB / 17.2 MB, free: 5.574 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.65/1.65, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2402/0.2402, allocations: 43.52 MB / 313.9 MB, free: 0.5234 MB / 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.001713/0.001713, allocations: 68.3 kB / 382.8 MB, free: 56.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1248, allocations: 57.8 MB / 440.6 MB, free: 6.785 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.00371/0.1286, allocations: 1.64 MB / 442.3 MB, free: 5.125 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001313/0.13, allocations: 0.7944 MB / 443.1 MB, free: 4.324 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/0.1301, allocations: 0 / 443.1 MB, free: 4.324 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003587/0.1305, allocations: 55.8 kB / 443.1 MB, free: 4.27 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002824/0.1308, allocations: 55.7 kB / 443.2 MB, free: 4.215 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002877/0.1311, allocations: 79.77 kB / 443.3 MB, free: 4.137 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001684/0.1313, allocations: 95.69 kB / 443.4 MB, free: 4.043 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.346e-05/0.1313, allocations: 4.281 kB / 443.4 MB, free: 4.039 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.275e-05/0.1314, allocations: 31.86 kB / 443.4 MB, free: 4.008 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.654e-05/0.1315, allocations: 31.8 kB / 443.4 MB, free: 3.977 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.117e-05/0.1316, allocations: 4 kB / 443.4 MB, free: 3.973 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.1317, allocations: 35.97 kB / 443.5 MB, free: 3.938 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.831e-05/0.1317, allocations: 19.92 kB / 443.5 MB, free: 3.918 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.122e-05/0.1318, allocations: 43.67 kB / 443.5 MB, free: 3.875 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002102/0.132, allocations: 111.6 kB / 443.6 MB, free: 3.766 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.132, allocations: 4 kB / 443.6 MB, free: 3.762 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.132, allocations: 0 / 443.6 MB, free: 3.762 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.505e-06/0.132, allocations: 0 / 443.6 MB, free: 3.762 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005499/0.1326, allocations: 442.6 kB / 444.1 MB, free: 3.281 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.1327, allocations: 11.89 kB / 444.1 MB, free: 3.27 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.916e-05/0.1327, allocations: 34.75 kB / 444.1 MB, free: 3.227 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.967e-05/0.1327, allocations: 12.84 kB / 444.1 MB, free: 3.215 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002108/0.133, allocations: 219.5 kB / 444.3 MB, free: 2.961 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.133, allocations: 4.375 kB / 444.3 MB, free: 2.957 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.599e-05/0.133, allocations: 7.938 kB / 444.4 MB, free: 2.949 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.1331, allocations: 53.61 kB / 444.4 MB, free: 2.891 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.1332, allocations: 0 / 444.4 MB, free: 2.891 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.1332, allocations: 0 / 444.4 MB, free: 2.891 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.1332, allocations: 4 kB / 444.4 MB, free: 2.887 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.388e-05/0.1333, allocations: 12 kB / 444.4 MB, free: 2.875 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001663/0.1334, allocations: 189.6 kB / 444.6 MB, free: 2.641 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001493/0.1336, allocations: 66.53 kB / 444.7 MB, free: 2.566 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.798e-05/0.1336, allocations: 20.8 kB / 444.7 MB, free: 2.543 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.1337, allocations: 3.938 kB / 444.7 MB, free: 2.539 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002004/0.1339, allocations: 67.39 kB / 444.8 MB, free: 2.461 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.703e-06/0.1339, allocations: 0 / 444.8 MB, free: 2.461 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002656/0.1342, allocations: 97.56 kB / 444.9 MB, free: 2.359 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.983e-05/0.1342, allocations: 59.34 kB / 444.9 MB, free: 2.289 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001888/0.1344, allocations: 255.7 kB / 445.2 MB, free: 2.023 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.1344, allocations: 29.7 kB / 445.2 MB, free: 1.988 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.004e-05/0.1345, allocations: 112.1 kB / 445.3 MB, free: 1.875 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.154e-05/0.1345, allocations: 11.75 kB / 445.3 MB, free: 1.863 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.181e-05/0.1345, allocations: 17.72 kB / 445.3 MB, free: 1.84 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.923e-05/0.1346, allocations: 330.8 kB / 445.7 MB, free: 1.508 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.522e-05/0.1347, allocations: 19.98 kB / 445.7 MB, free: 1.488 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.289e-05/0.1347, allocations: 25.7 kB / 445.7 MB, free: 1.457 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.27e-05/0.1348, allocations: 41.66 kB / 445.7 MB, free: 1.41 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.1348, allocations: 7.938 kB / 445.7 MB, free: 1.402 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001429/0.135, allocations: 85.42 kB / 445.8 MB, free: 1.312 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.135, allocations: 8 kB / 445.8 MB, free: 1.305 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.135, allocations: 4.031 kB / 445.8 MB, free: 1.301 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.1351, allocations: 0 / 445.8 MB, free: 1.301 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.72e-05/0.1351, allocations: 8 kB / 445.8 MB, free: 1.293 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.1352, allocations: 4 kB / 445.9 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.006e-05/0.1352, allocations: 7.984 kB / 445.9 MB, free: 1.281 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.1352, allocations: 7.938 kB / 445.9 MB, free: 1.273 MB / 318.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 (7): * Single equations (assignments): 7 * 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 8.08e-05/0.1353, allocations: 133.7 kB / 446 MB, free: 1.133 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.255e-05/0.1353, allocations: 15.81 kB / 446 MB, free: 1.117 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.004e-05/0.1354, allocations: 17 kB / 446 MB, free: 1.102 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1354, allocations: 4 kB / 446 MB, free: 1.098 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.1354, allocations: 0 / 446 MB, free: 1.098 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1354, allocations: 3.984 kB / 446 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001065/0.1355, allocations: 197.9 kB / 446.2 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1355, allocations: 0 / 446.2 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.137e-05/0.1356, allocations: 11.98 kB / 446.2 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.1356, allocations: 0 / 446.2 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.357e-06/0.1356, allocations: 4 kB / 446.2 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1356, allocations: 0 / 446.2 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1356, allocations: 0 / 446.2 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000157/0.1357, allocations: 120.8 kB / 446.4 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.135e-05/0.1358, allocations: 85.02 kB / 446.4 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.379e-05/0.1358, allocations: 0 / 446.4 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.43e-05/0.1359, allocations: 4 kB / 446.5 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.394e-05/0.1359, allocations: 3.984 kB / 446.5 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.1359, allocations: 4 kB / 446.5 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.00012/0.136, allocations: 203.2 kB / 446.7 MB, free: 396 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1361, allocations: 0 / 446.7 MB, free: 396 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002162/0.1363, allocations: 20 kB / 446.7 MB, free: 376 kB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.001219/0.1375, allocations: 0.9529 MB / 447.6 MB, free: 15.47 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001654/0.1377, allocations: 43.91 kB / 447.7 MB, free: 15.43 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 8.736e-06/0.1377, allocations: 8.062 kB / 447.7 MB, free: 15.42 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.148e-05/0.1378, allocations: 19.94 kB / 447.7 MB, free: 15.4 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002751/0.138, allocations: 34.73 kB / 447.7 MB, free: 15.37 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001886/0.1399, allocations: 1.643 MB / 449.4 MB, free: 13.64 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003505/0.1403, allocations: 0.7156 MB / 450.1 MB, free: 12.9 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.215e-05/0.1404, allocations: 16.53 kB / 450.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.769e-05/0.1405, allocations: 39.42 kB / 450.1 MB, free: 12.85 MB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1405, allocations: 0 / 450.1 MB, free: 12.85 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0208/0.1613, allocations: 3.323 MB / 453.5 MB, free: 9.5 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.633/7.795, allocations: 7.938 kB / 453.5 MB, free: 9.492 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test61_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test61.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches