Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test79",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.001491/0.001492, allocations: 103.1 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.001472/0.001472, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.69/1.69, 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.2238/0.2238, allocations: 43.53 MB / 314.1 MB, free: 456 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.001525/0.001525, allocations: 63.91 kB / 441.4 MB, free: 6.113 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1171, allocations: 57.79 MB / 499.2 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.003966/0.1212, allocations: 1.852 MB / 0.4893 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001493/0.1227, allocations: 0.9013 MB / 0.4902 GB, free: 9.469 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001681/0.1229, allocations: 7.938 kB / 0.4902 GB, free: 9.461 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005738/0.1235, allocations: 223.4 kB / 0.4904 GB, free: 9.242 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004544/0.124, allocations: 167.4 kB / 0.4905 GB, free: 9.078 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005004/0.1245, allocations: 147.7 kB / 0.4907 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003563/0.1249, allocations: 227.3 kB / 0.4909 GB, free: 8.711 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.125, allocations: 21.55 kB / 0.4909 GB, free: 8.691 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002056/0.1252, allocations: 115.6 kB / 0.491 GB, free: 8.578 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001983/0.1254, allocations: 147.5 kB / 0.4912 GB, free: 8.434 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.609e-05/0.1255, allocations: 8 kB / 0.4912 GB, free: 8.426 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001166/0.1256, allocations: 47.98 kB / 0.4912 GB, free: 8.379 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.223e-05/0.1257, allocations: 63.75 kB / 0.4913 GB, free: 8.316 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.323e-05/0.1258, allocations: 71.38 kB / 0.4913 GB, free: 8.246 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003693/0.1262, allocations: 219.2 kB / 0.4916 GB, free: 8.031 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.1262, allocations: 0 / 0.4916 GB, free: 8.031 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.1262, allocations: 0 / 0.4916 GB, free: 8.031 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.1262, allocations: 0 / 0.4916 GB, free: 8.031 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.0008331/0.127, allocations: 0.5403 MB / 0.4921 GB, free: 7.445 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.1271, allocations: 15.88 kB / 0.4921 GB, free: 7.43 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.431e-05/0.1272, allocations: 42.75 kB / 0.4921 GB, free: 7.379 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.071e-05/0.1272, allocations: 28.56 kB / 0.4922 GB, free: 7.352 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004193/0.1277, allocations: 276.1 kB / 0.4924 GB, free: 7.043 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.1277, allocations: 384 / 0.4924 GB, free: 7.043 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.835e-05/0.1277, allocations: 7.938 kB / 0.4924 GB, free: 7.035 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002721/0.128, allocations: 99.3 kB / 0.4925 GB, free: 6.926 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.128, allocations: 0 / 0.4925 GB, free: 6.926 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.1281, allocations: 8 kB / 0.4925 GB, free: 6.918 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.1281, allocations: 4 kB / 0.4925 GB, free: 6.914 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001314/0.1282, allocations: 35.97 kB / 0.4926 GB, free: 6.879 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006172/0.1288, allocations: 448.9 kB / 0.493 GB, free: 6.387 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003088/0.1292, allocations: 117.3 kB / 0.4931 GB, free: 6.254 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.876e-05/0.1293, allocations: 41.7 kB / 0.4932 GB, free: 6.207 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.245e-05/0.1293, allocations: 3.984 kB / 0.4932 GB, free: 6.203 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002546/0.1296, allocations: 116.9 kB / 0.4933 GB, free: 6.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 3.617e-06/0.1296, allocations: 7.984 kB / 0.4933 GB, free: 6.062 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001003/0.1306, allocations: 356.5 kB / 0.4936 GB, free: 5.707 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.777e-05/0.1307, allocations: 93.02 kB / 0.4937 GB, free: 5.598 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004408/0.1311, allocations: 432.4 kB / 0.4941 GB, free: 5.164 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.1311, allocations: 29.7 kB / 0.4941 GB, free: 5.129 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.1313, allocations: 156.3 kB / 0.4943 GB, free: 4.973 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.234e-05/0.1313, allocations: 47.36 kB / 0.4943 GB, free: 4.926 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.241e-05/0.1314, allocations: 37.7 kB / 0.4944 GB, free: 4.883 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.1316, allocations: 346.7 kB / 0.4947 GB, free: 4.535 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.1317, allocations: 39.98 kB / 0.4947 GB, free: 4.496 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/0.1318, allocations: 67.41 kB / 0.4948 GB, free: 4.418 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002146/0.132, allocations: 119.5 kB / 0.4949 GB, free: 4.289 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.132, allocations: 0 / 0.4949 GB, free: 4.289 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003277/0.1324, allocations: 181.3 kB / 0.4951 GB, free: 4.105 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.1324, allocations: 8 kB / 0.4951 GB, free: 4.098 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1324, allocations: 0 / 0.4951 GB, free: 4.098 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.1324, allocations: 8.062 kB / 0.4951 GB, free: 4.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.1326, allocations: 39.86 kB / 0.4952 GB, free: 4.051 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.1326, allocations: 0 / 0.4952 GB, free: 4.051 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.121e-05/0.1327, allocations: 11.89 kB / 0.4952 GB, free: 4.039 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.1327, allocations: 12 kB / 0.4952 GB, free: 4.027 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.0001382/0.1328, allocations: 157.8 kB / 0.4953 GB, free: 3.863 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.207e-05/0.1329, allocations: 27.72 kB / 0.4954 GB, free: 3.836 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.009e-05/0.133, allocations: 38.88 kB / 0.4954 GB, free: 3.793 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/0.133, allocations: 11.94 kB / 0.4954 GB, free: 3.781 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.133, allocations: 0 / 0.4954 GB, free: 3.781 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.133, allocations: 0 / 0.4954 GB, free: 3.781 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000779/0.1338, allocations: 0.628 MB / 0.496 GB, free: 3.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.1338, allocations: 4 kB / 0.496 GB, free: 3.086 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.669e-05/0.1338, allocations: 19.92 kB / 0.496 GB, free: 3.066 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.1339, allocations: 4 kB / 0.496 GB, free: 3.062 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.1339, allocations: 8.062 kB / 0.496 GB, free: 3.055 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.1339, allocations: 0 / 0.496 GB, free: 3.055 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1339, allocations: 0 / 0.496 GB, free: 3.055 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004185/0.1343, allocations: 367.9 kB / 0.4964 GB, free: 2.672 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.759e-05/0.1344, allocations: 100.8 kB / 0.4965 GB, free: 2.555 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.753e-05/0.1344, allocations: 11.98 kB / 0.4965 GB, free: 2.543 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001367/0.1346, allocations: 8 kB / 0.4965 GB, free: 2.535 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.061e-05/0.1346, allocations: 11.98 kB / 0.4965 GB, free: 2.523 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.076e-05/0.1347, allocations: 4 kB / 0.4965 GB, free: 2.52 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003035/0.135, allocations: 323 kB / 0.4968 GB, free: 2.207 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.135, allocations: 0 / 0.4968 GB, free: 2.207 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003513/0.1353, allocations: 40 kB / 0.4969 GB, free: 2.168 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.001692/0.137, allocations: 1.269 MB / 0.4981 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004115/0.1375, allocations: 115.8 kB / 0.4982 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.1375, allocations: 0 / 0.4982 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.1376, allocations: 55.92 kB / 0.4983 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005269/0.1381, allocations: 61.92 kB / 0.4983 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003226/0.1414, allocations: 2.633 MB / 0.5009 GB, free: 13.93 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003552/0.1418, allocations: 0.7671 MB / 0.5017 GB, free: 13.14 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.536e-05/0.1419, allocations: 33.91 kB / 0.5017 GB, free: 13.11 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001153/0.142, allocations: 79.41 kB / 0.5018 GB, free: 13.03 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.142, allocations: 0 / 0.5018 GB, free: 13.03 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02607/0.1681, allocations: 5.821 MB / 0.5075 GB, free: 7.172 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.827/7.995, allocations: 11.86 kB / 0.5075 GB, free: 7.16 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test79_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test79.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches