Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.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.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001562/0.001567, allocations: 115.8 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.002115/0.002116, 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.375/1.375, allocations: 227.4 MB / 246.4 MB, free: 9.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2039/0.2039, allocations: 46.11 MB / 343.8 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 77.06 kB / 417.2 MB, free: 19.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09684/0.09829, allocations: 62.45 MB / 479.6 MB, free: 5.504 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.003461/0.1018, allocations: 1.708 MB / 481.3 MB, free: 3.781 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001023/0.1028, allocations: 0.5417 MB / 481.8 MB, free: 3.234 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.074e-05/0.1029, allocations: 7.938 kB / 481.9 MB, free: 3.227 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000315/0.1032, allocations: 95.8 kB / 481.9 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003002/0.1036, allocations: 91.78 kB / 482 MB, free: 3.043 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000355/0.104, allocations: 111.7 kB / 482.1 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001958/0.1042, allocations: 103.8 kB / 482.2 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.1043, allocations: 24.27 kB / 482.3 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.833e-05/0.1044, allocations: 47.77 kB / 482.3 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001104/0.1045, allocations: 63.81 kB / 482.4 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.1045, allocations: 8 kB / 482.4 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.1047, allocations: 47.98 kB / 482.4 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.441e-05/0.1047, allocations: 23.92 kB / 482.5 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.52e-05/0.1048, allocations: 51.59 kB / 482.5 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002097/0.105, allocations: 131.5 kB / 482.6 MB, free: 2.441 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.105, allocations: 0 / 482.6 MB, free: 2.441 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.105, allocations: 0 / 482.6 MB, free: 2.441 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.105, allocations: 4 kB / 482.6 MB, free: 2.438 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.0004918/0.1055, allocations: 426.8 kB / 483.1 MB, free: 1.973 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.1056, allocations: 16.03 kB / 483.1 MB, free: 1.957 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.272e-05/0.1056, allocations: 34.75 kB / 483.1 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.82e-05/0.1057, allocations: 12.84 kB / 483.1 MB, free: 1.902 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001862/0.1059, allocations: 216.5 kB / 483.3 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-06/0.1059, allocations: 384 / 483.3 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.574e-05/0.1059, allocations: 8.375 kB / 483.3 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.1061, allocations: 73.61 kB / 483.4 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.1061, allocations: 3.984 kB / 483.4 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.1061, allocations: 3.938 kB / 483.4 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.1061, allocations: 4 kB / 483.4 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001171/0.1063, allocations: 43.97 kB / 483.5 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004516/0.1067, allocations: 344.6 kB / 483.8 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001353/0.1069, allocations: 66.48 kB / 483.9 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.379e-05/0.1069, allocations: 32.84 kB / 483.9 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.366e-05/0.107, allocations: 0 / 483.9 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.107, allocations: 30.56 kB / 483.9 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 2.355e-06/0.107, allocations: 0 / 483.9 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001139/0.1082, allocations: 356.5 kB / 484.3 MB, free: 0.625 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.025e-05/0.1082, allocations: 55.34 kB / 484.3 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002133/0.1084, allocations: 244.3 kB / 484.6 MB, free: 316 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.1084, allocations: 29.7 kB / 484.6 MB, free: 280 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.152e-05/0.1085, allocations: 112 kB / 484.7 MB, free: 164 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.857e-05/0.1086, allocations: 43.3 kB / 484.8 MB, free: 120 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.554e-05/0.1086, allocations: 25.72 kB / 484.8 MB, free: 88 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.1087, allocations: 334.8 kB / 485.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.1088, allocations: 43.97 kB / 485.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.487e-05/0.1089, allocations: 47.97 kB / 485.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001978/0.1091, allocations: 100.8 kB / 485.3 MB, free: 15.56 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1092, allocations: 3.938 kB / 485.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000274/0.1094, allocations: 161.5 kB / 485.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.1095, allocations: 10.59 kB / 485.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.1095, allocations: 3.938 kB / 485.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.1095, allocations: 4 kB / 485.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.1096, allocations: 23.98 kB / 485.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.1096, allocations: 0 / 485.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.891e-05/0.1097, allocations: 7.984 kB / 485.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.1097, allocations: 8 kB / 485.5 MB, free: 15.34 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.0001024/0.1098, allocations: 133.8 kB / 485.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.919e-05/0.1099, allocations: 19.81 kB / 485.7 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003641/0.1102, allocations: 186.4 kB / 485.8 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.1102, allocations: 0 / 485.8 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.1103, allocations: 0 / 485.8 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.1103, allocations: 7.984 kB / 485.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006218/0.1109, allocations: 0.5029 MB / 486.4 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.1109, allocations: 0 / 486.4 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.111, allocations: 27.92 kB / 486.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.111, allocations: 0 / 486.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.111, allocations: 8 kB / 486.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.111, allocations: 0 / 486.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1111, allocations: 0 / 486.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003173/0.1114, allocations: 260.2 kB / 486.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.554e-05/0.1114, allocations: 88.92 kB / 486.7 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.038e-05/0.1115, allocations: 0 / 486.7 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.106e-05/0.1115, allocations: 8 kB / 486.7 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.02e-05/0.1116, allocations: 11.92 kB / 486.8 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.1116, allocations: 8 kB / 486.8 MB, free: 13.98 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001415/0.1118, allocations: 185.2 kB / 486.9 MB, free: 13.8 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1118, allocations: 3.938 kB / 486.9 MB, free: 13.8 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002706/0.112, allocations: 28 kB / 487 MB, free: 13.77 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.001483/0.1135, allocations: 1.13 MB / 488.1 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002849/0.1138, allocations: 115.9 kB / 488.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.1138, allocations: 0 / 488.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.114, allocations: 71.83 kB / 488.3 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000348/0.1143, allocations: 15.94 kB / 488.3 MB, free: 12.58 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00211/0.1164, allocations: 1.956 MB / 490.3 MB, free: 10.54 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002765/0.1167, allocations: 0.7236 MB / 491 MB, free: 9.785 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.654e-05/0.1168, allocations: 24.53 kB / 491 MB, free: 9.762 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.139e-05/0.1169, allocations: 43.42 kB / 491 MB, free: 9.719 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1169, allocations: 3.938 kB / 491 MB, free: 9.715 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0156/0.1325, allocations: 3.414 MB / 494.5 MB, free: 6.395 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001936/0.1328, allocations: 242.8 kB / 494.7 MB, free: 6.129 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.912/2.044, allocations: 0 / 494.7 MB, free: 6.129 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test6_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test6.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches