Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.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.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test16",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001242/0.001242, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001554/0.001554, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.469/1.469, allocations: 227.4 MB / 246.8 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2177/0.2177, allocations: 46.1 MB / 344.1 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 77.91 kB / 417.7 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09516/0.09643, allocations: 62.44 MB / 480.1 MB, free: 5.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.002898/0.09936, allocations: 1.608 MB / 481.7 MB, free: 3.523 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009526/0.1003, allocations: 0.5533 MB / 482.3 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.837e-05/0.1004, allocations: 0 / 482.3 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002601/0.1007, allocations: 79.7 kB / 482.4 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003326/0.1011, allocations: 95.66 kB / 482.5 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003443/0.1014, allocations: 115.4 kB / 482.6 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001702/0.1016, allocations: 83.81 kB / 482.7 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.1017, allocations: 23.98 kB / 482.7 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.984e-05/0.1018, allocations: 39.83 kB / 482.7 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001131/0.1019, allocations: 55.81 kB / 482.8 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.41e-05/0.102, allocations: 4 kB / 482.8 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.1021, allocations: 43.98 kB / 482.8 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.593e-05/0.1022, allocations: 23.92 kB / 482.9 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.726e-05/0.1022, allocations: 35.67 kB / 482.9 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001929/0.1024, allocations: 100 kB / 483 MB, free: 2.281 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1024, allocations: 3.938 kB / 483 MB, free: 2.277 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1024, allocations: 0 / 483 MB, free: 2.277 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.011e-05/0.1024, allocations: 0 / 483 MB, free: 2.277 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.000469/0.1029, allocations: 414.9 kB / 483.4 MB, free: 1.824 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.103, allocations: 12.03 kB / 483.4 MB, free: 1.812 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.505e-05/0.103, allocations: 30.75 kB / 483.4 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.587e-05/0.103, allocations: 12.84 kB / 483.4 MB, free: 1.762 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001753/0.1032, allocations: 196.8 kB / 483.6 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.1032, allocations: 8.375 kB / 483.6 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.706e-05/0.1033, allocations: 384 / 483.6 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.1034, allocations: 65.48 kB / 483.7 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.1034, allocations: 7.906 kB / 483.7 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-06/0.1034, allocations: 0 / 483.7 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.1035, allocations: 0 / 483.7 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.975e-05/0.1036, allocations: 27.97 kB / 483.7 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003645/0.1039, allocations: 308.7 kB / 484 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.903e-05/0.104, allocations: 46.5 kB / 484.1 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.078e-05/0.1041, allocations: 20.94 kB / 484.1 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.1041, allocations: 0 / 484.1 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.1042, allocations: 38.56 kB / 484.2 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.1042, allocations: 0 / 484.2 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000894/0.1051, allocations: 240.9 kB / 484.4 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.1051, allocations: 55.41 kB / 484.4 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002074/0.1053, allocations: 214.3 kB / 484.7 MB, free: 420 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.591e-05/0.1054, allocations: 29.7 kB / 484.7 MB, free: 384 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.809e-05/0.1055, allocations: 108.1 kB / 484.8 MB, free: 272 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.272e-05/0.1055, allocations: 31.69 kB / 484.8 MB, free: 240 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.07e-05/0.1055, allocations: 21.7 kB / 484.8 MB, free: 212 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.1057, allocations: 326.8 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9e-05/0.1058, allocations: 31.97 kB / 485.2 MB, free: 15.85 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.874e-05/0.1059, allocations: 35.98 kB / 485.2 MB, free: 15.81 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001638/0.1061, allocations: 72.81 kB / 485.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1061, allocations: 0 / 485.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002312/0.1063, allocations: 105.6 kB / 485.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.1063, allocations: 6.5 kB / 485.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1063, allocations: 0 / 485.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.1063, allocations: 0 / 485.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.1065, allocations: 27.92 kB / 485.4 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.1065, allocations: 3.938 kB / 485.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.812e-05/0.1065, allocations: 11.98 kB / 485.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-06/0.1065, allocations: 0 / 485.4 MB, free: 15.58 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 (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.137e-05/0.1066, allocations: 125.8 kB / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.551e-05/0.1067, allocations: 16.22 kB / 485.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002824/0.107, allocations: 135 kB / 485.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.107, allocations: 4 kB / 485.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.148e-06/0.107, allocations: 11.92 kB / 485.7 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.107, allocations: 3.938 kB / 485.7 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005157/0.1075, allocations: 415.3 kB / 486.1 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1076, allocations: 0 / 486.1 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.504e-05/0.1076, allocations: 27.95 kB / 486.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.1076, allocations: 4 kB / 486.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-06/0.1077, allocations: 0 / 486.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.1077, allocations: 7.922 kB / 486.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1077, allocations: 480 / 486.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002612/0.1079, allocations: 224.1 kB / 486.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.921e-05/0.108, allocations: 88.95 kB / 486.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.944e-05/0.108, allocations: 7.938 kB / 486.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.419e-05/0.1081, allocations: 7.984 kB / 486.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.333e-05/0.1081, allocations: 4 kB / 486.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.1082, allocations: 4 kB / 486.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000128/0.1083, allocations: 164.2 kB / 486.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1083, allocations: 0 / 486.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002567/0.1086, allocations: 24 kB / 486.7 MB, free: 14.22 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.001451/0.11, allocations: 1.096 MB / 487.8 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002336/0.1103, allocations: 71.95 kB / 487.9 MB, free: 13.19 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1103, allocations: 0 / 487.9 MB, free: 13.19 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.1104, allocations: 43.91 kB / 487.9 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.1107, allocations: 12 kB / 487.9 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001891/0.1126, allocations: 1.701 MB / 489.6 MB, free: 11.35 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/0.1129, allocations: 0.7119 MB / 490.3 MB, free: 10.61 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.216e-05/0.113, allocations: 20.95 kB / 490.3 MB, free: 10.59 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.246e-05/0.1131, allocations: 35.42 kB / 490.4 MB, free: 10.56 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1131, allocations: 7.938 kB / 490.4 MB, free: 10.55 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5159/0.629, allocations: 3.065 MB / 493.5 MB, free: 7.539 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.623/9.252, allocations: 8.141 kB / 493.5 MB, free: 7.535 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test16_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test16.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches