Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.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.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001121/0.001121, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001113/0.001113, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.363/1.363, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2104/0.2104, allocations: 46.1 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 81.52 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1085, allocations: 62.45 MB / 480.1 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.003846/0.1124, allocations: 1.592 MB / 481.7 MB, free: 3.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001338/0.1137, allocations: 0.5416 MB / 482.3 MB, free: 3.043 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.966e-05/0.1138, allocations: 7.938 kB / 482.3 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001991/0.114, allocations: 19.86 kB / 482.3 MB, free: 3.016 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003045/0.1143, allocations: 79.61 kB / 482.4 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003733/0.1147, allocations: 103.7 kB / 482.5 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001573/0.1149, allocations: 67.83 kB / 482.5 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.115, allocations: 16 kB / 482.6 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.687e-05/0.1151, allocations: 23.86 kB / 482.6 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.903e-05/0.1151, allocations: 23.86 kB / 482.6 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.1152, allocations: 0 / 482.6 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.444e-05/0.1153, allocations: 31.98 kB / 482.6 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.17e-05/0.1153, allocations: 19.92 kB / 482.7 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.487e-05/0.1154, allocations: 23.81 kB / 482.7 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001861/0.1156, allocations: 76.06 kB / 482.8 MB, free: 2.559 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1156, allocations: 4 kB / 482.8 MB, free: 2.555 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1156, allocations: 0 / 482.8 MB, free: 2.555 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.1156, allocations: 0 / 482.8 MB, free: 2.555 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005176/0.1162, allocations: 387.1 kB / 483.1 MB, free: 2.129 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.1162, allocations: 8.031 kB / 483.1 MB, free: 2.121 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.93e-05/0.1162, allocations: 34.75 kB / 483.2 MB, free: 2.078 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.66e-05/0.1163, allocations: 4.844 kB / 483.2 MB, free: 2.074 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002115/0.1165, allocations: 192.2 kB / 483.4 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-06/0.1165, allocations: 384 / 483.4 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.518e-05/0.1166, allocations: 8.312 kB / 483.4 MB, free: 1.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001612/0.1167, allocations: 53.61 kB / 483.4 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.1168, allocations: 4 kB / 483.4 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-06/0.1168, allocations: 0 / 483.4 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.1168, allocations: 4 kB / 483.4 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001233/0.1169, allocations: 19.98 kB / 483.5 MB, free: 1.754 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004646/0.1174, allocations: 284.9 kB / 483.7 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002416/0.1177, allocations: 50.5 kB / 483.8 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.005e-05/0.1177, allocations: 16.94 kB / 483.8 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.1178, allocations: 0 / 483.8 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.1178, allocations: 42.5 kB / 483.8 MB, free: 1.297 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.223e-06/0.1178, allocations: 0 / 483.8 MB, free: 1.297 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007503/0.1186, allocations: 153.2 kB / 484 MB, free: 1.141 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.1186, allocations: 51.41 kB / 484 MB, free: 1.078 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000184/0.1188, allocations: 156.5 kB / 484.2 MB, free: 0.918 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.1189, allocations: 25.7 kB / 484.2 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.325e-05/0.1189, allocations: 92.14 kB / 484.3 MB, free: 0.793 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.017e-05/0.119, allocations: 15.8 kB / 484.3 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.162e-05/0.1191, allocations: 17.72 kB / 484.3 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002092/0.1193, allocations: 326.8 kB / 484.7 MB, free: 436 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/0.1194, allocations: 23.98 kB / 484.7 MB, free: 412 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.456e-05/0.1195, allocations: 19.98 kB / 484.7 MB, free: 392 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002036/0.1197, allocations: 56.7 kB / 484.8 MB, free: 332 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.1197, allocations: 192 / 484.8 MB, free: 332 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002897/0.12, allocations: 89.56 kB / 484.8 MB, free: 232 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.1201, allocations: 4 kB / 484.9 MB, free: 228 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1201, allocations: 4 kB / 484.9 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.1201, allocations: 4 kB / 484.9 MB, free: 220 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.129e-05/0.1202, allocations: 11.98 kB / 484.9 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.1202, allocations: 0 / 484.9 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.651e-05/0.1203, allocations: 11.94 kB / 484.9 MB, free: 196 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.1203, allocations: 3.938 kB / 484.9 MB, free: 192 kB / 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 (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 0.0001183/0.1204, allocations: 125.8 kB / 485 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.52e-05/0.1205, allocations: 7.906 kB / 485 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003518/0.1209, allocations: 93.97 kB / 485.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.1209, allocations: 0 / 485.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.1209, allocations: 4 kB / 485.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.1209, allocations: 4.266 kB / 485.1 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006162/0.1215, allocations: 358.3 kB / 485.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1216, allocations: 0 / 485.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.225e-05/0.1216, allocations: 12 kB / 485.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.297e-06/0.1217, allocations: 7.984 kB / 485.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.1217, allocations: 3.984 kB / 485.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.1217, allocations: 3.938 kB / 485.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1217, allocations: 0 / 485.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003374/0.1221, allocations: 183.4 kB / 485.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.218e-05/0.1221, allocations: 81.36 kB / 485.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.541e-05/0.1222, allocations: 4 kB / 485.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.1223, allocations: 7.938 kB / 485.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.959e-05/0.1223, allocations: 11.92 kB / 485.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.1224, allocations: 0 / 485.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001309/0.1225, allocations: 117.5 kB / 485.9 MB, free: 15.08 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1225, allocations: 3.938 kB / 485.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004519/0.123, allocations: 23.89 kB / 485.9 MB, free: 15.05 MB / 366.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.001885/0.1249, allocations: 1.009 MB / 486.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002751/0.1252, allocations: 59.91 kB / 487 MB, free: 14.1 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1252, allocations: 4 kB / 487 MB, free: 14.1 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001162/0.1253, allocations: 31.97 kB / 487 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005074/0.1258, allocations: 15.94 kB / 487 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002468/0.1283, allocations: 1.45 MB / 488.5 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000385/0.1287, allocations: 0.6963 MB / 489.2 MB, free: 11.79 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.062e-05/0.1288, allocations: 16.05 kB / 489.2 MB, free: 11.78 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.903e-05/0.1289, allocations: 23.44 kB / 489.2 MB, free: 11.75 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1289, allocations: 0 / 489.2 MB, free: 11.75 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02138/0.1503, allocations: 2.485 MB / 491.7 MB, free: 9.324 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.645/7.795, allocations: 11.23 kB / 491.7 MB, free: 9.32 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test2.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches