Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_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.001003/0.001003, allocations: 92.97 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001277/0.001277, allocations: 202.4 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.451/1.451, allocations: 227.7 MB / 246.8 MB, free: 11.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1957/0.1957, allocations: 46.18 MB / 345.2 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002547/0.0002548, allocations: 8 kB / 419.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1065, allocations: 63.56 MB / 483.2 MB, free: 4.066 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.001832/0.1084, allocations: 1.322 MB / 484.5 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000878/0.1093, allocations: 0.5068 MB / 485 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.181e-05/0.1093, allocations: 0 / 485 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001822/0.1095, allocations: 23.86 kB / 485 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002009/0.1097, allocations: 67.75 kB / 485.1 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002475/0.11, allocations: 75.84 kB / 485.2 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001376/0.1101, allocations: 59.84 kB / 485.2 MB, free: 2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.1103, allocations: 15.98 kB / 485.2 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.168e-05/0.1103, allocations: 19.88 kB / 485.3 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.788e-05/0.1104, allocations: 19.84 kB / 485.3 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/0.1104, allocations: 4 kB / 485.3 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.098e-05/0.1105, allocations: 35.98 kB / 485.3 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.389e-05/0.1105, allocations: 4 kB / 485.3 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.557e-05/0.1106, allocations: 49.45 kB / 485.4 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001593/0.1108, allocations: 76.05 kB / 485.4 MB, free: 1.773 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1108, allocations: 0 / 485.4 MB, free: 1.773 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1108, allocations: 0 / 485.4 MB, free: 1.773 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.1108, allocations: 0 / 485.4 MB, free: 1.773 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.0004633/0.1113, allocations: 379.2 kB / 485.8 MB, free: 1.355 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.1113, allocations: 16.88 kB / 485.8 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.032e-05/0.1114, allocations: 30.75 kB / 485.9 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.898e-05/0.1114, allocations: 8.844 kB / 485.9 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002054/0.1116, allocations: 188.2 kB / 486.1 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.1116, allocations: 4.359 kB / 486.1 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/0.1117, allocations: 8.312 kB / 486.1 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.1118, allocations: 57.56 kB / 486.1 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.1118, allocations: 0 / 486.1 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.1119, allocations: 0 / 486.1 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.1119, allocations: 4 kB / 486.1 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001027/0.112, allocations: 31.97 kB / 486.2 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003535/0.1123, allocations: 272.9 kB / 486.4 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002018/0.1126, allocations: 50.5 kB / 486.5 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.287e-05/0.1126, allocations: 16.86 kB / 486.5 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/0.1127, allocations: 4.078 kB / 486.5 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.1127, allocations: 30.56 kB / 486.5 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.282e-06/0.1127, allocations: 0 / 486.5 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005851/0.1133, allocations: 165.2 kB / 486.7 MB, free: 364 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.1133, allocations: 51.41 kB / 486.7 MB, free: 300 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.1135, allocations: 150.1 kB / 486.9 MB, free: 136 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/0.1135, allocations: 29.7 kB / 486.9 MB, free: 100 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.44e-05/0.1136, allocations: 92.14 kB / 487 MB, free: 4 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.192e-05/0.1136, allocations: 23.78 kB / 487 MB, free: 15.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.613e-05/0.1136, allocations: 9.719 kB / 487 MB, free: 15.96 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.1138, allocations: 322.8 kB / 487.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.638e-05/0.1138, allocations: 19.98 kB / 487.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.461e-05/0.1139, allocations: 31.97 kB / 487.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001307/0.114, allocations: 52.78 kB / 487.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1141, allocations: 0 / 487.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001854/0.1142, allocations: 97.5 kB / 487.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.1143, allocations: 8 kB / 487.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.1143, allocations: 0 / 487.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.1143, allocations: 0 / 487.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.306e-05/0.1144, allocations: 15.98 kB / 487.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.1144, allocations: 256 / 487.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.346e-05/0.1144, allocations: 7.938 kB / 487.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.1144, allocations: 15.94 kB / 487.6 MB, free: 15.38 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 (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 7.125e-05/0.1145, allocations: 113.8 kB / 487.7 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.052e-05/0.1146, allocations: 7.906 kB / 487.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002285/0.1148, allocations: 101.9 kB / 487.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.1148, allocations: 8 kB / 487.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1148, allocations: 0 / 487.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1148, allocations: 0 / 487.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003756/0.1152, allocations: 350.5 kB / 488.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1152, allocations: 0 / 488.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.776e-05/0.1153, allocations: 19.98 kB / 488.2 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1153, allocations: 0 / 488.2 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.812e-06/0.1153, allocations: 3.938 kB / 488.2 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.1153, allocations: 3.938 kB / 488.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1153, allocations: 0 / 488.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002218/0.1155, allocations: 191.4 kB / 488.4 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.226e-05/0.1156, allocations: 85.02 kB / 488.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.1156, allocations: 3.984 kB / 488.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.837e-05/0.1157, allocations: 7.938 kB / 488.5 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.205e-05/0.1157, allocations: 8.219 kB / 488.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.1157, allocations: 0 / 488.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.989e-05/0.1158, allocations: 121.5 kB / 488.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1158, allocations: 0 / 488.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002324/0.1161, allocations: 16 kB / 488.6 MB, free: 14.26 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.001261/0.1173, allocations: 1.021 MB / 489.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001794/0.1175, allocations: 51.91 kB / 489.7 MB, free: 13.31 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.1175, allocations: 0 / 489.7 MB, free: 13.31 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.183e-05/0.1176, allocations: 27.98 kB / 489.7 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002997/0.1179, allocations: 23.92 kB / 489.7 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001572/0.1195, allocations: 1.479 MB / 491.2 MB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002497/0.1198, allocations: 0.6926 MB / 491.9 MB, free: 10.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.055e-05/0.1198, allocations: 16.25 kB / 491.9 MB, free: 10.96 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.565e-05/0.1199, allocations: 23.42 kB / 491.9 MB, free: 10.94 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1199, allocations: 0 / 491.9 MB, free: 10.94 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01146/0.1313, allocations: 2.118 MB / 494.1 MB, free: 8.926 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001869/0.1316, allocations: 243.7 kB / 494.3 MB, free: 8.664 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.741/1.873, allocations: 0 / 494.3 MB, free: 8.664 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test2.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches