Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.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.Test25,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test25,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test25",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.001157/0.001157, allocations: 104.2 kB / 15.98 MB, free: 5.859 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.001101/0.001101, allocations: 188.8 kB / 16.9 MB, free: 5.727 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.74/1.74, allocations: 205.1 MB / 222.7 MB, free: 12.43 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.2089/0.2089, allocations: 43.52 MB / 313.6 MB, free: 0.6953 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.001417/0.001417, allocations: 74.95 kB / 382.3 MB, free: 56.87 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1177, allocations: 57.79 MB / 440.1 MB, free: 7.234 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.002628/0.1204, allocations: 1.754 MB / 441.9 MB, free: 5.461 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009227/0.1213, allocations: 0.789 MB / 442.7 MB, free: 4.664 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.107e-05/0.1214, allocations: 4 kB / 442.7 MB, free: 4.66 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002744/0.1217, allocations: 39.83 kB / 442.7 MB, free: 4.621 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001728/0.1219, allocations: 47.83 kB / 442.7 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002034/0.1221, allocations: 75.84 kB / 442.8 MB, free: 4.5 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001231/0.1222, allocations: 91.7 kB / 442.9 MB, free: 4.41 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.172e-05/0.1223, allocations: 24.14 kB / 442.9 MB, free: 4.387 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.231e-05/0.1224, allocations: 39.8 kB / 443 MB, free: 4.348 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.016e-05/0.1225, allocations: 31.8 kB / 443 MB, free: 4.316 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.517e-05/0.1225, allocations: 4 kB / 443 MB, free: 4.312 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.476e-05/0.1226, allocations: 47.97 kB / 443.1 MB, free: 4.266 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.157e-05/0.1226, allocations: 23.92 kB / 443.1 MB, free: 4.242 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.993e-05/0.1227, allocations: 35.73 kB / 443.1 MB, free: 4.207 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001596/0.1228, allocations: 107.7 kB / 443.2 MB, free: 4.102 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1228, allocations: 0 / 443.2 MB, free: 4.102 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1229, allocations: 0 / 443.2 MB, free: 4.102 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.424e-05/0.1229, allocations: 0 / 443.2 MB, free: 4.102 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003997/0.1233, allocations: 422.9 kB / 443.6 MB, free: 3.641 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.1233, allocations: 15.83 kB / 443.6 MB, free: 3.625 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.758e-05/0.1233, allocations: 30.75 kB / 443.7 MB, free: 3.586 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.311e-05/0.1234, allocations: 16.75 kB / 443.7 MB, free: 3.57 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/0.1235, allocations: 208.8 kB / 443.9 MB, free: 3.328 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.1236, allocations: 4.375 kB / 443.9 MB, free: 3.324 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/0.1236, allocations: 3.938 kB / 443.9 MB, free: 3.32 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.1237, allocations: 53.67 kB / 444 MB, free: 3.262 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.1237, allocations: 8 kB / 444 MB, free: 3.254 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.1238, allocations: 0 / 444 MB, free: 3.254 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.1238, allocations: 0 / 444 MB, free: 3.254 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.373e-05/0.1238, allocations: 23.92 kB / 444 MB, free: 3.23 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002572/0.1241, allocations: 280.9 kB / 444.3 MB, free: 2.906 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001403/0.1242, allocations: 58.67 kB / 444.3 MB, free: 2.84 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.148e-05/0.1243, allocations: 20.86 kB / 444.3 MB, free: 2.816 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.1243, allocations: 3.984 kB / 444.3 MB, free: 2.812 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001608/0.1245, allocations: 75.31 kB / 444.4 MB, free: 2.727 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.1245, allocations: 0 / 444.4 MB, free: 2.727 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004566/0.125, allocations: 177.5 kB / 444.6 MB, free: 2.547 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.123e-05/0.125, allocations: 55.34 kB / 444.6 MB, free: 2.48 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.1251, allocations: 208.9 kB / 444.9 MB, free: 2.27 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.508e-06/0.1251, allocations: 25.7 kB / 444.9 MB, free: 2.238 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.442e-05/0.1252, allocations: 104 kB / 445 MB, free: 2.133 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.286e-05/0.1252, allocations: 27.64 kB / 445 MB, free: 2.105 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.997e-05/0.1252, allocations: 21.72 kB / 445 MB, free: 2.078 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.558e-05/0.1253, allocations: 326.8 kB / 445.3 MB, free: 1.75 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.712e-05/0.1253, allocations: 19.98 kB / 445.4 MB, free: 1.73 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.315e-05/0.1254, allocations: 37.7 kB / 445.4 MB, free: 1.688 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.021e-05/0.1255, allocations: 65.7 kB / 445.5 MB, free: 1.617 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1255, allocations: 0 / 445.5 MB, free: 1.617 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001395/0.1256, allocations: 93.59 kB / 445.6 MB, free: 1.52 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.1257, allocations: 4 kB / 445.6 MB, free: 1.516 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.1257, allocations: 0 / 445.6 MB, free: 1.516 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.1257, allocations: 7.938 kB / 445.6 MB, free: 1.508 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.97e-05/0.1258, allocations: 27.95 kB / 445.6 MB, free: 1.48 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.1258, allocations: 0 / 445.6 MB, free: 1.48 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.228e-05/0.1258, allocations: 7.938 kB / 445.6 MB, free: 1.473 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.1258, allocations: 0 / 445.6 MB, free: 1.473 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 (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 6.542e-05/0.1259, allocations: 133.8 kB / 445.7 MB, free: 1.332 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.835e-05/0.1259, allocations: 11.81 kB / 445.7 MB, free: 1.32 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.85e-05/0.126, allocations: 17.41 kB / 445.8 MB, free: 1.301 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.126, allocations: 3.984 kB / 445.8 MB, free: 1.297 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.126, allocations: 0 / 445.8 MB, free: 1.297 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.126, allocations: 7.938 kB / 445.8 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003018/0.1263, allocations: 391.3 kB / 446.2 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1263, allocations: 0 / 446.2 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.825e-05/0.1264, allocations: 11.94 kB / 446.2 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.1264, allocations: 3.938 kB / 446.2 MB, free: 0.832 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.1264, allocations: 4 kB / 446.2 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1264, allocations: 3.984 kB / 446.2 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1264, allocations: 0 / 446.2 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001621/0.1266, allocations: 204.5 kB / 446.4 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.294e-05/0.1266, allocations: 88.92 kB / 446.5 MB, free: 0.5 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.21e-05/0.1266, allocations: 3.938 kB / 446.5 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.602e-05/0.1267, allocations: 4 kB / 446.5 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.925e-05/0.1267, allocations: 12.17 kB / 446.5 MB, free: 492 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.1267, allocations: 4 kB / 446.5 MB, free: 488 kB / 318.1 MB Notification: Performance of sorting global known variables: time 8.01e-05/0.1268, allocations: 156.8 kB / 446.6 MB, free: 332 kB / 318.1 MB Notification: Performance of sort global known variables: time 6.51e-07/0.1269, allocations: 0 / 446.6 MB, free: 332 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002379/0.1271, allocations: 27.94 kB / 446.7 MB, free: 304 kB / 318.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.001482/0.1286, allocations: 1.099 MB / 447.8 MB, free: 15.25 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001885/0.1288, allocations: 59.91 kB / 447.8 MB, free: 15.2 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1288, allocations: 0 / 447.8 MB, free: 15.2 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.109e-05/0.1289, allocations: 32 kB / 447.9 MB, free: 15.16 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003386/0.1292, allocations: 33.94 kB / 447.9 MB, free: 15.13 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001925/0.1312, allocations: 1.674 MB / 449.6 MB, free: 13.37 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003693/0.1315, allocations: 0.7002 MB / 450.3 MB, free: 12.64 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.065e-05/0.1316, allocations: 21.17 kB / 450.3 MB, free: 12.62 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.53e-05/0.1317, allocations: 35.42 kB / 450.3 MB, free: 12.59 MB / 334.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1317, allocations: 4 kB / 450.3 MB, free: 12.58 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0148/0.1465, allocations: 3.26 MB / 453.6 MB, free: 9.332 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001994/0.1467, allocations: 238.7 kB / 453.8 MB, free: 9.074 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.789/1.936, allocations: 7.938 kB / 453.8 MB, free: 9.066 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test25_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test25.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches