Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26.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.CombiTable1Ds.Test26,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test26,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test26",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.001366/0.001366, allocations: 103.1 kB / 15.98 MB, free: 5.875 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.00149/0.00149, allocations: 192.7 kB / 16.91 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.556/1.556, allocations: 205.1 MB / 222.8 MB, free: 4.59 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3579/0.3579, allocations: 43.5 MB / 313.6 MB, free: 8.488 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.001646/0.001647, allocations: 70.55 kB / 382.3 MB, free: 8.512 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1063, allocations: 57.78 MB / 440.1 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test26): time 0.00307/0.1094, allocations: 1.614 MB / 441.7 MB, free: 13 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005902/0.11, allocations: 319.4 kB / 442 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.247e-05/0.1101, allocations: 0 / 442 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002684/0.1104, allocations: 71.84 kB / 442.1 MB, free: 12.61 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002008/0.1106, allocations: 59.86 kB / 442.2 MB, free: 12.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002283/0.1109, allocations: 63.86 kB / 442.2 MB, free: 12.49 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001381/0.111, allocations: 59.89 kB / 442.3 MB, free: 12.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.1111, allocations: 24.19 kB / 442.3 MB, free: 12.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.086e-05/0.1112, allocations: 31.84 kB / 442.3 MB, free: 12.38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.28e-05/0.1113, allocations: 55.83 kB / 442.4 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.1113, allocations: 4 kB / 442.4 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.051e-05/0.1114, allocations: 39.91 kB / 442.4 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.935e-05/0.1115, allocations: 15.98 kB / 442.4 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.819e-05/0.1115, allocations: 27.75 kB / 442.5 MB, free: 12.24 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001626/0.1117, allocations: 87.66 kB / 442.6 MB, free: 12.15 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.1117, allocations: 3.984 kB / 442.6 MB, free: 12.15 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1117, allocations: 4 kB / 442.6 MB, free: 12.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.72e-06/0.1117, allocations: 0 / 442.6 MB, free: 12.14 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004354/0.1122, allocations: 403 kB / 443 MB, free: 11.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.1122, allocations: 11.89 kB / 443 MB, free: 11.69 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.008e-05/0.1122, allocations: 34.75 kB / 443 MB, free: 11.65 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.14e-05/0.1123, allocations: 12.78 kB / 443 MB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001613/0.1124, allocations: 192.1 kB / 443.2 MB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.616e-06/0.1125, allocations: 384 / 443.2 MB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/0.1125, allocations: 4.375 kB / 443.2 MB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.1126, allocations: 49.62 kB / 443.3 MB, free: 11.35 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.1126, allocations: 4 kB / 443.3 MB, free: 11.35 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.1127, allocations: 0 / 443.3 MB, free: 11.35 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1127, allocations: 4 kB / 443.3 MB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.343e-05/0.1128, allocations: 19.98 kB / 443.3 MB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003302/0.1131, allocations: 280.8 kB / 443.6 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001889/0.1133, allocations: 46.56 kB / 443.6 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.443e-05/0.1133, allocations: 12.86 kB / 443.6 MB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.1134, allocations: 4 kB / 443.6 MB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.1134, allocations: 34.5 kB / 443.7 MB, free: 10.88 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1134, allocations: 0 / 443.7 MB, free: 10.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005188/0.1139, allocations: 153.3 kB / 443.8 MB, free: 10.73 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.293e-05/0.114, allocations: 59.39 kB / 443.9 MB, free: 10.66 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001733/0.1142, allocations: 202.2 kB / 444.1 MB, free: 10.45 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.1142, allocations: 25.7 kB / 444.1 MB, free: 10.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.094e-05/0.1142, allocations: 100.1 kB / 444.2 MB, free: 10.31 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.224e-05/0.1143, allocations: 19.7 kB / 444.2 MB, free: 10.29 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.433e-05/0.1143, allocations: 21.66 kB / 444.2 MB, free: 10.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.192e-05/0.1144, allocations: 326.8 kB / 444.5 MB, free: 9.938 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.079e-05/0.1145, allocations: 15.98 kB / 444.6 MB, free: 9.922 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.287e-05/0.1145, allocations: 24.17 kB / 444.6 MB, free: 9.898 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001113/0.1146, allocations: 48.83 kB / 444.6 MB, free: 9.848 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.82e-07/0.1147, allocations: 0 / 444.6 MB, free: 9.848 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001579/0.1148, allocations: 77.58 kB / 444.7 MB, free: 9.766 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.1148, allocations: 4 kB / 444.7 MB, free: 9.762 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.1148, allocations: 3.938 kB / 444.7 MB, free: 9.758 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.1149, allocations: 0 / 444.7 MB, free: 9.758 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.259e-05/0.1149, allocations: 23.92 kB / 444.7 MB, free: 9.734 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.1149, allocations: 0 / 444.7 MB, free: 9.734 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.071e-05/0.115, allocations: 11.94 kB / 444.7 MB, free: 9.723 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.115, allocations: 3.938 kB / 444.8 MB, free: 9.719 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 7.874e-05/0.1151, allocations: 121.8 kB / 444.9 MB, free: 9.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.01e-05/0.1151, allocations: 11.91 kB / 444.9 MB, free: 9.578 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002018/0.1153, allocations: 93.97 kB / 445 MB, free: 9.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.1153, allocations: 0 / 445 MB, free: 9.48 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1154, allocations: 0 / 445 MB, free: 9.48 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.1154, allocations: 0 / 445 MB, free: 9.48 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003671/0.1157, allocations: 354.4 kB / 445.3 MB, free: 9.078 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.1157, allocations: 0 / 445.3 MB, free: 9.078 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.928e-05/0.1158, allocations: 12.17 kB / 445.3 MB, free: 9.066 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.1158, allocations: 4 kB / 445.3 MB, free: 9.062 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.1158, allocations: 8 kB / 445.3 MB, free: 9.055 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.1158, allocations: 3.938 kB / 445.3 MB, free: 9.051 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1158, allocations: 0 / 445.3 MB, free: 9.051 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001884/0.116, allocations: 183.2 kB / 445.5 MB, free: 8.855 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.458e-05/0.1161, allocations: 85.02 kB / 445.6 MB, free: 8.754 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/0.1161, allocations: 3.984 kB / 445.6 MB, free: 8.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.352e-05/0.1162, allocations: 11.94 kB / 445.6 MB, free: 8.738 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.904e-05/0.1162, allocations: 0 / 445.6 MB, free: 8.738 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.1162, allocations: 4 kB / 445.6 MB, free: 8.734 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001108/0.1163, allocations: 164 kB / 445.8 MB, free: 8.574 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1163, allocations: 0 / 445.8 MB, free: 8.574 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002269/0.1166, allocations: 15.98 kB / 445.8 MB, free: 8.559 MB / 382.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001188/0.1178, allocations: 1.008 MB / 446.8 MB, free: 7.562 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001745/0.1179, allocations: 43.97 kB / 446.9 MB, free: 7.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.118, allocations: 4 kB / 446.9 MB, free: 7.516 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.336e-05/0.118, allocations: 23.92 kB / 446.9 MB, free: 7.492 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003374/0.1184, allocations: 27.72 kB / 446.9 MB, free: 7.465 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001449/0.1198, allocations: 1.569 MB / 448.5 MB, free: 5.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002137/0.1201, allocations: 0.708 MB / 449.2 MB, free: 5.086 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.053e-05/0.1201, allocations: 8.062 kB / 449.2 MB, free: 5.078 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.898e-05/0.1202, allocations: 27.42 kB / 449.2 MB, free: 5.051 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1202, allocations: 0 / 449.2 MB, free: 5.051 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6998/0.82, allocations: 2.545 MB / 451.8 MB, free: 2.488 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000238/0.8202, allocations: 245.2 kB / 452 MB, free: 2.223 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.171/2.992, allocations: 0 / 452 MB, free: 2.223 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test26_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test26.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test26/Test26.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches