Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.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.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001134/0.001134, allocations: 114 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001236/0.001236, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2126/0.2126, allocations: 46.1 MB / 343.8 MB, free: 11.78 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 74.19 kB / 417.2 MB, free: 19.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1059, allocations: 62.45 MB / 479.6 MB, free: 5.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.003353/0.1093, allocations: 1.704 MB / 481.3 MB, free: 3.809 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009993/0.1103, allocations: 0.5455 MB / 481.9 MB, free: 3.258 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.877e-05/0.1104, allocations: 0 / 481.9 MB, free: 3.258 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003158/0.1108, allocations: 99.73 kB / 481.9 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000326/0.1111, allocations: 95.77 kB / 482 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003447/0.1115, allocations: 103.8 kB / 482.1 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001894/0.1117, allocations: 103.7 kB / 482.2 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.1118, allocations: 28.27 kB / 482.3 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.775e-05/0.1119, allocations: 39.84 kB / 482.3 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.112, allocations: 67.75 kB / 482.4 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.998e-05/0.1121, allocations: 4 kB / 482.4 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001171/0.1122, allocations: 51.97 kB / 482.4 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.165e-05/0.1122, allocations: 27.92 kB / 482.5 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.226e-05/0.1123, allocations: 47.61 kB / 482.5 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002425/0.1126, allocations: 135.5 kB / 482.6 MB, free: 2.469 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.1126, allocations: 0 / 482.6 MB, free: 2.469 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1126, allocations: 0 / 482.6 MB, free: 2.469 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.1126, allocations: 0 / 482.6 MB, free: 2.469 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.0005343/0.1131, allocations: 434.8 kB / 483.1 MB, free: 1.996 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.1132, allocations: 8.031 kB / 483.1 MB, free: 1.988 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.281e-05/0.1132, allocations: 42.73 kB / 483.1 MB, free: 1.938 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.189e-05/0.1133, allocations: 8.844 kB / 483.1 MB, free: 1.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002173/0.1135, allocations: 212.5 kB / 483.3 MB, free: 1.684 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.1135, allocations: 4.375 kB / 483.3 MB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.003e-05/0.1136, allocations: 12.38 kB / 483.3 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.1138, allocations: 76.97 kB / 483.4 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.1138, allocations: 0 / 483.4 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-06/0.1138, allocations: 0 / 483.4 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.1138, allocations: 4 kB / 483.4 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001254/0.1139, allocations: 43.91 kB / 483.5 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005142/0.1145, allocations: 352.6 kB / 483.8 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000149/0.1146, allocations: 70.48 kB / 483.9 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.272e-05/0.1147, allocations: 24.84 kB / 483.9 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.367e-05/0.1147, allocations: 0 / 483.9 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.1148, allocations: 42.55 kB / 483.9 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 2.415e-06/0.1148, allocations: 0 / 483.9 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001116/0.1159, allocations: 341 kB / 484.3 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/0.1159, allocations: 51.41 kB / 484.3 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002324/0.1162, allocations: 244.3 kB / 484.6 MB, free: 348 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.1162, allocations: 29.7 kB / 484.6 MB, free: 312 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.963e-05/0.1163, allocations: 112 kB / 484.7 MB, free: 196 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.271e-05/0.1163, allocations: 43.3 kB / 484.7 MB, free: 152 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.881e-05/0.1164, allocations: 33.7 kB / 484.8 MB, free: 112 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.1166, allocations: 330.8 kB / 485.1 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/0.1167, allocations: 47.91 kB / 485.2 MB, free: 15.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.415e-05/0.1168, allocations: 47.97 kB / 485.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000209/0.117, allocations: 104.8 kB / 485.3 MB, free: 15.58 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.117, allocations: 0 / 485.3 MB, free: 15.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000277/0.1173, allocations: 156.7 kB / 485.5 MB, free: 15.42 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.1173, allocations: 4 kB / 485.5 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.1173, allocations: 7.938 kB / 485.5 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.1173, allocations: 0 / 485.5 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.1175, allocations: 35.91 kB / 485.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.1175, allocations: 0 / 485.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.779e-05/0.1175, allocations: 4 kB / 485.5 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.1176, allocations: 8 kB / 485.5 MB, free: 15.36 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.0001047/0.1177, allocations: 133.8 kB / 485.6 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.086e-05/0.1177, allocations: 15.81 kB / 485.7 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004113/0.1181, allocations: 203.7 kB / 485.9 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1181, allocations: 0 / 485.9 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.1182, allocations: 0 / 485.9 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.1182, allocations: 0 / 485.9 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007083/0.1189, allocations: 0.499 MB / 486.4 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1189, allocations: 4.031 kB / 486.4 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.499e-05/0.119, allocations: 23.98 kB / 486.4 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.802e-06/0.119, allocations: 4 kB / 486.4 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/0.119, allocations: 4 kB / 486.4 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.119, allocations: 3.938 kB / 486.4 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.1191, allocations: 4 kB / 486.4 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003529/0.1194, allocations: 256.2 kB / 486.6 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.559e-05/0.1195, allocations: 88.92 kB / 486.7 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.443e-05/0.1195, allocations: 0 / 486.7 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.029e-05/0.1196, allocations: 11.98 kB / 486.7 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.995e-05/0.1197, allocations: 11.98 kB / 486.8 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/0.1197, allocations: 4 kB / 486.8 MB, free: 14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001812/0.1199, allocations: 177.2 kB / 486.9 MB, free: 13.83 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1199, allocations: 3.938 kB / 486.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002962/0.1202, allocations: 35.98 kB / 487 MB, free: 13.79 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.001713/0.1219, allocations: 1.124 MB / 488.1 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003341/0.1222, allocations: 119.9 kB / 488.2 MB, free: 12.69 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.1223, allocations: 4 kB / 488.2 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.1224, allocations: 63.91 kB / 488.3 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004363/0.1228, allocations: 23.98 kB / 488.3 MB, free: 12.6 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002284/0.1251, allocations: 1.952 MB / 490.3 MB, free: 10.56 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003929/0.1255, allocations: 0.7236 MB / 491 MB, free: 9.809 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001068/0.1257, allocations: 32.53 kB / 491 MB, free: 9.777 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.1258, allocations: 47.36 kB / 491.1 MB, free: 9.73 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1258, allocations: 0 / 491.1 MB, free: 9.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02181/0.1476, allocations: 3.411 MB / 494.5 MB, free: 6.41 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002735/0.1479, allocations: 240.9 kB / 494.7 MB, free: 6.152 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.815/1.963, allocations: 3.938 kB / 494.7 MB, free: 6.148 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test4.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches