Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.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.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001534/0.001534, allocations: 118 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.001735/0.001735, 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.358/1.358, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2131/0.2131, allocations: 46.1 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001623/0.001623, allocations: 74.23 kB / 417.2 MB, free: 19.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09976/0.1014, allocations: 62.45 MB / 479.6 MB, free: 5.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.002813/0.1042, allocations: 1.673 MB / 481.3 MB, free: 3.836 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000892/0.1052, allocations: 0.53 MB / 481.8 MB, free: 3.301 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.139e-05/0.1052, allocations: 3.938 kB / 481.8 MB, free: 3.297 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002414/0.1055, allocations: 71.84 kB / 481.9 MB, free: 3.227 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002497/0.1058, allocations: 79.8 kB / 482 MB, free: 3.148 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002438/0.106, allocations: 91.2 kB / 482 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001381/0.1062, allocations: 79.81 kB / 482.1 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.746e-05/0.1063, allocations: 16 kB / 482.1 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.631e-05/0.1063, allocations: 31.84 kB / 482.2 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.542e-05/0.1064, allocations: 51.77 kB / 482.2 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.264e-05/0.1064, allocations: 4 kB / 482.2 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.964e-05/0.1065, allocations: 47.98 kB / 482.3 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.753e-05/0.1066, allocations: 19.91 kB / 482.3 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.655e-05/0.1066, allocations: 31.75 kB / 482.3 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000163/0.1068, allocations: 104 kB / 482.4 MB, free: 2.684 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1068, allocations: 0 / 482.4 MB, free: 2.684 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.1068, allocations: 3.984 kB / 482.4 MB, free: 2.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.1068, allocations: 4 kB / 482.4 MB, free: 2.676 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000412/0.1072, allocations: 403 kB / 482.8 MB, free: 2.234 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.1073, allocations: 8.031 kB / 482.8 MB, free: 2.227 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.8e-05/0.1073, allocations: 42.69 kB / 482.9 MB, free: 2.176 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.264e-05/0.1074, allocations: 12.75 kB / 482.9 MB, free: 2.164 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.1075, allocations: 200 kB / 483.1 MB, free: 1.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.324e-06/0.1075, allocations: 384 / 483.1 MB, free: 1.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.148e-05/0.1076, allocations: 4.375 kB / 483.1 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.1077, allocations: 69.58 kB / 483.2 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.1077, allocations: 0 / 483.2 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.1077, allocations: 0 / 483.2 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1078, allocations: 0 / 483.2 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.352e-05/0.1079, allocations: 27.97 kB / 483.2 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003327/0.1082, allocations: 292.7 kB / 483.5 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.831e-05/0.1083, allocations: 50.56 kB / 483.5 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.642e-05/0.1084, allocations: 12.86 kB / 483.5 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.1084, allocations: 4.094 kB / 483.5 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.1084, allocations: 42.42 kB / 483.6 MB, free: 1.359 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.1084, allocations: 0 / 483.6 MB, free: 1.359 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000836/0.1093, allocations: 225.5 kB / 483.8 MB, free: 1.133 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/0.1093, allocations: 55.39 kB / 483.8 MB, free: 1.066 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001824/0.1095, allocations: 201.9 kB / 484 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.1095, allocations: 29.7 kB / 484.1 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.067e-05/0.1096, allocations: 104.1 kB / 484.2 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.549e-05/0.1096, allocations: 27.56 kB / 484.2 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.754e-05/0.1097, allocations: 25.7 kB / 484.2 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.1098, allocations: 322.8 kB / 484.5 MB, free: 340 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.406e-05/0.1099, allocations: 19.98 kB / 484.6 MB, free: 320 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.63e-05/0.1099, allocations: 27.98 kB / 484.6 MB, free: 292 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/0.1101, allocations: 60.83 kB / 484.6 MB, free: 228 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1101, allocations: 4 kB / 484.7 MB, free: 224 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001938/0.1103, allocations: 109.5 kB / 484.8 MB, free: 108 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.1103, allocations: 4 kB / 484.8 MB, free: 104 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.1103, allocations: 0 / 484.8 MB, free: 104 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.1103, allocations: 0 / 484.8 MB, free: 104 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.648e-05/0.1104, allocations: 19.98 kB / 484.8 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.1104, allocations: 7.875 kB / 484.8 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.246e-05/0.1105, allocations: 4 kB / 484.8 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.1105, allocations: 0 / 484.8 MB, free: 72 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 (8): * Single equations (assignments): 8 * 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 9.682e-05/0.1106, allocations: 129.8 kB / 484.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.691e-05/0.1107, allocations: 15.81 kB / 484.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002652/0.1109, allocations: 123.3 kB / 485.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.1109, allocations: 0 / 485.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.1109, allocations: 3.938 kB / 485.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.111, allocations: 0 / 485.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00048/0.1114, allocations: 403.3 kB / 485.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1115, allocations: 0 / 485.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.354e-05/0.1115, allocations: 27.92 kB / 485.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.1115, allocations: 0 / 485.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.1116, allocations: 0 / 485.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.1116, allocations: 4 kB / 485.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.1116, allocations: 3.938 kB / 485.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002381/0.1118, allocations: 204.2 kB / 485.7 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.733e-05/0.1119, allocations: 84.95 kB / 485.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/0.1119, allocations: 4 kB / 485.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.802e-05/0.112, allocations: 11.98 kB / 485.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.68e-05/0.112, allocations: 0 / 485.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.112, allocations: 8 kB / 485.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001169/0.1121, allocations: 153.8 kB / 485.9 MB, free: 14.81 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1121, allocations: 7.938 kB / 486 MB, free: 14.8 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002458/0.1124, allocations: 19.98 kB / 486 MB, free: 14.78 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 (8): * Single equations (assignments): 8 * 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.001382/0.1138, allocations: 1.091 MB / 487.1 MB, free: 13.83 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002121/0.114, allocations: 71.89 kB / 487.1 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.114, allocations: 0 / 487.1 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.633e-05/0.1141, allocations: 39.91 kB / 487.2 MB, free: 13.72 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003557/0.1145, allocations: 12 kB / 487.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001913/0.1164, allocations: 1.662 MB / 488.8 MB, free: 11.96 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003033/0.1167, allocations: 0.7057 MB / 489.6 MB, free: 11.23 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.122e-05/0.1168, allocations: 12.67 kB / 489.6 MB, free: 11.22 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.079e-05/0.1169, allocations: 35.42 kB / 489.6 MB, free: 11.19 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1169, allocations: 0 / 489.6 MB, free: 11.19 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01337/0.1302, allocations: 2.85 MB / 492.4 MB, free: 8.426 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001965/0.1305, allocations: 238.7 kB / 492.7 MB, free: 8.164 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.941/2.071, allocations: 4 kB / 492.7 MB, free: 8.16 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test3.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches