Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test29,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test29,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008432/0.0008432, allocations: 91.53 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009775/0.0009777, allocations: 196.4 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.325/1.325, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.198/0.198, allocations: 46.18 MB / 345.2 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002418/0.0002418, allocations: 8.375 kB / 419.6 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1101, allocations: 63.57 MB / 483.2 MB, free: 4.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test29): time 0.00219/0.1123, allocations: 1.365 MB / 484.5 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001154/0.1135, allocations: 0.5379 MB / 485.1 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.11e-05/0.1136, allocations: 4 kB / 485.1 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002729/0.1139, allocations: 31.83 kB / 485.1 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002732/0.1142, allocations: 63.81 kB / 485.2 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004074/0.1146, allocations: 107.8 kB / 485.3 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001873/0.1148, allocations: 79.77 kB / 485.4 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.1149, allocations: 28.27 kB / 485.4 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.915e-05/0.115, allocations: 31.84 kB / 485.4 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.327e-05/0.1151, allocations: 27.86 kB / 485.4 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.1151, allocations: 0 / 485.4 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001101/0.1152, allocations: 47.98 kB / 485.5 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.261e-05/0.1153, allocations: 27.84 kB / 485.5 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.228e-05/0.1154, allocations: 49.45 kB / 485.6 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001783/0.1155, allocations: 107.6 kB / 485.7 MB, free: 1.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1156, allocations: 0 / 485.7 MB, free: 1.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1156, allocations: 0 / 485.7 MB, free: 1.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.1156, allocations: 0 / 485.7 MB, free: 1.57 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005047/0.1161, allocations: 389.5 kB / 486.1 MB, free: 1.145 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/0.1162, allocations: 16.86 kB / 486.1 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.158e-05/0.1163, allocations: 38.75 kB / 486.1 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.897e-05/0.1163, allocations: 12.84 kB / 486.1 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002758/0.1166, allocations: 200 kB / 486.3 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.1166, allocations: 8.375 kB / 486.3 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.834e-05/0.1166, allocations: 8.312 kB / 486.3 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001902/0.1168, allocations: 81.58 kB / 486.4 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.1169, allocations: 0 / 486.4 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.1169, allocations: 4 kB / 486.4 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.1169, allocations: 4 kB / 486.4 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001296/0.117, allocations: 47.97 kB / 486.5 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005997/0.1176, allocations: 340.6 kB / 486.8 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/0.1178, allocations: 70.55 kB / 486.9 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.602e-05/0.1179, allocations: 32.78 kB / 486.9 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.865e-05/0.1179, allocations: 4 kB / 486.9 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.1179, allocations: 34.5 kB / 486.9 MB, free: 140 kB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.1179, allocations: 0 / 486.9 MB, free: 140 kB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001171/0.1191, allocations: 369.5 kB / 487.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/0.1192, allocations: 51.41 kB / 487.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002266/0.1194, allocations: 161.8 kB / 487.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.1194, allocations: 25.7 kB / 487.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.483e-05/0.1195, allocations: 100.1 kB / 487.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.479e-05/0.1195, allocations: 47.36 kB / 487.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.565e-05/0.1196, allocations: 17.72 kB / 487.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.1198, allocations: 318.8 kB / 488 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.1199, allocations: 47.97 kB / 488.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.89e-05/0.12, allocations: 51.72 kB / 488.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002203/0.1202, allocations: 124.7 kB / 488.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1202, allocations: 0 / 488.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003078/0.1206, allocations: 169.5 kB / 488.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.1206, allocations: 4 kB / 488.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.1206, allocations: 0 / 488.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.1206, allocations: 4 kB / 488.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.1207, allocations: 27.92 kB / 488.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.1208, allocations: 4 kB / 488.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.302e-05/0.1208, allocations: 11.98 kB / 488.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.1208, allocations: 7.938 kB / 488.4 MB, free: 14.57 MB / 366.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 (13): * Single equations (assignments): 13 * 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.0001023/0.1209, allocations: 125.8 kB / 488.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.477e-05/0.121, allocations: 11.84 kB / 488.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003713/0.1214, allocations: 186.4 kB / 488.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.1214, allocations: 0 / 488.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.1214, allocations: 4 kB / 488.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.1214, allocations: 4 kB / 488.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006754/0.1221, allocations: 0.4951 MB / 489.3 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.1221, allocations: 8.031 kB / 489.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.29e-05/0.1222, allocations: 27.97 kB / 489.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.1222, allocations: 4 kB / 489.3 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.1222, allocations: 4 kB / 489.3 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.1222, allocations: 0 / 489.3 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.1222, allocations: 7.938 kB / 489.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000352/0.1226, allocations: 263.6 kB / 489.6 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.594e-05/0.1226, allocations: 88.91 kB / 489.7 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.992e-05/0.1227, allocations: 8 kB / 489.7 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.574e-05/0.1228, allocations: 4 kB / 489.7 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.713e-05/0.1228, allocations: 7.984 kB / 489.7 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.1228, allocations: 19.88 kB / 489.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001066/0.1229, allocations: 130.8 kB / 489.8 MB, free: 13.08 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1229, allocations: 4 kB / 489.8 MB, free: 13.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00026/0.1232, allocations: 27.98 kB / 489.9 MB, free: 13.05 MB / 366.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 (13): * Single equations (assignments): 13 * 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.001515/0.1247, allocations: 1.121 MB / 491 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002972/0.125, allocations: 127.8 kB / 491.1 MB, free: 11.94 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1251, allocations: 0 / 491.1 MB, free: 11.94 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001262/0.1252, allocations: 67.95 kB / 491.2 MB, free: 11.87 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003143/0.1255, allocations: 29.48 kB / 491.2 MB, free: 11.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002191/0.1277, allocations: 1.793 MB / 493 MB, free: 9.957 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003101/0.128, allocations: 0.7119 MB / 493.7 MB, free: 9.219 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.194e-05/0.1281, allocations: 20.55 kB / 493.7 MB, free: 9.199 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.051e-05/0.1282, allocations: 39.42 kB / 493.8 MB, free: 9.16 MB / 366.1 MB Notification: Performance of SimCode: time 7.81e-07/0.1282, allocations: 0 / 493.8 MB, free: 9.16 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01206/0.1403, allocations: 2.835 MB / 496.6 MB, free: 6.438 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002055/0.1405, allocations: 238.9 kB / 496.8 MB, free: 6.18 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.839/1.979, allocations: 0 / 496.8 MB, free: 6.18 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test29_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test29.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches