Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test30",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.0007366/0.0007367, allocations: 95.34 kB / 17.35 MB, free: 6.344 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.0007554/0.0007554, allocations: 173.8 kB / 18.25 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.223/1.223, allocations: 223.2 MB / 242.3 MB, free: 272 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1863/0.1863, allocations: 44.26 MB / 337.7 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002817/0.0002818, allocations: 8 kB / 410.4 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1054, allocations: 61.92 MB / 472.4 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.001958/0.1074, allocations: 1.294 MB / 473.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007262/0.1082, allocations: 399.3 kB / 474 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.202e-05/0.1082, allocations: 0 / 474 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002652/0.1085, allocations: 79.77 kB / 474.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001469/0.1087, allocations: 59.81 kB / 474.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002221/0.1089, allocations: 75.84 kB / 474.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001382/0.109, allocations: 63.89 kB / 474.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.1092, allocations: 20.17 kB / 474.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.088e-05/0.1092, allocations: 31.78 kB / 474.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.909e-05/0.1093, allocations: 51.88 kB / 474.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.1093, allocations: 0 / 474.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.167e-05/0.1094, allocations: 43.98 kB / 474.5 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.749e-05/0.1095, allocations: 19.92 kB / 474.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.38e-05/0.1095, allocations: 49.45 kB / 474.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001566/0.1097, allocations: 99.91 kB / 474.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1097, allocations: 0 / 474.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.1097, allocations: 4 kB / 474.6 MB, free: 11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.1097, allocations: 0 / 474.6 MB, free: 11 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004122/0.1101, allocations: 389.3 kB / 475 MB, free: 10.58 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.1102, allocations: 15.97 kB / 475 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.576e-05/0.1102, allocations: 34.75 kB / 475.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.583e-05/0.1103, allocations: 8.844 kB / 475.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001966/0.1105, allocations: 200.1 kB / 475.3 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.511e-06/0.1105, allocations: 384 / 475.3 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.1105, allocations: 16.03 kB / 475.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.1106, allocations: 53.67 kB / 475.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.1107, allocations: 0 / 475.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.1107, allocations: 7.938 kB / 475.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1107, allocations: 0 / 475.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.327e-05/0.1108, allocations: 23.98 kB / 475.4 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003648/0.1112, allocations: 296.8 kB / 475.6 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.971e-05/0.1113, allocations: 46.5 kB / 475.7 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.083e-05/0.1113, allocations: 24.94 kB / 475.7 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.1114, allocations: 0 / 475.7 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.1114, allocations: 34.56 kB / 475.8 MB, free: 9.707 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.1114, allocations: 0 / 475.8 MB, free: 9.707 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008363/0.1122, allocations: 245.2 kB / 476 MB, free: 9.461 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.1123, allocations: 59.34 kB / 476 MB, free: 9.391 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001666/0.1124, allocations: 206.2 kB / 476.2 MB, free: 9.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.1125, allocations: 33.7 kB / 476.3 MB, free: 9.141 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.405e-05/0.1125, allocations: 104 kB / 476.4 MB, free: 9.035 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.735e-05/0.1126, allocations: 23.66 kB / 476.4 MB, free: 9.012 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.552e-05/0.1126, allocations: 17.7 kB / 476.4 MB, free: 8.988 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.692e-05/0.1127, allocations: 318.8 kB / 476.7 MB, free: 8.668 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.852e-05/0.1128, allocations: 31.98 kB / 476.8 MB, free: 8.637 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.726e-05/0.1129, allocations: 27.98 kB / 476.8 MB, free: 8.609 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.113, allocations: 76.98 kB / 476.9 MB, free: 8.531 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.113, allocations: 0 / 476.9 MB, free: 8.531 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001983/0.1132, allocations: 113.5 kB / 477 MB, free: 8.414 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.1132, allocations: 14.59 kB / 477 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.1133, allocations: 0 / 477 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.418e-06/0.1133, allocations: 0 / 477 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.463e-05/0.1134, allocations: 19.98 kB / 477 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.1134, allocations: 3.938 kB / 477 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.066e-05/0.1134, allocations: 7.984 kB / 477 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.1134, allocations: 8 kB / 477 MB, free: 8.363 MB / 350.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 (8): * Single equations (assignments): 8 * 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.706e-05/0.1135, allocations: 125.8 kB / 477.2 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.284e-05/0.1136, allocations: 16.31 kB / 477.2 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002508/0.1138, allocations: 118.4 kB / 477.3 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.1138, allocations: 8 kB / 477.3 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.1139, allocations: 3.938 kB / 477.3 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.1139, allocations: 11.91 kB / 477.3 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004802/0.1143, allocations: 407.2 kB / 477.7 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.1144, allocations: 7.938 kB / 477.7 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.459e-05/0.1144, allocations: 23.92 kB / 477.7 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1145, allocations: 0 / 477.7 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.1145, allocations: 0 / 477.7 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1145, allocations: 0 / 477.7 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.1145, allocations: 4 kB / 477.7 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002417/0.1147, allocations: 204.3 kB / 477.9 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.302e-05/0.1148, allocations: 96.94 kB / 478 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.1148, allocations: 0 / 478 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.822e-05/0.1149, allocations: 8 kB / 478 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.68e-05/0.1149, allocations: 7.984 kB / 478.1 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.1149, allocations: 8 kB / 478.1 MB, free: 7.223 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001119/0.1151, allocations: 155.2 kB / 478.2 MB, free: 7.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1151, allocations: 0 / 478.2 MB, free: 7.07 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002414/0.1153, allocations: 27.91 kB / 478.2 MB, free: 7.043 MB / 350.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.001411/0.1167, allocations: 1.097 MB / 479.3 MB, free: 6.105 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002106/0.117, allocations: 75.89 kB / 479.4 MB, free: 6.031 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.117, allocations: 0 / 479.4 MB, free: 6.031 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.854e-05/0.1171, allocations: 43.91 kB / 479.5 MB, free: 5.988 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003091/0.1174, allocations: 23.19 kB / 479.5 MB, free: 5.969 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001752/0.1191, allocations: 1.674 MB / 481.2 MB, free: 4.199 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002776/0.1194, allocations: 0.708 MB / 481.9 MB, free: 3.465 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.579e-05/0.1195, allocations: 8.969 kB / 481.9 MB, free: 3.457 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.594e-05/0.1195, allocations: 35.42 kB / 481.9 MB, free: 3.422 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1195, allocations: 0 / 481.9 MB, free: 3.422 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01174/0.1313, allocations: 2.581 MB / 484.5 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002103/0.1315, allocations: 245.9 kB / 484.7 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.667/1.798, allocations: 7.875 kB / 484.7 MB, free: 0.6797 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test30_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test30.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches