Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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 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.CombiTable2Dv.Test25,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test25,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_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.0007614/0.0007614, allocations: 97.8 kB / 17.35 MB, free: 6.367 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.0008983/0.0008984, allocations: 172.3 kB / 18.25 MB, free: 5.527 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.296/1.296, allocations: 223.3 MB / 242.3 MB, free: 14.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2174/0.2174, allocations: 44.24 MB / 337.7 MB, free: 2.438 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002967/0.0002968, allocations: 8.594 kB / 410.4 MB, free: 27.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1103, allocations: 61.93 MB / 472.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.002024/0.1124, allocations: 1.356 MB / 473.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008014/0.1132, allocations: 427.3 kB / 474.1 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.253e-05/0.1133, allocations: 0 / 474.1 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002389/0.1136, allocations: 51.8 kB / 474.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000162/0.1137, allocations: 47.89 kB / 474.2 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004285/0.1142, allocations: 165 kB / 474.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001526/0.1144, allocations: 75.77 kB / 474.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.1145, allocations: 19.98 kB / 474.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.031e-05/0.1145, allocations: 27.91 kB / 474.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.084e-05/0.1146, allocations: 43.78 kB / 474.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.467e-05/0.1147, allocations: 0 / 474.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.1148, allocations: 51.91 kB / 474.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.066e-05/0.1148, allocations: 19.92 kB / 474.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.936e-05/0.1149, allocations: 49.52 kB / 474.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001786/0.1151, allocations: 107.9 kB / 474.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1151, allocations: 4 kB / 474.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1151, allocations: 0 / 474.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.1151, allocations: 0 / 474.8 MB, free: 10.79 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004932/0.1156, allocations: 395.2 kB / 475.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.413e-05/0.1157, allocations: 8.031 kB / 475.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.92e-05/0.1157, allocations: 42.69 kB / 475.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.273e-05/0.1158, allocations: 12.84 kB / 475.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001915/0.116, allocations: 204.6 kB / 475.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.116, allocations: 4.125 kB / 475.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.428e-05/0.116, allocations: 8 kB / 475.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.1162, allocations: 73.66 kB / 475.5 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.1162, allocations: 3.984 kB / 475.5 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.1162, allocations: 0 / 475.5 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.1162, allocations: 0 / 475.5 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001586/0.1164, allocations: 55.91 kB / 475.6 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000458/0.1169, allocations: 328.6 kB / 475.9 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002318/0.1171, allocations: 66.58 kB / 476 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.523e-05/0.1172, allocations: 28.97 kB / 476 MB, free: 9.422 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.1172, allocations: 4 kB / 476 MB, free: 9.418 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.1173, allocations: 38.55 kB / 476 MB, free: 9.371 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.1173, allocations: 0 / 476 MB, free: 9.371 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001531/0.1188, allocations: 488.9 kB / 476.5 MB, free: 8.887 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/0.1188, allocations: 51.41 kB / 476.6 MB, free: 8.824 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/0.119, allocations: 178.4 kB / 476.7 MB, free: 8.637 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.119, allocations: 25.7 kB / 476.8 MB, free: 8.605 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.204e-05/0.1191, allocations: 104 kB / 476.9 MB, free: 8.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.433e-05/0.1192, allocations: 47.38 kB / 476.9 MB, free: 8.453 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-05/0.1192, allocations: 17.66 kB / 476.9 MB, free: 8.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.1193, allocations: 330.8 kB / 477.2 MB, free: 8.098 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001495/0.1195, allocations: 63.95 kB / 477.3 MB, free: 8.035 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.1196, allocations: 55.97 kB / 477.4 MB, free: 7.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002935/0.1199, allocations: 140.8 kB / 477.5 MB, free: 7.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.1199, allocations: 0 / 477.5 MB, free: 7.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003463/0.1203, allocations: 185.5 kB / 477.7 MB, free: 7.652 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.1203, allocations: 7.938 kB / 477.7 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.1203, allocations: 0 / 477.7 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.1203, allocations: 4 kB / 477.7 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.1204, allocations: 31.92 kB / 477.7 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.1205, allocations: 3.984 kB / 477.7 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.134e-05/0.1205, allocations: 15.98 kB / 477.7 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.1206, allocations: 4 kB / 477.7 MB, free: 7.586 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 (11): * Single equations (assignments): 11 * 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.0001054/0.1207, allocations: 133.8 kB / 477.9 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.435e-05/0.1207, allocations: 12.41 kB / 477.9 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004195/0.1211, allocations: 206.2 kB / 478.1 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1211, allocations: 0 / 478.1 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.1211, allocations: 4 kB / 478.1 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.1212, allocations: 3.984 kB / 478.1 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006739/0.1218, allocations: 0.5155 MB / 478.6 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.1219, allocations: 0 / 478.6 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/0.122, allocations: 27.98 kB / 478.6 MB, free: 6.613 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.122, allocations: 8.062 kB / 478.6 MB, free: 6.605 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.122, allocations: 0 / 478.6 MB, free: 6.605 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.122, allocations: 0 / 478.6 MB, free: 6.605 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.122, allocations: 4 kB / 478.7 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003839/0.1224, allocations: 285.5 kB / 478.9 MB, free: 6.301 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.793e-05/0.1224, allocations: 96.91 kB / 479 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.1225, allocations: 0 / 479 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.1226, allocations: 23.98 kB / 479.1 MB, free: 6.164 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.229e-05/0.1226, allocations: 4 kB / 479.1 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.298e-06/0.1226, allocations: 7.984 kB / 479.1 MB, free: 6.152 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.667e-05/0.1227, allocations: 137.6 kB / 479.2 MB, free: 6.02 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.232e-06/0.1228, allocations: 3.938 kB / 479.2 MB, free: 6.016 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002575/0.123, allocations: 31.88 kB / 479.2 MB, free: 5.984 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001642/0.1247, allocations: 1.161 MB / 480.4 MB, free: 4.977 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003617/0.125, allocations: 143.8 kB / 480.5 MB, free: 4.836 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.125, allocations: 0 / 480.5 MB, free: 4.836 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001701/0.1252, allocations: 83.95 kB / 480.6 MB, free: 4.754 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003659/0.1256, allocations: 19.19 kB / 480.6 MB, free: 4.738 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002211/0.1278, allocations: 1.938 MB / 482.6 MB, free: 2.707 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002546/0.1281, allocations: 0.708 MB / 483.3 MB, free: 1.973 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.849e-05/0.1282, allocations: 40.38 kB / 483.3 MB, free: 1.93 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.417e-05/0.1283, allocations: 35.42 kB / 483.4 MB, free: 1.898 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1283, allocations: 192 / 483.4 MB, free: 1.898 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01323/0.1415, allocations: 2.901 MB / 486.3 MB, free: 15.11 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000241/0.1418, allocations: 239.3 kB / 486.5 MB, free: 14.85 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.818/1.96, allocations: 0 / 486.5 MB, free: 14.85 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test25_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test25.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches